|
|
(23 intermediate revisions by 8 users not shown) |
Line 1: |
Line 1: |
| {{#vardefine:header|background-color: #{{ZWheader}}; border: 1px solid #{{ZWborder}};}}<!-- | | <includeonly>{{#invoke:Infobox|Main}}<infobox> |
| -->{{#vardefine:cell|background-color: #{{ZWbgcolor}}; border: 1px solid #{{ZWborder}};}}
| | <title source="name"><default>{{Page Name}}</default></title> |
| {| class="infobox bordered" style="float: right; clear: right; width: {{#if:{{{width|}}}|{{{width|}}}|23em}}; text-align: left; margin: 0 0 1em 1em; {{#var:cell}} border-collapse: collapse; font-size: 95%;" cellpadding="3"
| | <data><default>{{#invoke:Infobox|Image|{{{image|}}}|{{{caption|}}}}}</default></data> |
| |-
| | <data source="game"><label>Game(s)</label><format>{{#invoke:Infobox|Games|{{{game|}}}}}</format></data> |
| ! colspan="2" style="{{#var:header}} font-size:110%; text-align: center; font-style: italic;" | {{{title|{{PAGENAME}}}}}
| | <data source="composer"><label>Composer(s)</label></data> |
| {{#if:{{{image|}}}|
| | <data source="tracks"><label>Tracks</label></data> |
| {{!-}} | | <data source="length"><label>Length</label></data> |
| ! colspan="2" style="font-size: 100%; text-align: center; border: 1px solid #{{ZWborder}}" {{!}} {{{image|}}}{{#if:{{{caption|}}}|<br/><cite>{{{caption|}}}</cite>}}}}
| | <data source="release"><label>Release Date(s)</label></data> |
| |- valign="top"
| | <data source="publisher"><label>Publisher(s)</label></data> |
| ! style="{{#var:header}};width:75px" | Music from game(s)
| | <data source="type"><label>Type</label></data> |
| | style="{{#var:cell}}" | {{{games|<noinclude>This is what it looks like if there's a ton of text in a right-column field so people don't freak out when the template stretches itself when all the fields are empty which will never happen.</noinclude>}}}
| | </infobox>[[Category:Soundtracks]] |
| {{#if:{{{composers|}}}| | | </includeonly><noinclude> |
| {{!-}} valign="top" | | {{Documentation}} |
| ! style="{{#var:header}}" {{!}} Composers
| | [[Category:Infobox templates]] |
| {{!}} style="{{#var:cell}}" {{!}} {{{composers|}}}}}
| |
| {{#if:{{{released|}}}|
| |
| {{!-}} valign="top"
| |
| ! style="{{#var:header}}" {{!}} Released
| |
| {{!}} style="{{#var:cell}}" {{!}} {{{released|}}}}}
| |
| {{#if:{{{publisher|}}}|
| |
| {{!-}} valign="top"
| |
| ! style="{{#var:header}}" {{!}} Publisher
| |
| {{!}} style="{{#var:cell}}" {{!}} {{{publisher|}}}}}
| |
| {{!-}} valign="top"
| |
| ! style="{{#var:header}}" {{!}} Type
| |
| {{!}} style="{{#var:cell}}" {{!}} {{{type|}}}
| |
| {{!-}} valign="top"
| |
| ! style="{{#var:header}}" {{!}} Tracks
| |
| {{!}} style="{{#var:cell}}" {{!}} {{{tracks|}}}
| |
| |}<noinclude>
| |
| {{clear}}
| |
| [[Category: Infobox Templates|{{PAGENAME}}]] | |
| == Usage ==
| |
| This template is to be used on all soundtrack pages such as ''[[The Legend of Zelda: Sound and Drama]]''. Remember that most of these fields are optional, so if you don't have the necessary information, simply don't use that field.
| |
| <nowiki>{</nowiki>{CD
| |
| | title= <nowiki>{{PAGENAME}}</nowiki>
| |
| | image= image of the cover art
| |
| | caption= optional caption for the cover art if deemed necessary
| |
| | games= which games does the cd contain music from
| |
| | composers= composers of the music
| |
| | released= release date of the cd, for release dates -- see the {{[[:Template:Release|release]]}} template for more info
| |
| | publisher= publisher of the cd
| |
| | type= Pick one: Original Soundtrack, Remix Album, Live Performance Album, Compilation Album
| |
| | tracks= the number of tracks
| |
| }}
| |
| </noinclude> | | </noinclude> |
Purpose
This template is to be used on all soundtrack pages such as The Legend of Zelda: Sound & Drama. Most fields are optional, so if you don't have the necessary information, simply don't use that field.
Usage
{{Infobox CD
|image= Image(s) of the topic. (Use {{Media}} when possible.)
|caption= Caption of the image. (Not to be used with {{Media}}.)
|game= The games that the CD contains music from.
|composer= The composers of the music in the CD.
|tracks= The number of tracks on the CD.
|length= The total combined length of the tracks. Preferred format is MM:SS or HH:MM:SS.
|release= The release date(s) of the CD. See Template:Release for more information.
|publisher= The publisher of the CD.
|type= The type of CD.
}}
Blank Code
{{Infobox CD
|image=
|caption=
|game=
|composer=
|tracks=
|length=
|release=
|publisher=
|type=
}}