Changes
Jump to navigation
Jump to search
Template:Infobox protected area (view source)
Revision as of 00:42, 29 November 2018
, 00:42, 29 November 2018Removing transclusion of the Geobox deletion discussion as the message is showing up everywhere now that the discussion is closed
{{infobox
|bodyclass = vcard
|subheaderstyle = font-size: 100%;
|child = {{{child|}}}
|aboveclass = fn org
|above = <includeonly>{{{name}}}</includeonly>
|subheader1 = {{{alt_name|}}}
|subheader2 = {{IUCN banner|{{{iucn_category|}}}|{{{iucn_ref|}}}}}
|image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{{photo_width|}}}|maxsize=300px|sizedefault=284px|alt={{{photo_alt|}}}}}
|caption1 = {{{photo_caption|}}}
|image2 = {{#if:{{{map|}}} | {{location map|{{{map|}}}
| border = infobox | float = center
| width = {{{map_size|{{{mapsize|{{{map_width|}}}}}}}}}
| default_width = 284
| max_width = 300
| relief = {{{relief|}}}
| label = {{ifempty|{{{label|}}}|{{{name|}}} }}
| position = {{ifempty|{{{label_position|}}}|none}} <!-- change default to none -->
| caption = {{{map_caption|}}}
| alt = {{ifempty|{{{map_alt|}}}|Map showing the location of {{{name|}}} }}
| mark = {{{mark|}}}
| marksize = {{{marker_size|}}}
| coordinates = {{{coordinates|{{{coords|}}}}}} }}
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{{map_size|{{{mapsize|{{{map_width|}}}}}}}}}|maxsize=300px|sizedefault=284px|alt={{{map_alt|}}}}}
}}
| caption2 = {{#if:{{{map|}}} || {{{map_caption|}}} }}
|rowclass1 = locality
|label1 = Location
|data1 = {{{location|}}}
|rowclass2 = note
|label2 = {{#if:{{{nearest_city|}}}|Nearest city
| {{#if:{{{nearest_town|}}}|Nearest town }}}}
|data2 = {{ifempty|{{{nearest_city|}}}|{{{nearest_town|}}}}}
|label3 = Coordinates
|data3 = {{#if:{{{coordinates|{{{coords|}}}}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|{{{coords|}}}}}}|type:landmark|<!--
-->{{#if:{{{area_km2|}}}{{{area_sqmi|}}}{{{area_acre|}}}{{{area_ha|}}}<!--
-->{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}|<!---
-->dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|<!--
-->width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|<!--
-->area_km2={{{area_km2|}}}|area_mi2={{{area_sqmi|}}}|<!--
-->area_ha={{{area_ha|}}}|area_acre={{{area_acre|}}} }} }}<!--
-->}}{{{coords_ref|}}}|}}
|label4 = Length
|data4 = {{#if:{{{length|}}}|{{{length}}}|{{#if:{{{length_km|}}}{{{length_mi|}}}|<!--
-->{{convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}} }} }}
|label5 = Width
|data5 = {{#if:{{{width|}}}|{{{width}}}|{{#if:{{{width_km|}}}{{{width_mi|}}}|<!--
-->{{convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}} }} }}
|label6 = Area
|data6 = {{#switch: 1
| {{#if:{{{area_km2|}}}{{{area_sqmi|}}}|1|0}} = {{convinfobox|{{{area_km2|}}}|km2|{{{area_sqmi|}}}|sqmi}}{{{area_ref|}}}
| {{#expr: {{formatnum:{{{area_acre|}}}|R}} > 988}} = {{convinfobox|{{{area_acre}}}|acres||km2}}{{{area_ref|}}}
| {{#expr: {{formatnum:{{{area_ha|}}}|R}} > 1036}} = {{convinfobox|{{{area_ha}}}|ha||sqmi}}{{{area_ref|}}}
| {{#if:{{{area_ha|}}}{{{area_acre|}}}|1|0}} = {{convinfobox|{{{area_ha|}}}|ha|{{{area_acre|}}}|acre}}{{{area_ref|}}}
| {{#if:{{{area|}}}|1|0}} = {{{area|}}}{{{area_ref|}}} }}
|label7 = {{#if:{{{elevation_avg|}}}|Average elevation|Elevation}}
|data7 = {{#if:{{{elevation_avg|}}}|{{{elevation_avg}}}|{{{elevation|}}}}}
|label8 = Max. elevation
|data8 = {{{elevation_max|}}}
|label9 = Min. elevation
|data9 = {{{elevation_min|}}}
|label10 = Dimensions
|data10 = {{{dimensions|}}}
|label11 = Designation
|data11 = {{{designation|}}}
|rowclass12 = note
|label12 = {{#if:{{{authorized|}}}|Authorized
| {{#if:{{{created|}}}|Created
| {{#if:{{{established|}}}|Established
| {{#if:{{{designated|}}}|Designated }}}}}}}}
|data12 = {{ifempty|{{{authorized|}}}|{{{created|}}}|{{{established|}}}|{{{designated|}}} }}
|label13 = Named for
|data13 = {{{named_for|}}}
|label14 = Visitors
|data14 = {{#if:{{{visitation_num|}}}|{{{visitation_num|}}}<!--
-->{{#if:{{{visitation_year|}}}|{{sp}}(in {{{visitation_year|}}}) }}<!--
-->{{#if:{{{visitation_ref|}}}|{{{visitation_ref|}}}}} }}
|label15 = {{#if:{{{governing_body|}}}|Governing body
| {{#if:{{{administrator|}}}|Administrator
| {{#if:{{{operator|}}}|Operator
| {{#if:{{{owner|}}}|Owner }}}}}}}}
|data15 = {{ifempty|{{{governing_body|}}}|{{{administrator|}}}|{{{operator|}}}|{{{owner|}}} }}
|label16 = World Heritage site
|data16 = {{{world_heritage_site|}}}
|label17 = {{#if:{{{website|}}}|Website}}
|data17 = {{#if:{{{website|}}}
| {{{website|}}}
| {{#if:{{{url|}}}
| {{#ifexpr:{{#invoke:string|find|{{{url}}}|^https?:[^ ]*$|plain=false}} | {{URL|1={{{url|}}}}} | {{{url}}} }}
}}
}}
|header18 = {{ifempty|{{{embedded1|}}}|{{{embedded|}}} }}
|header19 = {{{embedded2|}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox protected area with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox protected area]] with unknown parameter "_VALUE_"|ignoreblank=y| administrator | alt_name | area | area_acre | area_ha | area_km2 | area_ref | area_sqmi | authorized | child | coordinates | coords | coords_ref | created | designated | designation | dimensions | elevation | elevation_avg | elevation_max | elevation_min | embedded | embedded1 | embedded2 | established | governing_body | image_map | iucn_category | iucn_ref | label | label_position | length | length_km | length_mi | location | map | map_alt | map_caption | map_image | map_size | map_width | mapsize | mark | marker_size | name | named_for | nearest_city | nearest_town | operator | owner | photo | photo_alt | photo_caption | photo_width | relief | url | visitation_num | visitation_ref | visitation_year | website | width | width_km | width_mi | world_heritage_site
}}<noinclude>
{{documentation}}
<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS -->
</noinclude>
|bodyclass = vcard
|subheaderstyle = font-size: 100%;
|child = {{{child|}}}
|aboveclass = fn org
|above = <includeonly>{{{name}}}</includeonly>
|subheader1 = {{{alt_name|}}}
|subheader2 = {{IUCN banner|{{{iucn_category|}}}|{{{iucn_ref|}}}}}
|image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{{photo_width|}}}|maxsize=300px|sizedefault=284px|alt={{{photo_alt|}}}}}
|caption1 = {{{photo_caption|}}}
|image2 = {{#if:{{{map|}}} | {{location map|{{{map|}}}
| border = infobox | float = center
| width = {{{map_size|{{{mapsize|{{{map_width|}}}}}}}}}
| default_width = 284
| max_width = 300
| relief = {{{relief|}}}
| label = {{ifempty|{{{label|}}}|{{{name|}}} }}
| position = {{ifempty|{{{label_position|}}}|none}} <!-- change default to none -->
| caption = {{{map_caption|}}}
| alt = {{ifempty|{{{map_alt|}}}|Map showing the location of {{{name|}}} }}
| mark = {{{mark|}}}
| marksize = {{{marker_size|}}}
| coordinates = {{{coordinates|{{{coords|}}}}}} }}
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{{map_size|{{{mapsize|{{{map_width|}}}}}}}}}|maxsize=300px|sizedefault=284px|alt={{{map_alt|}}}}}
}}
| caption2 = {{#if:{{{map|}}} || {{{map_caption|}}} }}
|rowclass1 = locality
|label1 = Location
|data1 = {{{location|}}}
|rowclass2 = note
|label2 = {{#if:{{{nearest_city|}}}|Nearest city
| {{#if:{{{nearest_town|}}}|Nearest town }}}}
|data2 = {{ifempty|{{{nearest_city|}}}|{{{nearest_town|}}}}}
|label3 = Coordinates
|data3 = {{#if:{{{coordinates|{{{coords|}}}}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|{{{coords|}}}}}}|type:landmark|<!--
-->{{#if:{{{area_km2|}}}{{{area_sqmi|}}}{{{area_acre|}}}{{{area_ha|}}}<!--
-->{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}|<!---
-->dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|<!--
-->width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|<!--
-->area_km2={{{area_km2|}}}|area_mi2={{{area_sqmi|}}}|<!--
-->area_ha={{{area_ha|}}}|area_acre={{{area_acre|}}} }} }}<!--
-->}}{{{coords_ref|}}}|}}
|label4 = Length
|data4 = {{#if:{{{length|}}}|{{{length}}}|{{#if:{{{length_km|}}}{{{length_mi|}}}|<!--
-->{{convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}} }} }}
|label5 = Width
|data5 = {{#if:{{{width|}}}|{{{width}}}|{{#if:{{{width_km|}}}{{{width_mi|}}}|<!--
-->{{convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}} }} }}
|label6 = Area
|data6 = {{#switch: 1
| {{#if:{{{area_km2|}}}{{{area_sqmi|}}}|1|0}} = {{convinfobox|{{{area_km2|}}}|km2|{{{area_sqmi|}}}|sqmi}}{{{area_ref|}}}
| {{#expr: {{formatnum:{{{area_acre|}}}|R}} > 988}} = {{convinfobox|{{{area_acre}}}|acres||km2}}{{{area_ref|}}}
| {{#expr: {{formatnum:{{{area_ha|}}}|R}} > 1036}} = {{convinfobox|{{{area_ha}}}|ha||sqmi}}{{{area_ref|}}}
| {{#if:{{{area_ha|}}}{{{area_acre|}}}|1|0}} = {{convinfobox|{{{area_ha|}}}|ha|{{{area_acre|}}}|acre}}{{{area_ref|}}}
| {{#if:{{{area|}}}|1|0}} = {{{area|}}}{{{area_ref|}}} }}
|label7 = {{#if:{{{elevation_avg|}}}|Average elevation|Elevation}}
|data7 = {{#if:{{{elevation_avg|}}}|{{{elevation_avg}}}|{{{elevation|}}}}}
|label8 = Max. elevation
|data8 = {{{elevation_max|}}}
|label9 = Min. elevation
|data9 = {{{elevation_min|}}}
|label10 = Dimensions
|data10 = {{{dimensions|}}}
|label11 = Designation
|data11 = {{{designation|}}}
|rowclass12 = note
|label12 = {{#if:{{{authorized|}}}|Authorized
| {{#if:{{{created|}}}|Created
| {{#if:{{{established|}}}|Established
| {{#if:{{{designated|}}}|Designated }}}}}}}}
|data12 = {{ifempty|{{{authorized|}}}|{{{created|}}}|{{{established|}}}|{{{designated|}}} }}
|label13 = Named for
|data13 = {{{named_for|}}}
|label14 = Visitors
|data14 = {{#if:{{{visitation_num|}}}|{{{visitation_num|}}}<!--
-->{{#if:{{{visitation_year|}}}|{{sp}}(in {{{visitation_year|}}}) }}<!--
-->{{#if:{{{visitation_ref|}}}|{{{visitation_ref|}}}}} }}
|label15 = {{#if:{{{governing_body|}}}|Governing body
| {{#if:{{{administrator|}}}|Administrator
| {{#if:{{{operator|}}}|Operator
| {{#if:{{{owner|}}}|Owner }}}}}}}}
|data15 = {{ifempty|{{{governing_body|}}}|{{{administrator|}}}|{{{operator|}}}|{{{owner|}}} }}
|label16 = World Heritage site
|data16 = {{{world_heritage_site|}}}
|label17 = {{#if:{{{website|}}}|Website}}
|data17 = {{#if:{{{website|}}}
| {{{website|}}}
| {{#if:{{{url|}}}
| {{#ifexpr:{{#invoke:string|find|{{{url}}}|^https?:[^ ]*$|plain=false}} | {{URL|1={{{url|}}}}} | {{{url}}} }}
}}
}}
|header18 = {{ifempty|{{{embedded1|}}}|{{{embedded|}}} }}
|header19 = {{{embedded2|}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox protected area with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox protected area]] with unknown parameter "_VALUE_"|ignoreblank=y| administrator | alt_name | area | area_acre | area_ha | area_km2 | area_ref | area_sqmi | authorized | child | coordinates | coords | coords_ref | created | designated | designation | dimensions | elevation | elevation_avg | elevation_max | elevation_min | embedded | embedded1 | embedded2 | established | governing_body | image_map | iucn_category | iucn_ref | label | label_position | length | length_km | length_mi | location | map | map_alt | map_caption | map_image | map_size | map_width | mapsize | mark | marker_size | name | named_for | nearest_city | nearest_town | operator | owner | photo | photo_alt | photo_caption | photo_width | relief | url | visitation_num | visitation_ref | visitation_year | website | width | width_km | width_mi | world_heritage_site
}}<noinclude>
{{documentation}}
<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS -->
</noinclude>