Jump to content

Template:Infobox album: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
<includeonly>{| class="infobox"
<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%;">
! colspan="2" class="infobox-header" | {{{name|{{PAGENAME}}}}}
<div style="background:{{#switch:{{{type|}}}
{{#if:{{{cover|}}}|
|studio=lightblue
{{!}} colspan="2" class="infobox-image" {{!}} [[File:{{{cover}}}|220px|center|alt={{{alt|}}}]]}}
|live=burlywood
|-
|compilation=darkseagreen
! Artist
|ep=khaki
| {{{artist}}}
|mixtape=lightcoral
{{#if:{{{released|}}}|
|soundtrack=gainsboro
{{!}}-
|#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>
{{!}} Released
 
{{!}} {{{released}}}}}
{{#if:{{{cover|}}}|<div style="text-align:center; margin:0.5em 0;">[[File:{{{cover}}}|220px|{{{alt|}}}]]</div>}}
{{#if:{{{recorded|}}}|
 
{{!}}-
<table style="width:100%; border-collapse:collapse;">
{{!}} Recorded
{{#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>}}
{{!}} {{{recorded}}}}}
{{#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:{{{studio|}}}|
{{#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>}}
{{!}} Studio
{{#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>}}
{{!}} {{{studio}}}}}
{{#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:{{{genre|}}}|
{{#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>}}
{{!}} Genre
</table>
{{!}} {{{genre}}}}}
 
{{#if:{{{length|}}}|
{{#if:{{{prev_title|}}}{{{next_title|}}}|<div style="text-align:center; margin-top:0.5em;">
{{!}}-
<table style="width:100%; border-collapse:collapse; background:#eee;">
{{!}} Length
<tr>
{{!}} {{{length}}}}}
<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:{{{label|}}}|
<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>
{{!}} Label
</tr>
{{!}} {{{label}}}}}
</table></div>}}
{{#if:{{{producer|}}}|
 
{{!}}-
{{#if:{{{misc|}}}|<div style="text-align:center; margin-top:0.5em;">{{{misc}}}</div>}}
{{!}} Producer(s)
</div></includeonly><noinclude>
{{!}} {{{producer}}}}}
{{#if:{{{writer|}}}|
{{!}}-
{{!}} Writer(s)
{{!}} {{{writer}}}}}
{{#if:{{{prev_title|}}}{{{next_title|}}}|
{{!}}-
! colspan="2" class="infobox-full" {{!}} Chronology
{{!}}-
{{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}}
{{#if:{{{prev_title|}}}|← {{{prev_title}}}{{#if:{{{prev_year|}}}| <small>({{{prev_year}}})</small>}}}} {{#if:{{{next_title|}}}|{{{next_title}}}{{#if:{{{next_year|}}}| <small>({{{next_year}}})</small>}} →}}}}
{{#if:{{{misc|}}}|
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} {{{misc}}}}}
|}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 16:37, 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