Jump to content

Template:Infobox album: Difference between revisions

No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<includeonly><div class="infobox" style="width:22em; border:1px solid #aaa; background:#f9f9f9; padding:1em; float:right; clear:right; margin:0 0 1em 1em; font-size:88%;">
<includeonly>{| class="infobox vevent haudio" style="width:22em; font-size:88%; text-align:left;"
<div style="background:{{#switch:{{{type|}}}
|+ class="summary album" style="font-size:125%; font-style:italic; background:{{Infobox album/color|{{{type|}}}}};" | {{{name|{{PAGENAME}}}}}
|studio=lightblue
{{#if:{{{cover|}}}|
|live=burlywood
{{!}}-
|compilation=darkseagreen
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{cover}}}|frameless|alt={{{alt|}}}|220px]]}}
|ep=khaki
{{#if:{{{caption|}}}|
|mixtape=lightcoral
{{!}}-
|soundtrack=gainsboro
{{!}} colspan="2" style="text-align:center;" {{!}} {{{caption}}}}}
|#default=lightblue}}; text-align:center; font-size:110%; font-weight:bold; padding:0.5em; margin:-0.5em -0.5em 0.5em -0.5em;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div>
|-
 
! colspan="2" style="background:{{Infobox album/color|{{{type|}}}}};" | {{Infobox album/link|{{{type|}}}}}{{#if:{{{longtype|}}}|&nbsp;{{{longtype}}}}} by&nbsp;{{{artist}}}
{{#if:{{{cover|}}}|<div style="text-align:center; margin:0.5em 0;">[[File:{{{cover}}}|220px|{{{alt|}}}]]</div>}}
{{#if:{{{released|}}}|
 
{{!}}-
<table style="width:100%; border-collapse:collapse;">
! Released
{{#if:{{{artist|}}}|<tr><th style="text-align:left; background:#eee; padding:0.2em 0.5em; width:35%;">Artist</th><td style="padding:0.2em 0.5em;">{{{artist}}}</td></tr>}}
{{!}} {{{released}}}}}
{{#if:{{{released|}}}|<tr><th style="text-align:left; background:#eee; padding:0.2em 0.5em;">Released</th><td style="padding:0.2em 0.5em;">{{{released}}}</td></tr>}}
{{#if:{{{recorded|}}}|
{{#if:{{{recorded|}}}|<tr><th style="text-align:left; background:#eee; padding:0.2em 0.5em;">Recorded</th><td style="padding:0.2em 0.5em;">{{{recorded}}}</td></tr>}}
{{!}}-
{{#if:{{{studio|}}}|<tr><th style="text-align:left; background:#eee; padding:0.2em 0.5em;">Studio</th><td style="padding:0.2em 0.5em;">{{{studio}}}</td></tr>}}
! Recorded
{{#if:{{{genre|}}}|<tr><th style="text-align:left; background:#eee; padding:0.2em 0.5em;">Genre</th><td style="padding:0.2em 0.5em;">{{{genre}}}</td></tr>}}
{{!}} {{{recorded}}}}}
{{#if:{{{length|}}}|<tr><th style="text-align:left; background:#eee; padding:0.2em 0.5em;">Length</th><td style="padding:0.2em 0.5em;">{{{length}}}</td></tr>}}
{{#if:{{{studio|}}}|
{{#if:{{{label|}}}|<tr><th style="text-align:left; background:#eee; padding:0.2em 0.5em;">Label</th><td style="padding:0.2em 0.5em;">{{{label}}}</td></tr>}}
{{!}}-
{{#if:{{{producer|}}}|<tr><th style="text-align:left; background:#eee; padding:0.2em 0.5em;">Producer(s)</th><td style="padding:0.2em 0.5em;">{{{producer}}}</td></tr>}}
! Studio
</table>
{{!}} {{{studio}}}}}
 
{{#if:{{{genre|}}}|
{{#if:{{{prev_title|}}}{{{next_title|}}}|<div style="text-align:center; margin-top:0.5em;">
{{!}}-
<table style="width:100%; border-collapse:collapse; background:#eee;">
! Genre
<tr>
{{!}} {{{genre}}}}}
<td style="width:45%; text-align:left; padding:0.2em 0.5em;">{{#if:{{{prev_title|}}}|← {{{prev_title}}}{{#if:{{{prev_year|}}}|<br/><small>{{{prev_year}}}</small>}}}}</td>
{{#if:{{{length|}}}|
<td style="width:10%; text-align:center; padding:0.2em; font-weight:bold;">{{#if:{{{artist|}}}|{{{artist}}} chronology}}</td>
{{!}}-
<td style="width:45%; text-align:right; padding:0.2em 0.5em;">{{#if:{{{next_title|}}}|{{{next_title}}}{{#if:{{{next_year|}}}|<br/><small>{{{next_year}}}</small>}} }}</td>
! Length
</tr>
{{!}} {{{length}}}}}
</table></div>}}
{{#if:{{{label|}}}|
 
{{!}}-
{{#if:{{{misc|}}}|<div style="text-align:center; margin-top:0.5em;">{{{misc}}}</div>}}
! Label
</div></includeonly><noinclude>
{{!}} {{{label}}}}}
{{#if:{{{producer|}}}|
{{!}}-
! Producer
{{!}} {{{producer}}}}}
{{#if:{{{prev_title|}}}{{{next_title|}}}|
{{!}}-
! colspan="2" style="background:{{Infobox album/color|{{{type|}}}}}; text-align:center;" {{!}} {{{artist}}} chronology
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}}
{{{prev_title|}}}
{{#if:{{{prev_year|}}}|({{{prev_year}}})}}
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}}
{{{next_title|}}}
{{#if:{{{next_year|}}}|({{{next_year}}})}}}}
|}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 16:43, 15 May 2026

   📄 Template documentation
   
   This is a documentation subpage for Template:Infobox album.
It contains usage information, categories, and other content that is not part of the original template page.

Usage

{{Infobox album
| name       = 
| type       = 
| cover      = 
| alt        = 
| artist     = 
| released   = 
| recorded   = 
| studio     = 
| genre      = 
| length     = 
| label      = 
| producer   = 
| prev_title = 
| prev_year  = 
| next_title = 
| next_year  = 
| misc       = 
}}

Parameters

  • type – studio, live, compilation, ep, mixtape, soundtrack
  • misc – Use
    Singles from Infobox album
    template for single list