Difference between revisions of "Template:Location/AU"

From Geohashing
(Queensland's LGAs are now available.)
(Western Australia's LGAs are now available)
Line 3: Line 3:
 
Using [[wikipedia:ISO 3166-2:AU|ISO 3166-2]] abbreviations, you may also tag the state/territory that the expedition took place in. The abbreviations Queensland, Tasmania and Victoria may be in full caps or have only the first letter capitalised.
 
Using [[wikipedia:ISO 3166-2:AU|ISO 3166-2]] abbreviations, you may also tag the state/territory that the expedition took place in. The abbreviations Queensland, Tasmania and Victoria may be in full caps or have only the first letter capitalised.
  
You may also tag the local government area (LGA) in those states where the LGAs are mapped on OpenStreetMap. Currently, these states are New South Wales, Queensland, South Australia, Tasmania and Victoria. Neither the LGAs of the Northern Territory nor those of Western Australia have been mapped on OpenStreetMap. This template uses [http://www.statoids.com/yau.html HASC] as abbreviations for the LGAs. In some cases, HASC is outdated and the template had to establish its own codes for some newer LGAs. See the source code of this template for them.
+
You may also tag the local government area (LGA) in all states. The LGAs of the Northern Territory have not been mapped on OpenStreetMap yet. This template uses [http://www.statoids.com/yau.html HASC] as abbreviations for the LGAs. In some cases, HASC is outdated and the template had to establish its own codes for some newer LGAs. See the source code of this template for them.
  
 
Several territories are not covered by Australia's ISO 3166-2 codes, use their own respective ISO 3166-1 codes for them. They are Christmas Island (CX), the Cocos (Keeling) Islands (CC), Norfolk Island (NF) and the Heard Island and McDonald Islands (HM). The Australian Antarctic Territory is covered by Antarctica's AQ code.
 
Several territories are not covered by Australia's ISO 3166-2 codes, use their own respective ISO 3166-1 codes for them. They are Christmas Island (CX), the Cocos (Keeling) Islands (CC), Norfolk Island (NF) and the Heard Island and McDonald Islands (HM). The Australian Antarctic Territory is covered by Antarctica's AQ code.
Line 439: Line 439:
 
}}
 
}}
  
