The Morrissey-solo Wiki is a continual work in progress, most of the data still needs to be populated. See the To Do page if you want to help.

Difference between revisions of "Template:LiveHistory"

From Morrissey-solo Wiki
Jump to navigation Jump to search
(Make LiveHistory template generic)
 
(use expression that includes songs played twice to calculate total play count)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
Play count ({{{Artist}}} concert): {{#ask: [[Category:{{{Artist}}} concert]] [[Setlistsong::{{{Song}}}]]
+
Play count ({{{Artist}}} concert): {{#expr:{{#ask: [[Category:{{{Artist}}} concert]] [[Setlistsong::{{{Song}}}]]
 
| format=count
 
| format=count
}}
+
}} + {{#ask: [[Category:{{{Artist}}} concert]] [[Setlistsong::{{{Song}}} (2)]]
 +
| format=count
 +
}}}}
  
 
{{#ifeq:{{#ask: [[Category:{{{Artist}}} concert]] [[Setlistsong::{{{Song}}}]]
 
{{#ifeq:{{#ask: [[Category:{{{Artist}}} concert]] [[Setlistsong::{{{Song}}}]]
Line 9: Line 11:
 
{{{Artist}}} live history:
 
{{{Artist}}} live history:
 
{{#ask: [[Category:{{{Artist}}} concert]] [[Setlistsong::{{{Song}}}]]
 
{{#ask: [[Category:{{{Artist}}} concert]] [[Setlistsong::{{{Song}}}]]
 +
| format=ul
 +
| limit=10
 +
}}
 +
}}
 +
 +
{{#ifeq:{{#ask: [[Category:{{{Artist}}} concert]] [[Setlistsong::{{{Song}}} (2)]]
 +
| format=count
 +
}}|0||
 +
{{{Artist}}} live history - played in concert twice:
 +
{{#ask: [[Category:{{{Artist}}} concert]] [[Setlistsong::{{{Song}}} (2)]]
 
| format=ul
 
| format=ul
 
| limit=10
 
| limit=10

Latest revision as of 09:23, 3 March 2014