Difference between revisions of "Template:Gigbox"

From MansunWiki
Jump to: navigation, search
m (testing country gig table switcher)
m (Added auto categorisation for missing/present Setlists)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{Helpbox}}
 
<noinclude>{{Helpbox}}
 
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 80: Line 79:
 
#if:{{{TicketScanMissing |}}} |
 
#if:{{{TicketScanMissing |}}} |
 
[[Category:Missing Ticket Scans]]
 
[[Category:Missing Ticket Scans]]
 +
}}
 +
{{#switch:{{{Country}}} |England=[[Category:Gigs in England]][[Category:Gigs in the UK]] |Wales=[[Category:Gigs in Wales]][[Category:Gigs in the UK]] |Scotland=[[Category:Gigs in Scotland]][[Category:Gigs in the UK]] |Northen Ireland=[[Category:Gigs in Northern Ireland]][[Category:Gigs in the UK]] |Japan=[[Category:Gigs in Japan]] |USA=[[Category:Gigs in the USA]]
 +
}}
 +
{{#switch:{{{Setlist}}} |Yes=[[Category:Gigs with Setlists]]|[[Category:Gigs missing Setlists]]
 
}}
 
}}
 
|}
 
|}
{{#switch: Country
+
 
| England = England, United Kingdom{{{!}}}[[Category:Gigs In England]]{{{!}}}[[Category:Gigs In the UK]]
+
| Wales = Wales, United Kingdom{{{!}}}[[Category:Gigs In Wales]]{{{!}}}[[Category:Gigs In the UK]]
+
| Scotland = Scotland, United Kingdom{{{!}}}[[Category:Gigs In Scotland]]{{{!}}}[[Category:Gigs In the UK]]
+
| Ireland = Ireland, United Kingdom{{{!}}}[[Category:Gigs In Ireland]]{{{!}}}[[Category:Gigs In the UK]]
+
| USA = [[Category:Gigs In the USA]]
+
| Japan = [[Category:Gigs In Japan]]
+
| #default = [[Category:Gigs with missing information]]
+
}}
+
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:03, 27 August 2015

Help for using this template