Difference between revisions of "Template:Infobox protected area of Australia"

From blackwiki
Jump to navigation Jump to search
imported>AussieLegend
(added see also link specific to state)
imported>AussieLegend
(infobox has been replaced/merged)
 
Line 1: Line 1:
{{infobox
+
#REDIRECT [[Template:Infobox Australian place]]
| bodyclass      = vcard
 
| bodystyle      = font-size: 85%; border-spacing: 3px; width: 300px;
 
| subheaderstyle = font-size: 100%;
 
| labelstyle    = padding: 0em 0em 0em 0.3em;
 
| datastyle      = padding: 0em 0.3em;
 
| above          = {{{name|}}}
 
| subheader1    = {{IUCN banner|{{{iucn_category|}}} }}
 
| image          = {{#if: {{{caption|}}}|{{#ifexist:media:{{{image|}}}
 
  |{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=270px|border=yes|alt={{{image_alt|{{{alt|}}}}}}}}
 
  |{{{image|}}}
 
  }}}}
 
| caption        = {{{caption|}}}
 
| data1          = {{#if: {{{latd|}}}{{{longd|}}}{{{lat|}}}{{{long|}}}|{{Location map|{{#if:{{{location_map|}}}|{{{location_map}}}|{{#if: {{{force_national_map|}}} | Australia | Australia {{ #switch: {{lc:{{{state|}}}}}
 
  |sa      = South Australia
 
  |vic      = Victoria
 
  |nsw      = New South Wales
 
  |qld      = Queensland
 
  |nt      = Northern Territory
 
  |wa      = Western Australia
 
  |tas      = Tasmania
 
  |act      = Australian Capital Territory
 
  |jbt      = Jervis Bay Territory
 
  |ni      = Norfolk Island
 
  |#default =
 
  }}}}}}
 
  |label    = {{{name}}}
 
  |relief  = {{{relief|}}}
 
  |lat      = {{#if:{{{latm|}}}| |{{{latd|}}} }}{{#if:{{{lat|}}}|{{{lat|}}} }}
 
  |long    = {{#if:{{{longm|}}}| |{{{longd|}}} }}{{#if:{{{long|}}}|{{{long|}}} }}
 
  |lat_deg  = {{{latd|}}}
 
  |lat_min  = {{{latm|}}}
 
  |lat_sec  = {{{lats|}}}
 
  |lat_dir  = S
 
  |lon_deg  = {{{longd|}}}
 
  |lon_min  = {{{longm|}}}
 
  |lon_sec  = {{{longs|}}}
 
  |lon_dir  = E
 
  |marksize = 6
 
  |position = {{{pushpin_label_position|}}}
 
  |float    = center
 
  |caption  =
 
  |border  = none
 
  |width    = {{#if: {{{force_national_map|}}}|270|{{ #switch: {{lc:{{{state|}}} }}
 
      |sa      = 230
 
      |qld      = 190
 
      |nt      = 190
 
      |wa      = 180
 
      |tas      = 210
 
      |act      = 180
 
      |270
 
      }} }}
 
  |alt      = {{{map_alt|}}}
 
  }}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption}}}</small>|}}
 
  }}
 
| data2          = {{#if: {{{image|}}}|{{#if: {{{locator_x|}}}{{{locator_y|}}}|{{Superimpose
 
  | base          = {{{image|}}}
 
  | base_width    = 288px
 
  | base_caption  = {{{caption|}}}
 
  | float        = Green_pog.svg
 
  | float_width  = 10px
 
  | float_caption = {{{name|}}}
 
  | x            = {{{locator_x|}}}
 
  | y            = {{{locator_y|}}}
 
}} }} }}
 
