Difference between revisions of "Template:LocationCat"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
(Template goodness, for automatic gig location categories.)
 
m (Further obfuscate by printing region if state's not set, then district if region isn't set. MediaWiki language is so elegant, isn't it?)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
Gigs in {{{Location}}}{{#if:{{{County|}}}|, {{{County}}}}} {{{Country}}}.
''Please note that categories of gigs within locations are currently being populated.''
[[Category:Gigs]]
 
Gigs in {{{location}}}{{#if:{{{county|}}}|, {{{county}}}}}{{#if:{{{province|}}}|, {{{province}}}}}{{#if:{{{state|}}}|, {{{state}}}|{{#if:{{{region|}}}|, {{{region}}}|{{#if:{{{district|}}}|, {{{district}}}}}}}}}, {{{country}}}.
<includeonly>[[Category:Gigs by location]]</includeonly>

Latest revision as of 14:08, 5 October 2010

Please note that categories of gigs within locations are currently being populated.

Gigs in {{{location}}}, {{{country}}}.