Template:Song: Difference between revisions
From North West DJ Karaoke Database
No edit summary |
No edit summary |
||
(23 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}}}} | ||
Line 9: | Line 10: | ||
Year: [[Song Year::{{{Song Year|}}}]] | Year: [[Song Year::{{{Song Year|}}}]] | ||
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|}}}|~ |{{!}}{{!}}}}]] | |||
|?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|}}}}} }}}} | |||
{{#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}} | {{#default_form:Song}} | ||
__NOTOC__ | |||
__NOEDITSECTION__ | |||
</includeonly> | </includeonly> |
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.