Template:Music infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - ""vertical-align: *top; " to """) |
m (Text replacement - "font-size: *90%; padding: *0 0 0 2px; line-height: *14px; " to "") |
||
Line 16: | Line 16: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{soundtrack|}}}| | {{#if:{{{soundtrack|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}} | {{!}} 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}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
Line 23: | Line 23: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{album|}}}| | {{#if:{{{album|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}} | {{!}} 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}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} |
Revision as of 22:20, 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= }}