Template:Song: Difference between revisions

From North West DJ Karaoke Database
(Created page with "<noinclude> {{#template_params:Artist (list;delimiter=~;property=Artist)}} </noinclude><includeonly>{| class="wikitable" ! Artist | {{#arraymap:{{{Artist|}}}|~|x|Artist::x|~\s}} |- ! |{{#ask:[[Artist::{{SUBJECTPAGENAME}}]]|format=list}} |} Category:Song </includeonly>")
 
No edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Artist (list;delimiter=~;property=Artist)}}
{{#template_params:Artist (list;delimiter=~;property=Artist)}}
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>
! Artist
{{Site Header}}
| {{#arraymap:{{{Artist|}}}|~|x|[[Artist::x]]|~\s}}


|-
Artist : {{#arraymap:{{{Artist|}}}|~|xxxxx|{{#set:Artist=xxxxx}}{{#formredlink:target=xxxxx|form=Artist|create page}}}}
!
 
|{{#ask:[[Artist::{{SUBJECTPAGENAME}}]]|format=list}}
Title : [[Song Title::{{{Song Title|}}}]]
|}
 
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}}
 
=Other songs by 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}}
__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.