1,331
edits
(Removed stupid imperial measurements and added example/blank template) |
(Added ward to unknown parameter tracking) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
| above = {{#if:{{{name|}}}|<span style="font-size: 110%;" class="fn org locality">{{{name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}</span><br /><span style="font-weight:normal; font-size:95%" class="region">{{#if: {{{city|}}}|{{auto link|{{{city|}}}}}, }}{{ #switch: {{lc:{{{state|error}}} }} | | above = {{#if:{{{name|}}}|<span style="font-size: 110%;" class="fn org locality">{{{name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}</span><br /><span style="font-weight:normal; font-size:95%" class="region">{{#if: {{{city|}}}|{{auto link|{{{city|}}}}}, }}{{ #switch: {{lc:{{{state|error}}} }} | ||
|sa = [[South Australia]] | |sa = [[South Australia]] | ||
|vic = [[Victoria (Australia)|Victoria]] | |vic = [[wikipedia:Victoria (Australia)|Victoria]] | ||
|nsw = [[New South Wales]] | |nsw = [[New South Wales]] | ||
|qld = [[Queensland]] | |qld = [[Queensland]] | ||
Line 53: | Line 53: | ||
| label3 = <span style="white-space: nowrap">Nearest town or city</span> | | label3 = <span style="white-space: nowrap">Nearest town or city</span> | ||
| data3 = {{#ifeq:{{{type|}}}|protected|{{auto link|{{{nearest_town_or_city|}}}}} }} | | data3 = {{#ifeq:{{{type|}}}|protected|{{auto link|{{{nearest_town_or_city|}}}}} }} | ||
| label4 = [[wikipedia:Geographic coordinate system|Coordinates]] | <!-- | label4 = [[wikipedia:Geographic coordinate system|Coordinates]] unused --> | ||
| data4 = {{#if:{{both|{{{latitude|{{{latd|}}}}}}|{{{longitude|{{{longd|}}}}}}}}| | <!-- | data4 = {{#if:{{both|{{{latitude|{{{latd|}}}}}}|{{{longitude|{{{longd|}}}}}}}}| | ||
{{Geobox coor|{{#expr:abs({{{latitude|{{{latd|}}}}}})}}|{{{latm|}}}|{{{lats|}}}|S|{{{longitude|{{{longd|}}}}}}|{{{longm|}}}|{{{longs|}}}|E|type:{{#if: {{{coord_type|}}}|{{{coord_type|}}}|{{#ifeq:{{{type|}}}|protected|landmark|city}}}}_region:{{ #switch: {{lc:{{{state|}}} }} | {{Geobox coor|{{#expr:abs({{{latitude|{{{latd|}}}}}})}}|{{{latm|}}}|{{{lats|}}}|S|{{{longitude|{{{longd|}}}}}}|{{{longm|}}}|{{{longs|}}}|E|type:{{#if: {{{coord_type|}}}|{{{coord_type|}}}|{{#ifeq:{{{type|}}}|protected|landmark|city}}}}_region:{{ #switch: {{lc:{{{state|}}} }} | ||
|sa = AU-SA | |sa = AU-SA | ||
Line 67: | Line 67: | ||
|ni = NF | |ni = NF | ||
|#default = AU | |#default = AU | ||
}}{{#if:{{{map_scale|}}}|_scale:{{{map_scale|}}}|}}|title={{#ifeq:{{{coordinates_display|}}}|inline||1}}}}|{{#if:{{{coordinates|}}}|{{{coordinates}}} }} }} | }}{{#if:{{{map_scale|}}}|_scale:{{{map_scale|}}}|}}|title={{#ifeq:{{{coordinates_display|}}}|inline||1}}}}|{{#if:{{{coordinates|}}}|{{{coordinates}}} }} }} unused --> | ||
<!-- | label5 = Maps --> | <!-- | label5 = Maps --> | ||
<!-- | data5 = {{#if: {{{kml|}}}| --> | <!-- | data5 = {{#if: {{{kml|}}}| --> | ||
Line 87: | Line 87: | ||
}} | }} | ||
}} | }} | ||
| label7 = • Density | <!-- | label7 = • Density TEMPORARY DISABLED ---> | ||
| data7 = {{#if:{{{density|}}} | <!-- | data7 = {{#if:{{{density|}}} | ||
|{{formatnum:{{{density}}}}}/km<sup>2</sup> {{{density_footnotes|}}} | |{{formatnum:{{{density}}}}}/km<sup>2</sup> {{{density_footnotes|}}} | ||
|{{#if:{{{pop|}}}|{{#if:{{{area|}}}|{{Pop density|{{formatnum:{{{pop|}}}|R}}| {{{density_footnotes|}}}}}}}}} | |{{#if:{{{pop|}}}|{{#if:{{{area|}}}|{{Pop density|{{formatnum:{{{pop|}}}|R}}| {{{density_footnotes|}}}}}}}}} | ||
}} | }} TEMPORARY DISABLED ---> | ||
| label8 = Established | | label8 = Established | ||
| data8 = {{{established|{{{est|}}}}}}{{#if:{{{established|{{{est|}}}}}}|{{{established_footnotes|}}}|}} | | data8 = {{{established|{{{est|}}}}}}{{#if:{{{established|{{{est|}}}}}}|{{{established_footnotes|}}}|}} | ||
| label9 = Abolished | | label9 = Abolished | ||
| data9 = {{{abolished|}}} | | data9 = {{{abolished|}}} | ||
| label10 = [[Gazetteer of Australia|Gazetted]] | | label10 = [[wikipedia:Gazetteer of Australia|Gazetted]] | ||
| data10 = {{{gazetted|}}} | | data10 = {{{gazetted|}}} | ||
| label11 = [[Postcodes in Australia|Postcode(s)]] | | label11 = [[wikipedia:Postcodes in Australia|Postcode(s)]] | ||
| data11 = {{{postcode|}}} | | data11 = {{{postcode|}}} | ||
| label12 = Elevation | | label12 = Elevation | ||
Line 138: | Line 138: | ||
| label25 = {{#ifeq:{{{type|}}}|cadastral|[[wikipedia:Lands administrative divisions of New South Wales|Division]]}} | | label25 = {{#ifeq:{{{type|}}}|cadastral|[[wikipedia:Lands administrative divisions of New South Wales|Division]]}} | ||
| data25 = {{#ifeq:{{{type|}}}|cadastral|{{{division|}}} }} | | data25 = {{#ifeq:{{{type|}}}|cadastral|{{{division|}}} }} | ||
| label26 = [[Electorates of Boroondara|{{#switch:{{lc:{{{state}}}}}|act|nt|jbt= Territory|State}} electorate(s)]] | | label26 = [[Wards of Boroondara|LGA ward]] | ||
| | | data26 = {{{ward|}}} | ||
| | | label27 = [[Electorates of Boroondara|{{#switch:{{lc:{{{state}}}}}|act|nt|jbt= Territory|State}} electorate(s)]] | ||
| | | data27 = {{#if:{{{stategov|}}}|{{#if: {{{stategov2|}}}|<ul style="margin-top: 0px; margin-bottom: 0px;"><li>}} {{{stategov}}}{{#if: {{{stategov2|}}}|<li> {{{stategov2}}}}}{{#if: {{{stategov3|}}}|<li> {{{stategov3}}}}}{{#if: {{{stategov4|}}}|<li> {{{stategov4}}}}}{{#if: {{{stategov5|}}}|<li> {{{stategov5}}}}}{{#if: {{{stategov2|}}}|</ul> }}}} | ||
| | | label28 = [[wikipedia:Divisions of the Australian House of Representatives|Federal Division(s)]] | ||
| | | data28 = {{#if:{{{fedgov|}}}|{{#if: {{{fedgov2|}}}|<ul style="margin-top: 0px; margin-bottom: 0px;"><li>}} {{{fedgov}}}{{#if: {{{fedgov2|}}}|<li> {{{fedgov2}}}}}{{#if: {{{fedgov3|}}}|<li> {{{fedgov3}}}}}{{#if: {{{fedgov4|}}}|<li> {{{fedgov4}}}}}{{#if: {{{fedgov2|}}}|</ul> }}}} | ||
| | | data29 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logosize|}}}|sizedefault=frameless|upright={{{logo_upright|0.8}}}|alt={{{logo_alt|{{{alt|}}}}}}}} | ||
| | | label30 = Visitation | ||
| | | data30 = {{#ifeq:{{{type|}}}|protected|{{formatnum:{{{visitation_num|}}}}}{{#if: {{{visitation_year|}}}| (in {{{visitation_year|}}}){{#if: {{{visitation_footnotes|}}}|{{{visitation_footnotes|}}}}}}} }} | ||
| | | label31 = <span style="white-space: nowrap">Managing authorities</span> | ||
| | | data31 = {{#ifeq:{{{type|}}}|protected|{{auto link|{{{managing_authorities|}}}}} }} | ||
<!-- | | | label32 = Website | ||
| | | data32 = {{#if:{{{url|}}}|{{#invoke:URL|url|1={{{url|}}}|2={{{name|}}}}} }} | ||
<!-- | data33 = ---> | |||
| data34 = {{#if:{{{near|}}}{{{near-nw|}}}{{{near-n|}}}{{{near-ne|}}}{{{near-w|}}}{{{near-e|}}}{{{near-sw|}}}{{{near-se|}}}{{{near-s|}}}|<table cellpadding=4 cellspacing=3 style="width:100%; border: 1px #ddd solid;"> | |||
<tr class=mergedrow><td colspan=3 style="background-color:#f0f0ff;padding: 2px 0px; text-align:center;">'''{{ #switch: {{lc:{{{type|}}}}} | <tr class=mergedrow><td colspan=3 style="background-color:#f0f0ff;padding: 2px 0px; text-align:center;">'''{{ #switch: {{lc:{{{type|}}}}} | ||
| cadastral = [[wikipedia:Lands administrative divisions of Australia|Lands administrative divisions]] | | cadastral = [[wikipedia:Lands administrative divisions of Australia|Lands administrative divisions]] | ||
| lga = [[wikipedia:Local government in Australia|LGAs]] | | lga = [[wikipedia:Local government in Australia|LGAs]] | ||
| suburb = {{#if:{{{city|}}}|{{#ifexist:List of {{{city}}} suburbs| [[List of {{{city}}} suburbs|Suburbs]] | {{ #ifexist:Category:Suburbs | [[:Category:Suburbs|Suburbs]] | Suburbs }}}}|Suburbs}} | | suburb = {{#if:{{{city|}}}|{{#ifexist:List of {{{city}}} suburbs| [[List of {{{city}}} suburbs|Suburbs]] | {{ #ifexist:Category:Suburbs | [[:Category:Suburbs|Suburbs]] | Suburbs }}}}|Suburbs}} | ||
| Localities}} around {{{name|}}}:''' | | Localities}} around {{{name|}}}:'''</tr> | ||
<tr class=mergedrow> | <tr class=mergedrow> | ||
<td style="text-align:center; padding: 3px 0px; width:33%;">{{{near-nw|}}}</td> | <td style="text-align:center; padding: 3px 0px; width:33%;">{{{near-nw|}}}</td> | ||
Line 168: | Line 170: | ||
<td style="text-align:center; padding: 3px 0px; width:34%;">{{{near-s|}}}</td> | <td style="text-align:center; padding: 3px 0px; width:34%;">{{{near-s|}}}</td> | ||
<td style="text-align:center; padding: 3px 0px; width:33%;">{{{near-se|}}}</td> | <td style="text-align:center; padding: 3px 0px; width:33%;">{{{near-se|}}}</td> | ||
</tr | </tr></table> }} | ||
| | | label35 = Footnotes | ||
| | | data35 = {{{footnotes|}}} | ||
| | | label36 = See also | ||
| | | data36 = {{#ifeq:{{{type|}}}|protected|{{#if:{{both|{{{iucn_category|}}}|{{{state|}}}}}|{{ #switch: {{lc:{{{state|}}} }} | ||
|sa = [[wikipedia:Protected areas of South Australia]] | |sa = [[wikipedia:Protected areas of South Australia]] | ||
|vic = [[wikipedia:Protected areas of Victoria]] | |vic = [[wikipedia:Protected areas of Victoria]] | ||
Line 182: | Line 184: | ||
|act = [[wikipedia:List of Australian Capital Territory protected areas|Australian Capital Territory<br />protected areas]] | |act = [[wikipedia:List of Australian Capital Territory protected areas|Australian Capital Territory<br />protected areas]] | ||
}} }} }} | }} }} }} | ||
| | | data37 = {{ #switch: {{lc:{{{type|error}}} }} | ||
|city = | |city = | ||
|town = | |town = | ||
Line 218: | Line 220: | ||
-->{{#if:{{{latd|}}}|{{#if:{{{coordinates|}}}|{{main other|[[Category:Place articles using missing parameters|E]]|}}}}|}}<!-- | -->{{#if:{{{latd|}}}|{{#if:{{{coordinates|}}}|{{main other|[[Category:Place articles using missing parameters|E]]|}}}}|}}<!-- | ||
-->{{main other|{{#ifeq:{{{imagesize|♠}}}{{{image2size|♠}}}{{{imagesize2|♠}}}{{{image_alt2|♠}}}{{{logosize|♠}}}{{{official_site|♠}}}|♠♠♠♠♠♠||[[Category:Place articles using missing parameters|{{#ifeq:{{{imagesize|♠}}}{{{image2size|♠}}}{{{imagesize2|♠}}}{{{image_alt2|♠}}}|♠♠♠♠||I}}{{#ifeq:{{{logosize|♠}}}|♠||L}}{{#ifeq:{{{official_site|♠}}}|♠||O}}]]}}}}<!-- | -->{{main other|{{#ifeq:{{{imagesize|♠}}}{{{image2size|♠}}}{{{imagesize2|♠}}}{{{image_alt2|♠}}}{{{logosize|♠}}}{{{official_site|♠}}}|♠♠♠♠♠♠||[[Category:Place articles using missing parameters|{{#ifeq:{{{imagesize|♠}}}{{{image2size|♠}}}{{{imagesize2|♠}}}{{{image_alt2|♠}}}|♠♠♠♠||I}}{{#ifeq:{{{logosize|♠}}}|♠||L}}{{#ifeq:{{{official_site|♠}}}|♠||O}}]]}}}}<!-- | ||
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox place with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Australian place]] with unknown parameter "_VALUE_"|ignoreblank=y| _noautocat | abolished | alternative_location_map | area | area_footnotes | caption | caption2 | city | coord_type | coordinates | coordinates_display | county | density | density_footnotes | dir1 | dir2 | dir3 | dir4 | dir5 | dist1 | dist2 | dist3 | dist4 | dist5 | division | elevation | elevation_footnotes | est | established | established_footnotes | fedgov | fedgov2 | fedgov3 | fedgov4 | footnotes | force_national_map | former_hundred | gazetted | hundred | image | image_alt | image_upright | image2 | image2_alt | image2_upright | iucn_category | latd | latm | lats | lga | lga2 | lga3 | lga4 | lga5 | location1 | location2 | location3 | location4 | location5 | logo | logo_upright | longd | longm | longs | managing_authorities | map_alt | map_scale | maxtemp | maxtemp_footnotes | mayor | mayortitle | mintemp | mintemp_footnotes | name | near | near-e | nearest_town_or_city | near-n | near-ne | near-nw | near-s | near-se | near-sw | near-w | parish | pop | pop_footnotes | pop_year | pop2 | pop2_footnotes | pop2_year | poprank | postcode | pushpin_label_position | pushpin_map_caption | rainfall | rainfall_footnotes | region | relief | seat | state | stategov | stategov2 | stategov3 | stategov4 | stategov5 | timezone | timezone-dst | type | url | use_lga_map | utc | utc-dst | visitation_footnotes | visitation_num | visitation_year }}<!-- End tracking | -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox place with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Australian place]] with unknown parameter "_VALUE_"|ignoreblank=y| _noautocat | abolished | alternative_location_map | area | area_footnotes | caption | caption2 | city | coord_type | coordinates | coordinates_display | county | density | density_footnotes | dir1 | dir2 | dir3 | dir4 | dir5 | dist1 | dist2 | dist3 | dist4 | dist5 | division | elevation | elevation_footnotes | est | established | established_footnotes | fedgov | fedgov2 | fedgov3 | fedgov4 | footnotes | force_national_map | former_hundred | gazetted | hundred | image | image_alt | image_upright | image2 | image2_alt | image2_upright | iucn_category | latd | latm | lats | lga | lga2 | lga3 | lga4 | lga5 | location1 | location2 | location3 | location4 | location5 | logo | logo_upright | longd | longm | longs | managing_authorities | map_alt | map_scale | maxtemp | maxtemp_footnotes | mayor | mayortitle | mintemp | mintemp_footnotes | name | near | near-e | nearest_town_or_city | near-n | near-ne | near-nw | near-s | near-se | near-sw | near-w | parish | pop | pop_footnotes | pop_year | pop2 | pop2_footnotes | pop2_year | poprank | postcode | pushpin_label_position | pushpin_map_caption | rainfall | rainfall_footnotes | region | relief | seat | state | stategov | stategov2 | stategov3 | stategov4 | stategov5 | timezone | timezone-dst | type | url | use_lga_map | utc | utc-dst | visitation_footnotes | visitation_num | visitation_year | ward}}<!-- End tracking | ||
--><noinclude> | --><noinclude> | ||
Can be used for places at any level. There may be more specific templates for some types of places, e.g. [[Template:Infobox council]]. | Can be used for places at any level. There may be more specific templates for some types of places, e.g. [[Template:Infobox council]]. | ||
Line 250: | Line 252: | ||
| location1 = | | location1 = | ||
| lga = | | lga = | ||
| ward = | |||
| stategov = | | stategov = | ||
| fedgov = | | fedgov = | ||
Line 646: | Line 649: | ||
| cadastral | | cadastral | ||
| [[wikipedia:Lands administrative divisions of New South Wales]] | | [[wikipedia:Lands administrative divisions of New South Wales]] | ||
| plain text, link | |||
|- | |||
| scope="row" | ward | |||
| local government ward | |||
| city, suburb, town | |||
| [[Wards of Boroondara]] | |||
| plain text, link | | plain text, link | ||
|- | |- |