Jump to content

Template:Infobox album: Difference between revisions

No edit summary
No edit summary
Tag: Reverted
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"
<div style="background:{{#switch:{{{type|}}}
! colspan="2" class="infobox-header" | {{{name|{{PAGENAME}}}}}
|studio=lightblue
{{#if:{{{cover|}}}|
|live=burlywood
{{!}} colspan="2" class="infobox-image" {{!}} [[File:{{{cover}}}|220px|center|alt={{{alt|}}}]]}}
|compilation=darkseagreen
|-
|ep=khaki
! Artist
|mixtape=lightcoral
| {{{artist}}}
|soundtrack=gainsboro
{{#if:{{{released|}}}|
|#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
{{#if:{{{cover|}}}|<div style="text-align:center; margin:0.5em 0;">[[File:{{{cover}}}|220px|{{{alt|}}}]]</div>}}
{{!}} {{{released}}}}}
 
{{#if:{{{recorded|}}}|
<table style="width:100%; border-collapse:collapse;">
{{!}}-
{{#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>}}
{{!}} {{{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|}}}|
{{#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>}}
{{!}}-
{{#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>}}
{{!}} {{{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:{{{genre|}}}|
{{#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>}}
{{!}}-
</table>
{{!}} Genre
 
{{!}} {{{genre}}}}}
{{#if:{{{prev_title|}}}{{{next_title|}}}|<div style="text-align:center; margin-top:0.5em;">
{{#if:{{{length|}}}|
<table style="width:100%; border-collapse:collapse; background:#eee;">
{{!}}-
<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>
{{!}} {{{length}}}}}
<td style="width:10%; text-align:center; padding:0.2em; font-weight:bold;">{{#if:{{{artist|}}}|{{{artist}}} chronology}}</td>
{{#if:{{{label|}}}|
<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>
{{!}}-
</tr>
{{!}} Label
</table></div>}}
{{!}} {{{label}}}}}
 
{{#if:{{{producer|}}}|
{{#if:{{{misc|}}}|<div style="text-align:center; margin-top:0.5em;">{{{misc}}}</div>}}
{{!}}-
</div></includeonly><noinclude>
{{!}} Producer(s)
{{!}} {{{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:36, 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