| label3          = {{#if: {{{state|}}}|{{#switch:{{lc:{{{state}}}}}|act|nt|jbt=Territory|State}}}}
 
| data3          = {{ #switch: {{lc:{{{state|}}} }}
 
  |sa      = [[South Australia]]
 
  |vic      = [[Victoria (Australia)|Victoria]]
 
  |nsw      = [[New South Wales]]
 
  |qld      = [[Queensland]]
 
  |nt      = [[Northern Territory]]
 
  |wa      = [[Western Australia]]
 
  |tas      = [[Tasmania]]
 
  |act      = [[Australian Capital Territory]]
 
  |jbt      = [[Jervis Bay Territory]]
 
  |{{auto link|{{{state|}}}}}
 
  }}
 
| label4          = <span style="white-space: nowrap">Nearest town or city</span>
 
| data4          = {{auto link|{{{nearest_town_or_city|}}}}}
 
| label5          = [[Geographic coordinate system|Coordinates]]
 
| data5          = {{#if:{{both|{{{latitude|{{{latd|}}}}}}|{{{longitude|{{{longd|}}}}}}}}|
 
{{Geobox coor|{{{latitude|{{{latd|}}}}}}|{{{latm|}}}|{{{lats|}}}| S |{{{longitude|{{{longd|}}}}}}|{{{longm|}}}|{{{longs|}}}| E |type:{{#if: {{{coord_type|}}}|{{{coord_type|}}}|landmark}}_region:{{ #switch: {{lc:{{{state|}}} }}
 
  |sa      = AU-SA
 
  |vic      = AU-VIC
 
  |nsw      = AU-NSW
 
  |qld      = AU-QLD
 
  |nt      = AU-NT
 
  |wa      = AU-WA
 
  |tas      = AU-TAS
 
  |act      = AU-ACT
 
  |jbt      = AU-JBT
 
  |ni      = NF
 
  |#default = AU
 
  }}{{#if:{{{map_scale|}}}|_scale:{{{map_scale|}}}|}}|title={{#ifeq:{{{coordinates_display|}}}|inline||1}}}}|{{#if:{{{coordinates|}}}|{{{coordinates}}} }} }}
 
| label6          = Area
 
| data6          = {{#if:{{{area|}}}|{{#iferror:{{#expr:{{{area}}}}}|{{{area|}}}|{{formatnum:{{{area}}}}}&nbsp;km<sup>2</sup> ({{rnd|{{{area}}}/2.589988110336|1}}&nbsp;sq&nbsp;mi)}}{{{area_footnotes|}}} }}
 
| label7          = Established
 
| data7          = {{{established|}}}{{#if:{{{established|}}}|{{{established_footnotes|}}}|}}
 
| label8          = Visitation
 
| data8          = {{formatnum:{{{visitation_num|}}}}}{{#if: {{{visitation_year|}}}|&nbsp;(in {{{visitation_year|}}}){{#if: {{{visitation_footnotes|}}}|{{{visitation_footnotes|}}}}}}}
 
| label9          = <span style="white-space: nowrap">Managing authorities</span>
 
| data9          = {{auto link|{{{managing_authorities|}}}}}
 
| label10        = {{#if:{{{url|}}}|Website|Official site}}
 
| data10          = {{#if:{{{url|}}}|{{#invoke:URL|url|1={{{url|}}}|2={{{name|}}}}}|{{{official_site|}}} }}
 
| label11        = Footnotes
 
| data11          = {{{footnotes|}}}
 
| data12          = {{{embedded|}}}
 
| label13        = See also
 
| data13          = {{#if:{{both|{{{iucn_category|}}}|{{{state|}}}}}|{{ #switch: {{lc:{{{state|}}} }}
 
  |sa      = [[Protected areas of South Australia]]
 
  |vic      = [[Protected areas of Victoria]]
 
  |nsw      = [[Protected areas of New South Wales|Protected areas of<br />New South Wales]]
 
  |qld      = [[Protected areas of Queensland]]
 
  |nt      = [[Protected areas of the Northern Territory]]
 
  |wa      = [[List of protected areas of Western Australia|List of protected areas of<br />Western Australia]]
 
  |tas      = [[Protected areas of Tasmania]]
 
  |act      = [[List of Australian Capital Territory protected areas|Australian Capital Territory<br />protected areas]]
 
  }} }}
 
}}<!-- Start tracking -->{{#ifeq:{{{coordinates|♠}}}{{{lat|♠}}}{{{long|♠}}}{{{locator_x|♠}}}{{{locator_y|♠}}}{{{official_site|♠}}}{{{1|♠}}}|♠♠♠♠♠♠♠||[[Category:Australian protected area articles using deprecated parameters|{{#ifeq:{{{coordinates|♠}}}|♠||C}}{{#ifeq:{{{lat|♠}}}{{{long|♠}}}|♠♠||L}}{{#ifeq:{{{locator_x|♠}}}{{{locator_y|♠}}}|♠♠||M}}{{#ifeq:{{{official_site|♠}}}|♠||O}}{{#ifeq:{{{1|♠}}}|♠||1}}]]}}<!-- End tracking --><noinclude>{{Documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
 

Latest revision as of 15:58, 8 January 2015