Template:Music infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
Line 1: Line 1:
{|style="border:solid 2px #000000; -moz-border-radius:10px; float:right;" width="250px"
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color|#000}}}; background:{{{BG|#FFC1CC}}};"
|-
|colspan="2" style="text-align:center; background:#6B3FA0; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em;"|<big>'''{{{name}}}'''<big>
|-
|colspan="2" style="text-align:center"|{{{video|}}}
|-
{{#if:{{{album|}}}|<nowiki/>
{{!}}-
{{!}}-
{{!}} style="background:#ffffff;" {{!}}'''Album:'''{{!!}} style="color:#000000; background:#FFFFFF;" {{!}}{{{album|}}}  
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:{{{color|#000}}};" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
}}
|-
{{#if:{{{length|}}}|<nowiki/>
{{!}}-
{{!}}-
{{!}} style="background:#ffffff;" {{!}}'''Length:'''{{!!}} style="color:#000000; background:#FFFFFF;" {{!}}{{{length|}}}  
{{#if:{{{video|}}}|
! style="background:{{{imageBG|#f0f0f0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{video|}}}
}}
}}
|-
{{#if:{{{composer|}}}|<nowiki/>
{{!}}-
{{!}}-
{{!}} style="background:#ffffff;" {{!}}'''Composer:'''{{!!}} style="color:#000000; background:#FFFFFF;" {{!}}{{{composer|}}}  
{{#if:{{{album|}}}|
}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
|-{{#if:{{{producer|}}}|<nowiki/>
'''{{{album-title|Album}}}''':
{{!}}-
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:#ffffff;" {{!}}'''Producer:'''{{!!}} style="color:#000000; background:#FFFFFF;" {{!}}{{{producer|}}}  
{{{album|}}}
}}
{{!}}-}}
|-
{{#if:{{{composer|}}}|
{{#if:{{{last|}}}|<nowiki/>
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}}-
'''{{{composer-title|Composer(s)}}}''':
{{!}} style="background:#ffffff;" {{!}}'''Previous song:'''{{!!}} style="color:#000000; background:#FFFFFF;" {{!}}{{{last|}}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
}}
{{{composer|}}}
|-
{{!}}-}}
{{#if:{{{next|}}}|<nowiki/>
{{#if:{{{length|}}}|
{{!}}-
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:#ffffff;" {{!}}'''Next song:'''{{!!}} style="color:#000000; background:#FFFFFF;" {{!}}{{{next|}}}
'''{{{length-title|Length}}}''':
}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{length|}}}
{{!}}-}}
{{#if:{{{last|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{last-title|Previous}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{last|}}}
{{!}}-}}
{{#if:{{{next|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{next-title|Next}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{next|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Music infobox|<span style="color:#000;">[Source]</span>]]
|}<noinclude>
|}<noinclude>
== Usage ==
== Usage ==
Copy the following:
<pre>
<pre>
{{Infobox song
{{Music infobox
| name      =
|video=
| video     =
|album=
| album     =
|composer=
| composer   =  
|length=
| length     =
|last=
| producer  =
|next=
| last       =
}}
| next       =
}}
</pre>
</pre>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 18:31, November 18, 2011

Music infobox
[Source]

Usage

Copy the following:

{{Music infobox
|video=
|album=
|composer=
|length=
|last=
|next=
}}