Template:Album infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(html5 upgrade.)
mNo edit summary
 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|class="infobox" style="width:265px;float:right;padding:4px;border-spacing:4px;margin:0 0 1em 1em;font-size:11px;background-color:white;border:1px solid #a7a7a7"
<includeonly><templatestyles src="Album infobox/styles.css"/>
| colspan=2 style="text-align:center;background-color:#e3e3e3;font-size:110%" | '''''{{{title|{{PAGENAME}}}}}'''''
{| id="album" class="infobox" style="width:265px"
!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;background-color:#e3e3e3" | Composed by:<br>{{{composer|?}}}
|colspan=2 style="text-align:center"|Composed by:<br>{{{composer|Unknown}}}
|-style="vertical-align:top;background-color:#f4f4f4"
|-
|'''Publisher(s)'''
{{#if:{{{publisher|}}}|{{!}}'''Publisher(s)'''{{!!}}{{{publisher}}}}}
|{{{publisher|}}}
|-
|-style=vertical-align:top
{{#if:{{{release|}}}|{{!}}'''Release date'''{{!!}}{{{release}}}}}
|'''Release date'''
|-
|{{{released|}}}
{{#if:{{{format|}}}|{{!}}'''Format'''{{!!}}{{{format}}}}}
|-style="vertical-align:top;background-color:#f4f4f4"
|-
|'''Media'''
{{#if:{{{track|}}}|{{!}}'''Track(s)'''{{!!}}{{{track}}}}}
|{{{media|}}}
|-
|-style=vertical-align:top
{{#if:{{{length|}}}|{{!}}'''Length'''{{!!}} {{{length}}}}}
|'''Track(s)'''
|-
|{{{track|}}}
{{#if:{{{catalog|}}}|{{!}}'''Catalog number(s)'''{{!!}}{{{catalog}}}}}
|-style="vertical-align:top;background-color:#f4f4f4"
|}</includeonly><noinclude>
|'''Music'''
{{album infobox
|{{{music|}}}
|title={{FULLPAGENAME}}
|-style=vertical-align:top
|composer={{nw|[[Lorem ipsum]]}}, {{nw|Lorem ipsum}}
|'''Length'''
|publisher=Lorem ipsum
|{{{length|}}}
|release={{flag list|Japan|October 18, 2006}}
|-style="vertical-align:top;background-color:#f4f4f4"
|format=Lorem ipsum
{{#if:{{{catalog|}}}|{{!}} '''Catalog number(s)''' {{!}}{{!}} {{{catalog|}}}|}}
|track=31
|}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
|length=41:26
|catalog=SQEX-10079
}}
 
== Usage ==
<pre>
{{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
}}
</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>

Latest revision as of 20: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