Template:Music infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{{name|{{PAGENAME}}}}}" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}")
m (Text replacement - "}} {{!}}- {{#if:" to "}} |- {{#if:")
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; color:{{{color|inherit}}}; background:{{{BG|#FFC1CC}}};"
{| class="infobox" style="width:260px; color:{{{color|inherit}}}; background:{{{BG|#FFC1CC}}}" cellspacing="0"
{{!}}-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color|inherit}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:{{{color|inherit}}};" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{video|}}}|
{{#if:{{{video|}}}|
! class="infoboxcell" style="background:{{{imageBG|#f0f0f0}}}; text-align:center;" colspan="2" {{!}} {{{video|}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#f0f0f0}}}" {{!}} {{{video}}}
}}
}}
{{!}}-
|-
{{#if:{{{album|}}}|
{{#if:{{{album|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; width:100px" {{!}}
'''{{{album-title|Album}}}''':
{{{album-title|Album}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}" {{!}}
{{{album|}}}
{{{album}}}
{{!}}-}}
}}
|-
{{#if:{{{composer|}}}|
{{#if:{{{composer|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}" {{!}}
'''{{{composer-title|Composer(s)}}}''':
{{{composer-title|Composer(s)}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}" {{!}}
{{{composer|}}}
{{{composer}}}
{{!}}-}}
}}
|-
{{#if:{{{length|}}}|
{{#if:{{{length|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}" {{!}}
'''{{{length-title|Length}}}''':
{{{length-title|Length}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}" {{!}}
{{{length|}}}
{{{length}}}
{{!}}-}}
}}
|-
{{#if:{{{last|}}}|
{{#if:{{{last|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}" {{!}}
'''{{{last-title|Previous}}}''':
{{{last-title|Previous}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}" {{!}}
{{{last|}}}
{{{last}}}
{{!}}-}}
}}
|-
{{#if:{{{next|}}}|
{{#if:{{{next|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}" {{!}}
'''{{{next-title|Next}}}''':
{{{next-title|Next}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}" {{!}}
{{{next|}}}
{{{next}}}
{{!}}-}}
}}
| colspan=2 class="infoboxsubheading" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px;" | 
|-
| class="infoboxfooter" colspan="2" |  
|}<noinclude>
|}<noinclude>
== Usage ==
== Usage ==
Copy the following:  
Copy the following:  
<pre>
<pre>
{{Music infobox
{{Music infobox
Line 51: Line 56:
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:50, October 18, 2022

Music infobox
 

Usage

Copy the following:

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