Template:Song: Difference between revisions

From North West DJ Karaoke Database
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
Year: [[Song Year::{{{Song Year|}}}]]
Year: [[Song Year::{{{Song Year|}}}]]


Genre : {{#arraymap:{{{Genre|}}}|~|xxxxx|{{#set:Genre=xxxxx}}{{#formredlink:target=xxxxx|form=Genre|create page}}}}
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}}
Line 16: Line 16:
=Other songs by Artist=
=Other songs by Artist=


{{#ask:[[Artist::{{#replace:{{{Artist|}}}|~ |{{!}}{{!}}}}]]|format=ul|limit=200|class=columnsul|order=ascending}}
{{#ask:[[Artist::{{#replace:{{{Artist|}}}|~ |{{!}}{{!}}}}]]
|?Song Title Sort
|format=ul
|limit=200
|template=Artist Song Sort
|class=columnsul
|Sort=Song Title Sort
|order=ascending}}


{{DEFAULTSORT:{{#ifeq: {{{Sort Order|}}} |  | {{lc:{{PAGENAME}}}} | {{lc:{{{Sort Order|}}}}} }}}}
{{DEFAULTSORT:{{#ifeq: {{{Sort Order|}}} |  | {{lc:{{PAGENAME}}}} | {{lc:{{{Sort Order|}}}}} }}}}


Sort Order: [[Sort Order::{{#ifeq: {{{Sort Order|}}} |  | {{lc:{{PAGENAME}}}} | {{lc:{{{Sort Order|}}}}} }}]]
{{#set:
 
Sort Order={{#ifeq: {{{Sort Order|}}} |  | {{lc:{{PAGENAME}}}} | {{lc:{{{Sort Order|}}}}} }}
{{#ifeq: {{{Song Title Sort|}}} |  |  | Song Title Sort: [[Song Title Sort::{{lc:{{{Song Title Sort|}}}}}]] }}
}}
 
{{#ifeq: {{{Song Title Sort|}}} |  |  |{{#set:
Page Title: [[Page Title::{{lc:{{PAGENAME}}}}]]
Song Title Sort={{lc:{{{Song Title Sort|}}}}}
}} }}
{{#set:
Page Title={{lc:{{PAGENAME}}}}
}}


[[Category:Song]]
[[Category:Song]]

Latest revision as of 16:07, 29 July 2024

This is the "Song" template.

It should be called in the following format:

{{Song
|Artist=
}}

Edit the page to see the template text.