Template:Song: Difference between revisions

From Now That's What I Call Music Wiki
No edit summary
No edit summary
Line 15: Line 15:


{{#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|create page}}}}</div></td> }}


{{#ifeq: {{{Song Title|}}} |  | [[Category:Needs Song Title]] |<tr>
{{#ifeq: {{{Song Title|}}} |  | [[Category:Needs Song Title]] |<tr>
Line 34: Line 34:
{{#ifeq: {{{Songwriters|}}} |  | [[Category:Needs Songwriter]] | <tr>
{{#ifeq: {{{Songwriters|}}} |  | [[Category:Needs Songwriter]] | <tr>
<th scope="row"><div style="color: #dddddd;">Songwriter(s)</div></th>
<th scope="row"><div style="color: #dddddd;">Songwriter(s)</div></th>
<td><div style="color: #dddddd;">{{#arraymap:{{{Songwriters|}}}|~|xxxxx|{{#set:Songwriters=xxxxx}}{{#formredlink:target=xxxxx|form=Artist}}}}</div></td>
<td><div style="color: #dddddd;">{{#arraymap:{{{Songwriters|}}}|~|xxxxx|{{#set:Songwriters=xxxxx}}{{#formredlink:target=xxxxx|form=Artist|create page}}}}</div></td>
</tr> }}
</tr> }}
{{#ifeq: {{#ask:  [[Sample Of::{{PAGENAME}}]]}} |  |  |<tr>
{{#ifeq: {{#ask:  [[Sample Of::{{PAGENAME}}]]}} |  |  |<tr>

Revision as of 00:30, 7 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.