Template:Artist: Difference between revisions

From Now That's What I Call Music Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{Siteheader}}
{{#ifeq: {{#ask:
{{#ifeq: {{#ask:
  [[Category:Song]] [[Song Artist::{{PAGENAME}}]] }} |  |  | ===A list of songs by '{{PAGENAME}}'===
  [[Category:Song]] [[Song Artist::{{PAGENAME}}]] }} |  |  | ===A list of songs by '{{PAGENAME}}'===
Line 13: Line 13:
|limit=200
|limit=200
|order=asc
|order=asc
|sort=Song Title
|headers=plain
|headers=plain
|format=plainlist
|format=plainlist
Line 41: Line 42:
[[Number of Songs by Artist::{{#ask:
[[Number of Songs by Artist::{{#ask:
  [[Category:Song]] [[Song Artist::{{PAGENAME}}]]  
  [[Category:Song]] [[Song Artist::{{PAGENAME}}]]  
|format=count
}}| ]]
[[Number of Songs by Artist that Appear on an Album::{{#ask:
[[Category:Song]] [[Song Artist::{{PAGENAME}}]] [[Total Count::>1]]
|format=count
|format=count
}}| ]]
}}| ]]
Line 128: Line 134:
| 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|}}} |  | [[Category:Needs Sort Order]] |{{DEFAULTSORT:{{{Sort Order|}}}}} [[Category:Has Sort Order]]
{{#set:
Sort Order={{{Sort Order|}}}
}}}}
__NOTOC__ __NOEDITSECTION__ __INDEX__
__NOTOC__ __NOEDITSECTION__ __INDEX__
{{#default_form:Artist}}
{{#default_form:Artist}} [[Category:Artist or Songwriter]]
</includeonly>
</includeonly>

Latest revision as of 13:26, 19 September 2024