Template:Music infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "! class="infoboxmedia"" to "{{!}} class="infoboxmedia"") |
m (Text replacement - "'''" to "") |
||
Line 16: | Line 16: | ||
{{#if:{{{soundtrack|}}}| | {{#if:{{{soundtrack|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; width:100px" {{!}} | ||
{{{soundtrack-title|Soundtrack}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{soundtrack|}}} | {{{soundtrack|}}} | ||
Line 23: | Line 23: | ||
{{#if:{{{album|}}}| | {{#if:{{{album|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; width:100px" {{!}} | ||
{{{album-title|Album}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{album|}}} | {{{album|}}} | ||
Line 29: | Line 29: | ||
{{#if:{{{composer|}}}| | {{#if:{{{composer|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{composer-title|Composer(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{composer|}}} | {{{composer|}}} | ||
Line 35: | Line 35: | ||
{{#if:{{{length|}}}| | {{#if:{{{length|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{length-title|Length}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{length|}}} | {{{length|}}} | ||
Line 41: | Line 41: | ||
{{#if:{{{last|}}}| | {{#if:{{{last|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{last-title|Previous}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{last|}}} | {{{last|}}} | ||
Line 47: | Line 47: | ||
{{#if:{{{next|}}}| | {{#if:{{{next|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{next-title|Next}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}" {{!}} | ||
{{{next|}}} | {{{next|}}} |
Revision as of 17:57, September 15, 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= }}