Template:Song: Difference between revisions

From Now That's What I Call Music Wiki
No edit summary
No edit summary
Line 16: Line 16:
{{#ifeq: {{{Song Artist|}}} |  | [[Category:Needs Artist]] | <th scope="row"><div style="color: #dddddd; border-top: 0pm;">Artist(s)</div></th>
{{#ifeq: {{{Song Artist|}}} |  | [[Category:Needs Artist]] | <th scope="row"><div style="color: #dddddd; border-top: 0pm;">Artist(s)</div></th>
<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 }}
<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>
</tr>
{{#ifeq: {{{Song Original Release Date|}}} |  | [[Category:Needs Release Date]] | <th scope="row"><div style="color: #dddddd;">Release Date</div></th>
<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>
</tr>
</tr> }}
<tr>
<tr>
<th scope="row"><div style="color: #dddddd;">Highest Chart Position</div></th>
<th scope="row"><div style="color: #dddddd;">Highest Chart Position</div></th>

Revision as of 21:22, 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.