Template:Known performances: Difference between revisions
From The Elvis Costello Wiki
Jump to navigationJump to search
(add 20-29 and 30-49 categories) |
m (test) |
||
Line 2: | Line 2: | ||
[[Category:Known performances|{{{title}}}]] | [[Category:Known performances|{{{title}}}]] | ||
{{#switch:{{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}|0=No known performances of '''[[{{{title}}}]]'''. [[Category:No known performances|{{{title}}}]]|1=One known performance of '''[[{{{title}}}]]'''. [[Category:1 known performance|{{{title}}}]]|{{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count | outro = known performances of '''[[{{{title}}}]]'''. {{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>399 | [[Category:400-499 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>299 | [[Category:300-399 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>199 | [[Category:200-299 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>99 | [[Category:100-199 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>49 | [[Category:50-99 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>29 | [[Category:30-49 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>19 | [[Category:20-29 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>9 | [[Category:10-19 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>4 | [[Category:5-9 known performances|{{{title}}}]]|{{#switch: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}|4=[[Category:4 known performances|{{{title}}}]]|3=[[Category:3 known performances|{{{title}}}]]|[[Category:2 known performances|{{{title}}}]]}}}}}}}}}}}}}}}}}}}}}}}} | {{#switch:{{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}|0=No known performances of '''[[{{{title}}}]]'''. [[Category:No known performances|{{{title}}}]]|1=One known performance of '''[[{{{title}}}]]'''. [[Category:1 known performance|{{{title}}}]]|{{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count | outro = known performances of '''[[{{{title}}}]]'''. {{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>399 | [[Category:400-499 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>299 | [[Category:300-399 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>199 | [[Category:200-299 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>99 | [[Category:100-199 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>49 | [[Category:50-99 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>29 | [[Category:30-49 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>19 | [[Category:20-29 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>9 | [[Category:10-19 known performances|{{{title}}}]]|{{#ifexpr: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}>4 | [[Category:5-9 known performances|{{{title}}}]]|{{#switch: {{#ask: [[Category:Setlists]] [[song::{{{title}}}]] |format=count}}|4=[[Category:4 known performances|{{{title}}}]]|3=[[Category:3 known performances|{{{title}}}]]|[[Category:2 known performances|{{{title}}}]]}}}}}}}}}}}}}}}}}}}}}}}} | ||
{{VenueMainTemplate | query=[[song::{{{title}}}]] | limit=500}} | {{VenueMainTemplate | query=[[song::{{{title}}}]] | limit=500}} | ||
{{#ifexpr: {{#ask: [[Category:Setlists]] [[snippet::{{{title}}}]] |format=count}}>0 | {{#ask: [[Category:Setlists]] [[snippet::{{{title}}}]] |format=count | outro = known performances of '''[[{{{title}}}]]''' as a '''snippet'''.}}|}} | {{#ifexpr: {{#ask: [[Category:Setlists]] [[snippet::{{{title}}}]] |format=count}}>0 | {{#ask: [[Category:Setlists]] [[snippet::{{{title}}}]] |format=count | outro = known performances of '''[[{{{title}}}]]''' as a '''snippet'''.}}|}} | ||
{{VenueMainTemplate | query=[[snippet::{{{title}}}]] | limit=500}} | {{VenueMainTemplate | query=[[snippet::{{{title}}}]] | limit=500}} | ||
<includeonly> | <includeonly> |