Template:Artist: Difference between revisions
From Now That's What I Call Music Wiki
No edit summary |
No edit summary |
||
Line 133: | Line 133: | ||
| style="vertical-align:bottom;" | {{#set: Artist Total Count= {{#ask: [[Category:Song]] [[Song Artist::{{PAGENAME}}]] |?Total Count |format=sum }} }}{{#ask:[[{{PAGENAME}}]] |?Artist Total Count |format=plainlist |template=PlainText |headers=hide | link=none}} | | style="vertical-align:bottom;" | {{#set: Artist Total Count= {{#ask: [[Category:Song]] [[Song Artist::{{PAGENAME}}]] |?Total Count |format=sum }} }}{{#ask:[[{{PAGENAME}}]] |?Artist Total Count |format=plainlist |template=PlainText |headers=hide | link=none}} | ||
|} | |} | ||
{{#ifeq: {{{Sort Order|}}} | | | {{#ifeq: {{{Sort Order|}}} | | [[Category:Needs Sort Order]] |{{DEFAULTSORT:{{{Sort Order|}}}}} [[Category:Has Sort Order]] | ||
{{#set: | {{#set: | ||
Sort Order={{{Sort Order|}}} | Sort Order={{{Sort Order|}}} | ||
}} | }}}} | ||
__NOTOC__ __NOEDITSECTION__ __INDEX__ | __NOTOC__ __NOEDITSECTION__ __INDEX__ | ||
{{#default_form:Artist}} | {{#default_form:Artist}} | ||
</includeonly> | </includeonly> |