|WA=Western Australia
+
|WA={{#switch:{{{2}}}
 +
    |#default=Western Australia
 +
    |AL=the City of Albany
 +
    |AM=the Shire of Augusta-Margaret River
 +
    |AR=the City of Armadale
 +
    |AS=the Shire of Ashburton
 +
    |BA=the Town of Bassendean
 +
    |BB=the Shire of Boyup Brook
 +
    |BE=the City of Belmont
 +
    |BG=the Shire of Bridgetown-Greenbushes
 +
    |BK=the Shire of Brookton
 +
    |BM=the Shire of Broome
 +
    |BO=the Shire of Boddington
 +
    |BR=the Shire of Bruce Rock
 +
    |BS=the City of Busselton
 +
    |BT=the Shire of Broomehill-Tambellup
 +
    |BU=the City of Bunbury
 +
    |BV=the Shire of Beverley
 +
    |BW=the City of Bayswater
 +
    |CA=the Shire of Carnarvon
 +
    |CB=the Shire of Cuballing
 +
    |CD=the Shire of Cunderdin
 +
    |CE=the Shire of Collie
 +
    |CG=the Town of Cambridge
 +
    |CH=the Shire of Chittering
 +
    |CI=the Shire of Corrigin
 +
    |CK=the City of Cockburn
 +
    |CL=the Town of Claremont
 +
    |CM=the Shire of Carnamah
 +
    |CN=the City of Canning
 +
    |CO=the Shire of Coolgardie
 +
    |CP=the Shire of Capel
 +
    |CR=the Shire of Cranbrook
 +
    |CT=the Town of Cottesloe
 +
    |CU=the Shire of Cue
 +
    |CV=the Shire of Chapman Valley
 +
    |CW=the Shire of Coorow
 +
    |DB=the Shire of Donnybrook-Balingup
 +
    |DE=the Shire of Denmark
 +
    |DL=the Shire of Dalwallinu
 +
    |DN=the Shire of Dandaragan
 +
    |DO=the Shire of Dowerin
 +
    |DP=the Shire of Dardanup
 +
    |DU=the Shire of Dundas
 +
    |DW=the Shire of Derby-West Kimberley
 +
    |DY=the Shire of Dumbleyung
 +
    |EF=the Town of East Fremantle
 +
    |EP=the Shire of East Pilbara
 +
    |ES=the Shire of Esperance
 +
    |EX=the Shire of Exmouth
 +
    |FR=the City of Fremantle
 +
    |GE=the City of Greater Geraldton
 +
    |GI=the Shire of Gingin
 +
    |GM=the Shire of Goomalling
 +
    |GN=the Shire of Gnowangerup
 +
    |GS=the City of Gosnells
 +
    |HA=the Shire of Harvey
 +
    |HC=the Shire of Halls Creek
 +
    |IR=the Shire of Irwin
 +
    |JE=the Shire of Jerramungup
 +
    |JO=the City of Joondalup
 +
    |KA=the City of Karratha
 +
    |KB=the City of Kalgoorlie-Boulder
 +
    |KE=the Shire of Kellerberrin
 +
    |KJ=the Shire of Kojonup
 +
    |KL=the City of Kalamunda
 +
    |KN=the Shire of Kent
 +
    |KO=the Shire of Kondinin
 +
    |KR=the Shire of Koorda
 +
    |KT=the Shire of Katanning
 +
    |KU=the Shire of Kulin
 +
    |KW=the City of Kwinana
 +
    |LA=the Shire of Laverton
 +
    |LE=the Shire of Leonora
 +
    |LG=the Shire of Lake Grace
 +
    |MA=the City of Mandurah
 +
    |MB=the Shire of Mukinbudin
 +
    |ME=the Shire of Merredin
 +
    |MG=the Shire of Mount Magnet
 +
    |MI=the Shire of Mingenew
 +
    |MJ=the Shire of Manjimup
 +
    |MM=the Shire of Mount Marshall
 +
    |MN=the Shire of Mundaring
 +
    |MO=the Shire of Morawa
 +
    |MP=the Town of Mosman Park
 +
    |MR=the Shire of Moora
 +
    |MT=the Shire of Meekatharra
 +
    |MU=the Shire of Murchison
 +
    |MV=the City of Melville
 +
    |MY=the Shire of Murray
 +
    |MZ=the Shire of Menzies
 +
    |NB=the Shire of Narembeen
 +
    |NE=the City of Nedlands
 +
    |NG=the Shire of Ngaanyatjarraku
 +
    |NN=the Shire of Nannup
 +
    |NP=the Shire of Northampton
 +
    |NR=the Shire of Northam
 +
    |NS=the Shire of Narrogin
 +
    |NU=the Shire of Nungarin
 +
    |PE=the City of Perth
 +
    |PG=the Shire of Peppermint Grove
 +
    |PI=the Shire of Pingelly
 +
    |PJ=the Shire of Perenjori
 +
    |PL=the Shire of Plantagenet
 +
    |PO=the Town of Port Hedland
 +
    |QR=the Shire of Quairading
 +
    |RA=the Shire of Ravensthorpe
 +
    |RC=the City of Rockingham
 +
    |SA=the Shire of Sandstone
 +
    |SB=the Shire of Shark Bay
 +
    |SJ=the Shire of Serpentine-Jarrahdale
 +
    |SP=the City of South Perth
 +
    |ST=the City of Stirling
 +
    |SU=the City of Subiaco
 +
    |SW=the City of Swan
 +
    |TM=the Shire of Tammin
 +
    |TO=the Shire of Toodyay
 +
    |TR=the Shire of Trayning
 +
    |TS=the Shire of Three Springs
 +
    |UG=the Shire of Upper Gascoyne
 +
    |VI=the City of Vincent
 +
    |VK=the Town of Victoria Park
 +
    |VP=the Shire of Victoria Plains
 +
    |WA=the Shire of West Arthur
 +
    |WB=the Shire of Wongan-Ballidu
 +
    |WC=the Shire of Wickepin
 +
    |WD=the Shire of Wandering
 +
    |WE=the Shire of Wyndham-East Kimberley
 +
    |WG=the Shire of Wagin
 +
    |WL=the Shire of Wiluna
 +
    |WN=the Shire of Woodanilling
 +
    |WO=the Shire of Waroona
 +
    |WR=the City of Wanneroo
 +
    |WS=the Shire of Williams
 +
    |WT=the Shire of Westonia
 +
    |WY=the Shire of Wyalkatchem
 +
    |YA=the Shire of Yalgoo
 +
    |YI=the Shire of Yilgarn
 +
    |YO=the Shire of York
 +
}}
 +
 
 
|NT=the Northern Territory
 
|NT=the Northern Territory
  

Revision as of 17:51, 1 October 2020

Use {{location|AU}} to tag expeditions that took place in Australia. It will add Category:Expeditions in Australia to the expedition.

Using ISO 3166-2 abbreviations, you may also tag the state/territory that the expedition took place in. The abbreviations Queensland, Tasmania and Victoria may be in full caps or have only the first letter capitalised.

You may also tag the local government area (LGA) in all states. The LGAs of the Northern Territory have not been mapped on OpenStreetMap yet. This template uses HASC as abbreviations for the LGAs. In some cases, HASC is outdated and the template had to establish its own codes for some newer LGAs. See the source code of this template for them.

Several territories are not covered by Australia's ISO 3166-2 codes, use their own respective ISO 3166-1 codes for them. They are Christmas Island (CX), the Cocos (Keeling) Islands (CC), Norfolk Island (NF) and the Heard Island and McDonald Islands (HM). The Australian Antarctic Territory is covered by Antarctica's AQ code.

Several territories are not covered by Australia's ISO 3166-2 codes, and also do not have their own ISO 3166-1. To tag expeditions that took place there, use abbreviations established by this template, see the examples section for them.

If the category link appears red, do not worry and create the category. Make sure that it is included in the appropriate parent category, for instance, Category:Expeditions in the City of Melbourne is a subcategory of Category:Expeditions in Victoria which is a subcategory of Category:Expeditions in Australia. The subcategories should be sorted in by their respective code.

Examples

  • {{location|AU}}: Australia
  • {{location|AU|NSW}}: New South Wales
  • {{location|AU|NSW|SY}}: the City of Sydney
  • {{location|AU|NSW|WL}}: Wollondilly Shire
  • {{location|AU|QLD}}: Queensland
  • {{location|AU|Qld}}: Queensland
  • {{location|AU|ACT}}: the Australian Capital Territory
  • {{location|AU|ACI}}: the Ashmore and Cartier Islands
  • {{location|AU|CSI}}: the Coral Sea Islands
  • {{location|AU|JBT}}: the Jervis Bay Territory