Template:Song: Difference between revisions
From North West DJ Karaoke Database
No edit summary Tag: Manual revert |
No edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 10: | 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}} | ||
Line 16: | Line 16: | ||
=Other songs by Artist= | =Other songs by Artist= | ||
{{#ask:[[Artist::{{{Artist|}}}]]|format=ul|limit=200}} | {{#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]] |
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.