Template:Music infobox: Difference between revisions
From Halopedia, the Halo wiki
m (moved Template:Infobox song to Template:Music infobox) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| | {| 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}}};" | ||
{{!}}- | {{!}}- | ||
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:{{{color|#000}}};" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
| | |||
{{ | |||
{{!}}- | {{!}}- | ||
{{ | {{#if:{{{video|}}}| | ||
! style="background:{{{imageBG|#f0f0f0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{video|}}} | |||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{!}} style="background:# | {{#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;" {{!}} | ||
|-{{# | '''{{{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:# | {{{album|}}} | ||
}} | {{!}}-}} | ||
{{#if:{{{composer|}}}| | |||
{{#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;" {{!}} | ||
{{!}}- | '''{{{composer-title|Composer(s)}}}''': | ||
{{ | {{!}} 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|}}}| | {{#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;" {{!}} | ||
{{ | '''{{{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> | ||
{{Music infobox | |||
|video= | |||
|album= | |||
|composer= | |||
|length= | |||
|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= }}