Template:LiveHistory: Difference between revisions
(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 |
Revision as of 09:23, 3 March 2014