Template:Music infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "font-size: *90%; padding: *0 0 0 2px; line-height: *14px; " to "")
m (Text replacement - " font-size: *90%; padding: *0 0 0 2px; line-height: *14px;" to "")
Line 18: Line 18:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; width:100px;" {{!}}
'''{{{soundtrack-title|Soundtrack}}}''':
'''{{{soundtrack-title|Soundtrack}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
{{{soundtrack|}}}
{{{soundtrack|}}}
{{!}}-}}
{{!}}-}}
Line 25: Line 25:
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; width:100px;" {{!}}
'''{{{album-title|Album}}}''':
'''{{{album-title|Album}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
{{{album|}}}
{{{album|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{composer|}}}|
{{#if:{{{composer|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
'''{{{composer-title|Composer(s)}}}''':
'''{{{composer-title|Composer(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
{{{composer|}}}
{{{composer|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{length|}}}|
{{#if:{{{length|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
'''{{{length-title|Length}}}''':
'''{{{length-title|Length}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
{{{length|}}}
{{{length|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{last|}}}|
{{#if:{{{last|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
'''{{{last-title|Previous}}}''':
'''{{{last-title|Previous}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
{{{last|}}}
{{{last|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{next|}}}|
{{#if:{{{next|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
'''{{{next-title|Next}}}''':
'''{{{next-title|Next}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}};" {{!}}
{{{next|}}}
{{{next|}}}
{{!}}-}}
{{!}}-}}

Revision as of 22:40, September 14, 2022

Music infobox
 

Usage

This template accepts a number of parameters, including in-built functionality for the automatic embedding of YouTube and Vimeo videos and Spotify/Apple music embeds. As such, when embedding YouTube (etc) videos, all you need to add to the relevant parameter is the ID at the end of the given URL. For an example of this in usage, see the Spirit of Fire page. The video parameter is kept around for other use cases, and does not require a specific ID.

Copy the following:

{{Music infobox
|video=
|yt=
|vimeo=
|album=
|composer=
|length=
|last=
|next=
|spotify=
|apple=
}}