Difference between revisions of "Template:Basgaz"
From Wikishire
m |
|||
Line 1: | Line 1: | ||
− | {{#vardefine:terrtag| | + | {{#vardefine:terrtag|{{#if:{{{1|}}}|{{#switch:{{namefix|{{{1}}}}} |
− | {{#if:{{{1|}}} | + | |
− | |{{#switch:{{namefix|{{{1}}}}} | + | |
|South Georgia and the South Sandwich Islands | |South Georgia and the South Sandwich Islands | ||
|British Antarctic Territory={{namefix|{{{1}}}}} | |British Antarctic Territory={{namefix|{{{1}}}}} | ||
Line 7: | Line 5: | ||
|South Georgia and the South Sandwich Islands | |South Georgia and the South Sandwich Islands | ||
|British Antarctic Territory={{#var:shire}} | |British Antarctic Territory={{#var:shire}} | ||
− | |none}} }} }}|{{#ifeq:{{#varexists:shire|1|{{#switch:{{#var:shire}} | + | |none}} }} }}|{{#ifeq:{{#varexists:shire}}|1|{{#switch:{{#var:shire}} |
|South Georgia and the South Sandwich Islands | |South Georgia and the South Sandwich Islands | ||
|British Antarctic Territory={{#var:shire}} | |British Antarctic Territory={{#var:shire}} | ||
− | |none | + | |none}} }} }} }}{{#vardefine:tag2|{{#if:{{{2|}}}|{{{2}}}|{{#ifeq:{{namefix|{{{1}}}}}|{{#var:terrtag}}|{{PAGENAME}}|{{{1}}}}} }} }}{{#switch:{{#var:terrtag}} |
|South Georgia and the South Sandwich Islands=[http://www.sggis.gov.gs/home Gazetteer of South Georgia and the South Sandwich Islands] | |South Georgia and the South Sandwich Islands=[http://www.sggis.gov.gs/home Gazetteer of South Georgia and the South Sandwich Islands] | ||
|British Antarctic Territory={{BATgaz|{{#var:tag2}}}} | |British Antarctic Territory={{BATgaz|{{#var:tag2}}}} | ||
− | |[http://www.antarctica.ac.uk/bas_research/data/gazetteers.php British Antarctic Survey - Gazetteers]}}<noinclude>[[Category:Gazetteer templates]] | + | |[http://www.antarctica.ac.uk/bas_research/data/gazetteers.php British Antarctic Survey - Gazetteers]}} |
+ | <noinclude>[[Category:Gazetteer templates]] |