Template:Infobox Music: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(adding usage and description info)
m (making it all optional...)
Line 1: Line 1:
{|
<includeonly><div>
|}
<div>
{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#f1f4fa; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#f1f4fa; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
 
| bgcolor=white align="center" colspan="2" | {{{image|}}}
| bgcolor=white align="center" colspan="2" | {{{image}}}
|- valign="top"
|- valign="top"
| align="center" colspan=2 bgcolor="#336699" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{name}}}'''
| align="center" colspan=2 bgcolor="#336699" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{name}}}'''
|- valign="top"
|- valign="top"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" |  '''Artist:'''
{{#if:{{{artist|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{artist}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Artist:'''
|- valign="top"
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{artist}}}
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" '''Publisher:'''
}}
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{publisher}}}
|- valign="top"
|- valign="top"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" '''Release Date:'''
{{#if:{{{publisher|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{release date}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Publisher:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{publisher}}}
}}
|- valign="top"
|- valign="top"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" '''Format:'''
{{#if:{{{release date|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{format}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Release Date:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{release date}}}
}}
|- valign="top"
|- valign="top"
{{#if:{{{format|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Format:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{format}}}
}}
|}
|}
 
</div></includeonly><noinclude>
</div><noinclude>
==Usage==
==Usage==
Copy and paste '''all''' of the text below onto whichever article page it is needed for (even if some fields are not needed copy '''all''' of the text).
Copy and paste '''all''' of the text below onto whichever article page it is needed for (even if some fields are not needed copy '''all''' of the text).

Revision as of 17:18, 31 January 2010

Usage

Copy and paste all of the text below onto whichever article page it is needed for (even if some fields are not needed copy all of the text).

{{Infobox Music
|name          =
|image         =
|artist        =
|publisher     =
|release date  =
|format        =
}}

Description of fields

{{Infobox Music
|name          = Name/Title of music
|image         = Image of music cover or identifying image at 250px
|artist        = Artist of music / Primary performer of music 
|publisher     = Publisher of music
|release date  = Release date of music
|format        = Format the music was released in
}}