Difference between revisions of "Template:Location/AU"

From Geohashing
m
(LGAs)
Line 2: Line 2:
  
 
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, South Australia, Tasmania and Victoria. The LGAs of the Northern Territory or the states of Western Australia and Queensland have not 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.
  
 
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 7: Line 9:
 
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|examples section]] for them.
 
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|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 Victoria]] is a subcategory of [[:Category:Expeditions in Australia]]. The subcategories should be sorted in by their respective code.
+
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==
 
==Examples==
 
*<code><nowiki>{{location|AU}}</nowiki></code>: {{location/AU}}
 
*<code><nowiki>{{location|AU}}</nowiki></code>: {{location/AU}}
 
*<code><nowiki>{{location|AU|NSW}}</nowiki></code>: {{location/AU|NSW}}
 
*<code><nowiki>{{location|AU|NSW}}</nowiki></code>: {{location/AU|NSW}}
 +
*<code><nowiki>{{location|AU|NSW|SY}}</nowiki></code>: {{location/AU|NSW|SY}}
 +
*<code><nowiki>{{location|AU|NSW|WL}}</nowiki></code>: {{location/AU|NSW|WL}}
 
*<code><nowiki>{{location|AU|QLD}}</nowiki></code>: {{location/AU|QLD}}
 
*<code><nowiki>{{location|AU|QLD}}</nowiki></code>: {{location/AU|QLD}}
 
*<code><nowiki>{{location|AU|Qld}}</nowiki></code>: {{location/AU|Qld}}
 
*<code><nowiki>{{location|AU|Qld}}</nowiki></code>: {{location/AU|Qld}}
Line 21: Line 25:
 
