Template:Song: Difference between revisions

From Now That's What I Call Music Wiki
No edit summary
No edit summary
Line 17: Line 17:
<td><div style="color: #dddddd;">{{#arraymap:{{{Song Artist|}}}|~|xxxxx|{{#set:Song Artist=xxxxx}}{{#formredlink:target=xxxxx|form=Artist}}}}</div></td> }}
<td><div style="color: #dddddd;">{{#arraymap:{{{Song Artist|}}}|~|xxxxx|{{#set:Song Artist=xxxxx}}{{#formredlink:target=xxxxx|form=Artist}}}}</div></td> }}


{{#ifeq: string 1 | string 2 | value if identical | value if different }}
{{#ifeq: {{{Song Title|}}} |  | [[Category:Needs Song Title]] |<tr>
<tr>
<th scope="row"><div style="color: #dddddd;">Song Title</div></th>
<th scope="row"><div style="color: #dddddd;">Song Title</div></th>
<td><div style="color: #dddddd;">[[Song Title::{{{Song Title|}}}]]</div></td>
<td><div style="color: #dddddd;">[[Song Title::{{{Song Title|}}}]]</div></td>
</tr>
</tr> }}
{{#ifeq: {{{Song Original Release Date|}}} |  | [[Category:Needs Release Date]] | <th scope="row"><div style="color: #dddddd;">Release Date</div></th>
{{#ifeq: {{{Song Original Release Date|}}} |  | [[Category:Needs Release Date]] | <th scope="row"><div style="color: #dddddd;">Release Date</div></th>
<td><div style="color: #dddddd;">[[Song Original Release Date::{{{Song Original Release Date|}}}|{{#time:F j, Y|{{{Song Original Release Date}}}}}]]</div></td>
<td><div style="color: #dddddd;">[[Song Original Release Date::{{{Song Original Release Date|}}}|{{#time:F j, Y|{{{Song Original Release Date}}}}}]]</div></td>

Revision as of 20:23, 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.