Template:Song: Difference between revisions

From North West DJ Karaoke Database
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{#template_params:Artist (list;delimiter=~;property=Artist)}}
{{#template_params:Artist (list;delimiter=~;property=Artist)}}
</noinclude><includeonly>
</noinclude><includeonly>
{{Site Header}}


Artist : {{#arraymap:{{{Artist|}}}|~|xxxxx|{{#set:Artist=xxxxx}}{{#formredlink:target=xxxxx|form=Artist|create page}}}}
Artist : {{#arraymap:{{{Artist|}}}|~|xxxxx|{{#set:Artist=xxxxx}}{{#formredlink:target=xxxxx|form=Artist|create page}}}}


Title : [[Song Title::{{{Song Title}}}]]
Title : [[Song Title::{{{Song Title|}}}]]


Year: [[Song Year::{{{Song Year}}}]]
Year: [[Song Year::{{{Song Year|}}}]]


Genre : {{#arraymap:{{{Genre|}}}|~|xxxxx|[[Genre::xxxxx]]|,\s}}
Tag(s): {{#arraymap:{{{Genre|}}}|~|xxxxx|{{#set:Genre=xxxxx}}{{#formredlink:target=xxxxx|form=Genre|create page}}}}


Song Property : {{#arraymap:{{{Song Property|}}}|~|xxxxx|[[Song Property::xxxxx]]|,\s}}
Song Property : {{#arraymap:{{{Song Property|}}}|~|xxxxx|[[Song Property::xxxxx]]|,\s}}


Other songs by Artist:
=Other songs by Artist=
{{#ask:[[Artist::{{{Artist|}}}]]}}
 
{{#ask:[[Artist::{{#replace:{{{Artist|}}}|~ |{{!}}{{!}}}}]]|format=ul|limit=200|class=columnsul|order=ascending}}
 
{{DEFAULTSORT:{{#ifeq: {{{Sort Order|}}} |  | {{lc:{{PAGENAME}}}} | {{lc:{{{Sort Order|}}}}} }}}}
 
{{#set:
Sort Order={{#ifeq: {{{Sort Order|}}} |  | {{lc:{{PAGENAME}}}} | {{lc:{{{Sort Order|}}}}} }}
}}
{{#ifeq: {{{Song Title Sort|}}} |  |  |{{#set:
Song Title Sort={{lc:{{{Song Title Sort|}}}}}
}} }}
{{#set:
Page Title={{lc:{{PAGENAME}}}}
}}


[[Category:Song]]
[[Category:Song]]
{{#default_form:Song}}
__NOTOC__
__NOEDITSECTION__
</includeonly>
</includeonly>

Latest revision as of 16:48, 24 May 2023

This is the "Song" template.

It should be called in the following format:

{{Song
|Artist=
}}

Edit the page to see the template text.