Template:Album infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Album infobox/styles.css"/>
{| id="album" class="infobox" style="width:265px"
{| id="album" class="infobox" style="width:265px"
! colspan="2" style="font-size:125%" | ''{{{title|{{PAGETITLE}}}}}''
!colspan=2 style="font-size:125%"|{{{name|''{{{title|{{PAGETITLE}}}}}''}}}
|-
|-
| colspan="2" style="text-align:center" | {{{image|}}}  
|colspan=2 style="text-align:center"|{{{image|[[File:No image.png|250x330px|link=|Description]]<br>250x330px}}}
|-
|-
| colspan="2" style="text-align:center" | Composed by:<br>{{{composer|Unknown}}}
|colspan=2 style="text-align:center"|Composed by:<br>{{{composer|Unknown}}}
|-
|-
{{#if:{{{publisher|}}}|
{{#if:{{{publisher|}}}|{{!}}'''Publisher(s)'''{{!!}}{{{publisher}}}}}
{{!}} '''Publisher(s)'''
|-
{{!}} {{{publisher}}}
{{#if:{{{release|}}}|{{!}}'''Release date'''{{!!}}{{{release}}}}}
}}
|-
|-
{{#if:{{{release|}}}|
{{#if:{{{format|}}}|{{!}}'''Format'''{{!!}}{{{format}}}}}
{{!}} '''Release date'''
{{!}} {{{release}}}
}}
|-
|-
{{#if:{{{media|}}}|
{{#if:{{{track|}}}|{{!}}'''Track(s)'''{{!!}}{{{track}}}}}
{{!}} '''Media'''
{{!}} {{{media}}}
}}
|-
|-
{{#if:{{{track|}}}|
{{#if:{{{length|}}}|{{!}}'''Length'''{{!!}} {{{length}}}}}
{{!}} '''Track(s)'''
{{!}} {{{track}}}
}}
|-
|-
{{#if:{{{length|}}}|
{{#if:{{{catalog|}}}|{{!}}'''Catalog number(s)'''{{!!}}{{{catalog}}}}}
{{!}} '''Length'''
|}</includeonly><noinclude>
{{!}} {{{length}}}
{{album infobox
|title={{FULLPAGENAME}}
|composer={{nw|[[Lorem ipsum]]}}, {{nw|Lorem ipsum}}
|publisher=Lorem ipsum
|release={{flag list|Japan|October 18, 2006}}
|format=Lorem ipsum
|track=31
|length=41:26
|catalog=SQEX-10079
}}
}}
|-
 
{{#if:{{{catalog|}}}|
== Usage ==
{{!}} '''Catalog number(s)'''
<pre>
{{!}} {{{catalog}}}
{{album infobox
|image=[[File:No image.png|250x330px|Description]]
|composer={{nw|[[Lorem ipsum]]}}, {{nw|Lorem ipsum}}
|release={{flag list|Japan|October 18, 2006}}
|format=Lorem ipsum
|track=31
|length=41:26
|catalog=xx-xxxx
}}
}}
|}<templatestyles src="Album infobox/styles.css"/><noinclude>[[Category:Infobox templates]]</noinclude>
</pre>
 
*<code>image</code> - Specify max width and height to <tt>|250x330px|</tt>
*<code>composer</code> - List the composer(s), preferably using {{tem|nw}}
*<code>publisher</code> - List the publisher(s)
*<code>release</code> - Release date, use {{tem|flag list}}
*<code>format</code> - Media format it is distributed on
*<code>track</code> - Number of tracks
*<code>length</code> - Length of the album
*<code>catalog</code> - Serial, e.g. SQEX-10079
 
[[Category:Infobox templates]]</noinclude>

Revision as of 19:37, September 27, 2024

Template:Album infobox
Description
250x330px
Composed by:
Lorem ipsum, Lorem ipsum
Publisher(s) Lorem ipsum
Release date Japan October 18, 2006
Format Lorem ipsum
Track(s) 31
Length 41:26
Catalog number(s) SQEX-10079

Usage

{{album infobox
|image=[[File:No image.png|250x330px|Description]]
|composer={{nw|[[Lorem ipsum]]}}, {{nw|Lorem ipsum}}
|release={{flag list|Japan|October 18, 2006}}
|format=Lorem ipsum
|track=31
|length=41:26
|catalog=xx-xxxx
}}
  • image - Specify max width and height to |250x330px|
  • composer - List the composer(s), preferably using {{nw}}
  • publisher - List the publisher(s)
  • release - Release date, use {{flag list}}
  • format - Media format it is distributed on
  • track - Number of tracks
  • length - Length of the album
  • catalog - Serial, e.g. SQEX-10079