Template:Music infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "}} {{!}}- {{#if:" to "}} |- {{#if:") |
m (Text replacement - "{{!}}-}}" to "}} |-") |
||
Line 19: | Line 19: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{soundtrack}}} | {{{soundtrack}}} | ||
}} | |||
|- | |||
|- | |- | ||
{{#if:{{{album|}}}| | {{#if:{{{album|}}}| | ||
Line 26: | Line 27: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{album}}} | {{{album}}} | ||
}} | |||
|- | |||
{{#if:{{{composer|}}}| | {{#if:{{{composer|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
Line 32: | Line 34: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{composer}}} | {{{composer}}} | ||
}} | |||
|- | |||
{{#if:{{{length|}}}| | {{#if:{{{length|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
Line 38: | Line 41: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{length}}} | {{{length}}} | ||
}} | |||
|- | |||
{{#if:{{{last|}}}| | {{#if:{{{last|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
Line 44: | Line 48: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{last}}} | {{{last}}} | ||
}} | |||
|- | |||
{{#if:{{{next|}}}| | {{#if:{{{next|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
Line 50: | Line 55: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{next}}} | {{{next}}} | ||
}} | |||
|- | |||
|- | |- | ||
{{#if:{{{spotify|}}}| | {{#if:{{{spotify|}}}| |
Revision as of 09:57, October 18, 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= }}