Template:Song: Difference between revisions

From Now That's What I Call Music Wiki
No edit summary
No edit summary
Line 2: Line 2:
{{#template_params:Song Artist (list;delimiter=~;property=Song Artist)|Song Title (property=Song Title)|Song Original Release Date (property=Song Original Release Date)|Song Genre (list;delimiter=~;property=Song Genre)}}
{{#template_params:Song Artist (list;delimiter=~;property=Song Artist)|Song Title (property=Song Title)|Song Original Release Date (property=Song Original Release Date)|Song Genre (list;delimiter=~;property=Song Genre)}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#ifeq: {{{Song Youtube Link|}}} |  | [[Category:Needs Youtube Link]] |{|
|-
!{{#widget:YouTube|id={{{Song Youtube Link|}}}|width=100%}}[[Song Youtube Link::{{{Song Youtube Link|}}}| ]]
|} }}
<div style="font-family: Trebuchet MS; color: #dddddd;">
<div style="font-family: Trebuchet MS; color: #dddddd;">
<div class="row">
<div class="row">
<div class="col-4">{{#ifeq: {{{Song Cover Picture|}}} | | [[Category:Needs Song Cover Image]] |[[File:{{{Song Cover Picture|}}}]] [[Category:Has Song Image]] [[Song Cover Picture ::{{{Song Cover Picture|}}}| ]]}}
<div class="col-4">{{#ifeq: {{{Song Cover Picture|}}} | | [[Category:Needs Song Cover Image]] |[[File:{{{Song Cover Picture|}}}]] [[Category:Has Song Image]] [[Song Cover Picture ::{{{Song Cover Picture|}}}| ]]}}


{{#ifeq: {{{Song Youtube Link|}}} |  | [[Category:Needs Youtube Link]] |{|
|-
!{{#widget:YouTube|id={{{Song Youtube Link|}}}|width=100%}}[[Song Youtube Link::{{{Song Youtube Link|}}}| ]]
|} }}
</div>
</div>
<div class="col-8"><div style="font-weight:bold; padding:5px; font-size: large; font-family: Trebuchet MS; color: #eeeeee;"><center>{{PAGENAME}}</center></div>
<div class="col-8"><div style="font-weight:bold; padding:5px; font-size: large; font-family: Trebuchet MS; color: #eeeeee;"><center>{{PAGENAME}}</center></div>

Revision as of 20:16, 6 August 2022

This is the "Song" template.

It should be called in the following format:

{{Song
|Song Artist=
|Song Title=
|Song Original Release Date=
|Song Genre=
}}

Edit the page to see the template text.