Template:Music infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "-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; " to "")
m (Text replacement - "border-radius: " to "border-radius:")
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; border-radius: 0 0 .7em .7em; color:{{{color|#000}}}; background:{{{BG|#FFCC00}}};"
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; border-radius:0 0 .7em .7em; color:{{{color|#000}}}; background:{{{BG|#FFCC00}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:{{{color|#000}}};" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:{{{color|#000}}};" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}

Revision as of 10:36, June 8, 2021

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=
}}