Template:Song: Difference between revisions

From North West DJ Karaoke Database
No edit summary
No edit summary
Line 20: Line 20:
{{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]]

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