[[Category:Location templates|AU]]</noinclude><includeonly>{{#switch:{{{1}}}
 
[[Category:Location templates|AU]]</noinclude><includeonly>{{#switch:{{{1}}}
 
|#default=Australia
 
|#default=Australia
|NSW=New South Wales
+
|NSW={{#switch:{{{2}}}
 +
    |#default=New South Wales
 +
    |AL=the City of Albury
 +
    |AR=the Armidale Regional Council
 +
    |BA=Ballina Shire
 +
    |BB=the Bayside Council
 +
    |BC=the Blacktown City Council
 +
    |BD=Bland Shire
 +
    |BE=Bellingen Shire
 +
    |BG=Berrigan Shire
 +
    |BH=the City of Broken Hill
 +
    |BL=Blayney Shire
 +
    |BM=the City of Blue Mountains
 +
    |BN=Balranald Shire
 +
    |BQ=Bourke Shire
 +
    |BR=Brewarrina Shire
 +
    |BS=the City of Canterbury-Bankstown
 +
    |BT=the Bathurst Regional Council
 +
    |BU=the Municipality of Burwood
 +
    |BV=Bega Valley Shire
 +
    |BX=Bogan Shire
 +
    |BY=Byron Shire
 +
    |CC=the City of Canada Bay
 +
    |CD=Central Darling Shire
 +
    |CE=the Cabonne Council
 +
    |CF=the City of Coffs Harbour
 +
    |CH=Carrathool Shire
 +
    |CJ=Coonamble Shire
 +
    |CN=the Camden Council, New South Wales
 +
    |CO=Coolamon Shire
 +
    |CQ=the Cootamundra–Gundagai Regional Council
 +
    |CR=Cobar Shire
 +
    |CS=the City of Cessnock
 +
    |CT=the City of Campbelltown, New South Wales
 +
    |CU=the Cumberland City Council
 +
    |CW=Cowra Shire
 +
    |CY=the Clarence Valley Council
 +
    |DB=the Dubbo Regional Council
 +
    |DG=Dungog Shire
 +
    |ER=the Edward River Council
 +
    |EU=Eurobodalla Shire
 +
    |FA=the Fairfield City Council
 +
    |FC=the Federation Council, New South Wales
 +
    |FO=Forbes Shire
 +
    |FW=the Unincorporated Far West Region
 +
    |GB=the Goulburn Mulwaree Council
 +
    |GD=Gunnedah Shire
 +
    |GE=the Georges River Council
 +
    |GF=the Central Coast Council, New South Wales
 +
    |GG=Gilgandra Shire
 +
    |GH=the City of Griffith
 +
    |GI=Glen Innes Severn
 +
    |GW=Gwydir Shire
 +
    |HA=the Port Macquarie-Hastings Council
 +
    |HH=the Municipality of Hunter's Hill
 +
    |HM=Greater Hume Shire
 +
    |HR=Hornsby Shire
 +
    |HS=the Hills Shire
 +
    |HT=the Hilltops Council
 +
    |HW=the City of Hawkesbury
 +
    |HY=Hay Shire
 +
    |IN=Inverell Shire
 +
    |IW=the Inner West Council
 +
    |JU=Junee Shire
 +
    |KE=Kempsey Shire
 +
    |KI=the Municipality of Kiama
 +
    |KU=the Ku-ring-gai Council
 +
    |KY=the Kyogle Council
 +
    |LA=Lachlan Shire
 +
    |LC=the Municipality of Lane Cove
 +
    |LE=Leeton Shire
 +
    |LG=the City of Lithgow
 +
    |LH=Lord Howe Island
 +
    |LI=the City of Lismore
 +
    |LM=the City of Lake Macquarie
 +
    |LO=Lockhart Shire
 +
    |LP=Liverpool Plains Shire
 +
    |LV=the City of Liverpool, New South Wales
 +
    |MB=the Murrumbidgee Council
 +
    |MC=the Mid-Coast Council
 +
    |MD=the City of Maitland
 +
    |MO=the Municipality of Mosman
 +
    |MP=Moree Plains Shire
 +
    |MS=Muswellbrook Shire
 +
    |MU=the Murray River Council
 +
    |MW=the Mid-Western Regional Council
 +
    |NA=Narromine Shire
 +
    |NB=Narrabri Shire
 +
    |NC=the Nambucca Valley Council
 +
    |ND=Narrandera Shire
 +
    |NE=the City of Newcastle
 +
    |NO=the Northern Beaches Council
 +
    |NS=the North Sydney Council
 +
    |OB=the Oberon Council
 +
    |OR=the City of Orange, New South Wales
 +
    |PA=the City of Parramatta
 +
    |PE=the City of Penrith
 +
    |PK=Parkes Shire
 +
    |PS=the Port Stephens Council
 +
    |QB=the Queanbeyan–Palerang Regional Council
 +
    |RA=the City of Randwick
 +
    |RD=the City of Ryde
 +
    |RV=the Richmond Valley Council
 +
    |SH=the City of Shellharbour
 +
    |SI=the Singleton Council
 +
    |SL=the City of Shoalhaven
 +
    |SM=the Snowy Monaro Regional Council
 +
    |ST=the Municipality of Strathfield
 +
    |SU=Sutherland Shire
 +
    |SV=the Snowy Valleys Council
 +
    |SY=the City of Sydney
 +
    |TA=the Tamworth Regional Council
 +
    |TE=Temora Shire
 +
    |TN=Tenterfield Shire
 +
    |TW=Tweed Shire
 +
    |UH=Upper Hunter Shire
 +
    |UL=Upper Lachlan Shire
 +
    |UR=Uralla Shire
 +
    |WA=Walgett Shire
 +
    |WB=the City of Willoughby
 +
    |WC=Wingecarribee Shire
 +
    |WD=Weddin Shire
 +
    |WE=Wentworth Shire
 +
    |WG=the City of Wollongong
 +
    |WH=Walcha Shire
 +
    |WL=Wollondilly Shire
 +
    |WN=Warren Shire
 +
    |WO=the Municipality of Woollahra
 +
    |WU=Warrumbungle Shire
 +
    |WV=the Waverley Council
 +
    |WW=the City of Wagga Wagga
 +
    |YS=the Yass Valley Council
 +
}}
 +
 
 +
|SA={{#switch:{{{2}}}
 +
    |#default=South Australia
 +
    |AD=the City of Adelaide
 +
    |AH=the Adelaide Hills Council
 +
    |AL=the Alexandrina Council
 +
    |AP=Aṉangu Pitjantjatjara Yankunytjatjara
 +
    |AP=the Adelaide Plains Council
 +
    |BA=the Barossa Council
 +
    |BB=the Berri Barmera Council
 +
    |BU=the City of Burnside
 +
    |BW=the Barunga West Council
 +
    |CA=the City of Campbelltown, South Australia
 +
    |CC=the Copper Coast Council
 +
    |CE=the District Council of Ceduna
 +
    |CG=the Clare and Gilbert Valleys Council
 +
    |CL=the District Council of Cleve
 +
    |CO=the Coorong District Council
 +
    |CP=the District Council of Coober Pedy
 +
    |CS=the City of Charles Sturt
 +
    |EL=the District Council of Elliston
 +
    |FH=the District Council of Franklin Harbour
 +
    |FR=the Flinders Ranges Council
 +
    |GA=the Town of Gawler
 +
    |GO=the Regional Council of Goyder
 +
    |GR=the District Council of Grant
 +
    |HB=the City of Holdfast Bay
 +
    |KB=the District Council of Kimba
 +
    |KE=the District Council of Karoonda East Murray
 +
    |KI=the Kangaroo Island Council
 +
    |KN=the Kingston District Council
 +
    |LE=the District Council of Lower Eyre Peninsula
 +
    |LI=the Light Regional Council
 +
    |LW=the District Council of Loxton Waikerie
 +
    |MA=the City of Marion
 +
    |MB=the Mount Barker District Council
 +
    |MG=the City of Mount Gambier
 +
    |MI=the City of Mitcham
 +
    |MM=the Mid Murray Council
 +
    |MR=the District Council of Mount Remarkable
 +
    |MT=the Maralinga Tjarutja Council
 +
    |MU=the Rural City of Murray Bridge
 +
    |NA=the Northern Areas Council
 +
    |NL=the Naracoorte Lucindale Council
 +
    |NP=the City of Norwood Payneham & St Peters
 +
    |OC=the District Council of Orroroo Carrieton
 +
    |ON=the City of Onkaparinga
 +
    |PA=the Port Augusta City Council
 +
    |PB=the District Council of Peterborough
 +
    |PE=the City of Port Adelaide Enfield
 +
    |PF=the City of Playford
 +
    |PL=the City of Port Lincoln
 +
    |PP=the Port Pirie Regional Council
 +
    |PR=the City of Prospect
 +
    |PS=the Pastoral Unincorporated Area
 +
    |RD=the Roxby Downs Council
 +
    |RI=the Unincorporated Area Riverland
 +
    |RO=the District Council of Robe
 +
    |RP=the Renmark Paringa Council
 +
    |SA=the City of Salisbury
 +
    |SB=the District Council of Streaky Bay
 +
    |SM=the Southern Mallee District Council
 +
    |TA=the Tatiara District Council
 +
    |TB=the District Council of Tumby Bay
 +
    |TT=the City of Tea Tree Gully
 +
    |UN=the City of Unley
 +
    |VH=the City of Victor Harbor
 +
    |WF=the Wakefield Regional Council
 +
    |WH=the City of Whyalla
 +
    |WR=the Wattle Range Council
 +
    |WT=the City of West Torrens
 +
    |WU=the Wudinna District Council
 +
    |WV=the Town of Walkerville
 +
    |WY=the Unincorporated Area Whyalla
 +
    |YA=the District Council of Yankalilla
 +
    |YP=the Yorke Peninsula Council
 +
}}
 +
 
 +
|TAS|Tas={{#switch:{{{2}}}
 +
    |#default=Tasmania
 +
    |BO=the Break O'Day Council
 +
    |BR=the Brighton Council, Tasmania
 +
    |BU=the City of Burnie
 +
    |CC=the Central Coast Council, Tasmania
 +
    |CH=the Central Highlands Council
 +
    |CI=the Circular Head Council
 +
    |CL=the City of Clarence
 +
    |DE=the City of Devonport
 +
    |DO=the Dorset Council, Tasmania
 +
    |DV=the Derwent Valley Council
 +
    |FL=the Flinders Council
 +
    |GL=the City of Glenorchy
 +
    |GS=the Glamorgan–Spring Bay Council
 +
    |GT=the George Town Council
 +
    |HO=the City of Hobart
 +
    |HV=the Huon Valley Council
 +
    |KB=the Kingborough Council
 +
    |KE=the Kentish Council
 +
    |KI=the King Island Council
 +
    |LC=the City of Launceston
 +
    |LT=the Latrobe Council
 +
    |MV=the Meander Valley Council
 +
    |NM=the Northern Midlands Council
 +
    |SM=the Southern Midlands Council
 +
    |SO=the Sorell Council
 +
    |TA=the Tasman Council
 +
    |WC=the West Coast Council
 +
    |WT=the West Tamar Council
 +
    |WW=the Waratah–Wynyard Council
 +
}}
 +
 
 +
|VIC|Vic={{#switch:{{{2}}}
 +
    |#default=Victoria
 +
    |AL=the Alpine Shire
 +
    |AR=the Rural City of Ararat
 +
    |BA=the City of Ballarat
 +
    |BB=the Shire of Baw Baw
 +
    |BC=the Bass Coast Shire
 +
    |BE=the Rural City of Benalla
 +
    |BO=the City of Boroondara
 +
    |BR=the City of Brimbank
 +
    |BS=the City of Bayside
 +
    |BU=the Shire of Buloke
 +
    |BY=the City of Banyule
 +
    |CA=the Shire of Campaspe
 +
    |CA=the Shire of Cardinia
 +
    |CG=the Shire of Central Goldfields
 +
    |CO=the Shire of Colac Otway
 +
    |CR=the Shire of Corangamite
 +
    |CS=the City of Casey
 +
    |DA=the City of Darebin
 +
    |DM=Deen Maar
 +
    |EG=the Shire of East Gippsland
 +
    |EI=Elizabeth Island
 +
    |FI=French Island
 +
    |FR=the City of Frankston
 +
    |GA=the Shire of Gannawarra
 +
    |GB=the City of Greater Bendigo
 +
    |GD=the City of Greater Dandenong
 +
    |GE=the City of Glen Eira
 +
    |GG=the City of Greater Geelong
 +
    |GI=Gabo Island
 +
    |GL=the Shire of Glenelg
 +
    |GP=the Golden Plains Shire
 +
    |GS=the City of Greater Shepparton
 +
    |HB=the City of Hobsons Bay
 +
    |HE=the Shire of Hepburn
 +
    |HI=the Shire of Hindmarsh
 +
    |HO=the Rural City of Horsham
 +
    |HU=the City of Hume
 +
    |IN=the Shire of Indigo
 +
    |KI=the City of Kingston
 +
    |KN=the City of Knox
 +
    |LA=the Latrobe City
 +
    |LO=the Shire of Loddon
 +
    |MA=the Shire of Mount Alexander
 +
    |MB=the City of Maribyrnong
 +
    |MC=the Shire of Mitchell
 +
    |MD=the City of Moreland
 +
    |ME=the City of Melbourne
 +
    |MF=the Shire of Mansfield
 +
    |MH=the City of Maroondah
 +
    |MI=the Shire of Moira
 +
    |ML=the Rural City of Mildura
 +
    |MN=the City of Manningham
 +
    |MO=the Shire of Moorabool
 +
    |MP=the Shire of Mornington Peninsula
 +
    |MR=the Shire of Macedon Ranges
 +
    |MS=the City of Monash
 +
    |MT=the City of Melton
 +
    |MU=the Shire of Murrindindi
 +
    |MV=the City of Moonee Valley
 +
    |MY=the Shire of Moyne
 +
    |NG=the Shire of Northern Grampians
 +
    |NI=the Shire of Nillumbik
 +
    |PP=the City of Port Phillip
 +
    |PY=the Shire of Pyrenees
 +
    |QC=the Borough of Queenscliffe
 +
    |SB=the Shire of Strathbogie
 +
    |SC=the Surf Coast Shire
 +
    |SG=the Shire of Southern Grampians
 +
    |SH=the Rural City of Swan Hill
 +
    |SI=Sandstone Island
 +
    |SL=the Shire of South Gippsland
 +
    |SN=the City of Stonnington
 +
    |TO=the Shire of Towong
 +
    |WE=the Shire of Wellington
 +
    |WG=the Rural City of Wangaratta
 +
    |WH=the City of Whitehorse
 +
    |WO=the City of Wodonga
 +
    |WR=the City of Warrnambool
 +
    |WS=the City of Whittlesea
 +
    |WW=the Shire of West Wimmera
 +
    |WY=the City of Wyndham
 +
    |YA=the City of Yarra
 +
    |YB=the Shire of Yarriambiack
 +
    |YR=the Shire of Yarra Ranges
 +
}}
 +
 
 
|QLD|Qld=Queensland
 
|QLD|Qld=Queensland
|SA=South Australia
 
|TAS|Tas=Tasmania
 
|VIC|Vic=Victoria
 
 
|WA=Western Australia
 
|WA=Western Australia
  

Revision as of 10:49, 1 August 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 those states where the LGAs are mapped on OpenStreetMap. Currently, these states are New South Wales, South Australia, Tasmania and Victoria. The LGAs of the Northern Territory or the states of Western Australia and Queensland have not been mapped on OpenStreetMap. 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