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

From blackwiki
Jump to navigation Jump to search
imported>John of Reading
m (→‎Fields: Typo fixing, replaced: in in → in using AWB)
imported>WOSlinker
(redirect)
 
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Infobox Australian place/doc]]
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
{{esoteric}}
 
__NOTOC__
 
 
 
== Usage ==
 
{{tl|Infobox protected area of Australia}} is the standard infobox used in Australian protected areas, as it has been heavily customised for Australia.
 
 
 
=== To use this template ===
 
#Copy the blank template below into the beginning of an article, remembering to put the code at the very top of the article and the first word of the article on the very next line.
 
#Enter values for the fields as outlined in the [[#Fields|table below]]. Fields left blank will automatically be hidden.
 
#Preview.
 
#Save the page with an appropriate edit summary.
 
 
 
=== Blank template ===
 
<pre>
 
{{Infobox protected area of Australia
 
| name                  =
 
| state                  =
 
| iucn_category          =
 
| image                  =
 
| imagesize              =
 
| caption                =
 
| image_alt              =
 
| latd                  =
 
| latm                  =
 
| lats                  =
 
| longd                  =
 
| longm                  =
 
| longs                  =
 
| coord_type            =
 
| map_scale              =
 
| force_national_map    =
 
| relief                =
 
| pushpin_map_caption    =
 
| pushpin_label_position =
 
| map_alt                =
 
| nearest_town_or_city  =
 
| area                  =
 
| area_footnotes        =
 
| established            = <!-- {{start date|yyyy|mm|dd|df=y}} -->
 
| established_footnotes  =
 
| visitation_num        =
 
| visitation_year        =
 
| visitation_footnotes  =
 
| managing_authorities  =
 
| url                    =
 
| embedded              =
 
}}
 
</pre>
 
 
 
== Fields ==
 
With the exception of <code>name</code>, all fields used by this template are optional. The following fields are available:
 
{| class="wikitable plainrowheaders" style="background-color: white;"
 
! scope="col" style="background-color: whitesmoke;" | Parameter
 
! scope="col" style="background-color: whitesmoke;" | Description
 
! scope="col" style="background-color: whitesmoke;" | Source/notes
 
! scope="col" style="background-color: whitesmoke;" | Values
 
|-
 
| scope="row" | name
 
| name of the protected area
 
| This should be the official name of the protected area. It will be displayed at the top of the infobox. In most cases this should be the same as the article name less any disambiguation.
 
| plain text, do not wikilink
 
|-
 
| scope="row" | state
 
| state where the area is located
 
| Use the 2 or 3 digit code corresponding to the state or territory in which the area is located. It will automatically be converted to the full state name and wikilinked.
 
| "qld", "nsw", "act", "vic", "tas", "sa", "wa", "nt", "jbt" or "ni".<!-- These are actually case insensitve but let's specify lowercase for consistency and ease of management by automatic means. --><br />(plain text, do not wikilink)
 
|-
 
| scope="row" | iucn_category
 
| IUCN category
 
| This field should be populated with the [[World Commission on Protected Areas#IUCN Categories of Protected Area|IUCN]] category associated with the protected area. Although optional, use of this field is strongly recommended. For more information on how this field is displayed, see [[#IUCN Categories|IUCN Categories]] below.
 
| Ia, Ib, II, III, IV, V, or VI<br />(plain text, do not wikilink)
 
|-
 
| scope="row" | image
 
| generic image of the area
 
| If an image is used, a caption must be provided or the image will not display.<!-- This is to ensure backward compatibility with the earlier version of the infobox, which used the image as both an image and a locator map. -->
 
| filename without "file". e.g. example.jpg
 
|-
 
| scope="row" | imagesize
 
| width of image
 
| This field is nomally only used for images with portrait orientation. If not specified, image width defaults to 270px
 
| numeric value, should not be greater than 300
 
|-
 
| scope="row" | caption
 
| image caption
 
| a caption for the image
 
| wikitext (can contain links)
 
|-
 
| scope="row" | image_alt
 
| alt text
 
| [[MOS:ALT|Alt text]] for the image
 
| wikitext (can contain links)
 
|-
 
| scope="row" | latd<br />latm<br />lats
 
| latitude
 
|
 
| degrees<br />minutes<br />seconds
 
|-
 
| scope="row" | longd<br />longm<br />longs
 
| longitude
 
|
 
| degrees<br />minutes<br />seconds
 
|-
 
| scope="row" | coord_type
 
| coordinates type override
 
| This field may be used to override the default <code>type:landmark</code> generated by the infobox.<br />May include <code>scale:, dim:, source:</code>, joined by underscores ("_").
 
| For valid inputs see [[Template:Coord/doc#type:T|type:]], [[Template:Coord/doc#scale:N|scale:]], [[Template:Coord/doc#dim:D|dim:]] and [[Template:Coord/doc#source:S|source:]].<br />Example: <code><nowiki>| coord_type=city_dim:100km</nowiki></code>
 
|-
 
| scope="row" | map_scale
 
| changes scale of map
 
| The scale of the map linked to in the generated coordinates string can be changed from the default by setting this field.
 
| unformatted number. See {{tl|coord}} for examples.
 
|-
 
| scope="row" | force_national_map
 
| forces locator map
 
| Forces the locator map to use the Australian, rather than the state map, regardless of the contents of <code>state</code>.
 
| "yes" or leave blank, plain text, do not link <!-- Anything in this field will force the Australian map to be used. For consistency though, let's force people to use something simple and obvious. -->
 
|-
 
| scope="row" | relief
 
| forces relief map
 
|
 
| "yes" or leave blank, plain text, do not link <!-- Anything in this field will force the relief map to be used. For consistency though, let's force people to use something simple and obvious. -->
 
|-
 
| scope="row" | pushpin_map_caption
 
| caption
 
|
 
| plain text or linked
 
|-
 
| scope="row" | pushpin_label_position
 
| label position
 
|
 
| left, right, top, bottom<br />default: right
 
|-
 
| scope="row" | map_alt
 
|
 
| [[MOS:ALT|Alt text]] for the location map
 
| wikitext (can contain links)
 
|-
 
| scope="row" | nearest_town_or_city
 
| nearest town or city to the area
 
| If the area is not within a town or city, the nearest town or city to the area can be listed here. If only one, wikilinking may be omitted as the article will be automatically linked. If there are more than one, use {{tl|Plainlist}}.
 
| wikitext (can contain links)
 
|-
 
| scope="row" | area
 
| area
 
| Area in km². Note: 100ha=1km². The value will be automatically converted to square miles. Where {{para|area|<1}}, it may be prudent to use {{tl|convert}} to instead convert from hectares to acres.
 
| unformatted number (km²). Where {{para|area|<1}} use {{tl|convert}}. e.g. <nowiki>{{convert|50|ha|acre|0|abbr=on}}</nowiki>
 
|-
 
| scope="row" | area_footnotes
 
| reference(s) for area
 
|
 
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
 
|-
 
| scope="row" | established
 
| date the area was established
 
| This should be as detailed as is necessary
 
| raw year if only the year is known. If the month or day is known, use {{tl|start date}} with <code>df=y</code>. e.g. <nowiki>{{start date|1986|10|25|df=y}}</nowiki>
 
|-
 
| scope="row" | established_footnotes
 
| reference(s) for establishment date
 
|
 
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
 
|-
 
| scope="row" | visitation_num
 
| number of visitors
 
| The number of visitors in a recent year if known.
 
| unformatted number, will be formatted automatically
 
|-
 
| scope="row" | visitation_year
 
| year of <code>visitation_num</code>
 
| The year during which the number of visitors was counted
 
| raw year<br />plain text, do not wikilink
 
|-
 
| scope="row" | visitation_footnotes
 
| reference(s) for visitation figure and year
 
|
 
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
 
|-
 
| scope="row" | managing_authorities
 
| authority that manages the area
 
| Name of the authority or organisation that manages the area.
 
| wikitext (can contain links). If an unpiped link is to be used, wikilinking may be excluded as an existing article will be wikilinked automatically.
 
|-
 
| scope="row" | url
 
| web address
 
| The full URL of the official website with no formatting
 
| bare url. e.g. www.example.com
 
|-
 
| scope="row" | embedded
 
| embed another template
 
| Used to embed another template in this one.
 
| See [[#Template embedding|below]]
 
|}
 
 
 
== Notes ==
 
=== IUCN Categories ===
 
Depending on the value of the <code>iucn_category</code> parameter, one of the following banners will be displayed below the name. Valid values are Ia, Ib, II, III, IV, V and VI. For more information read the [[World Commission on Protected Areas]] article,
 
 
 
{| style="border:1px solid gray; width:300px; font-size: 90%; text-align: center; line-height: 1.5;"
 
|-
 
| {{IUCN banner|Ia}}
 
|-
 
| {{IUCN banner|Ib}}
 
|-
 
| {{IUCN banner|II}}
 
|-
 
| {{IUCN banner|III}}
 
|-
 
| {{IUCN banner|IV}}
 
|-
 
| {{IUCN banner|V}}
 
|-
 
| {{IUCN banner|VI}}
 
|}
 
 
 
=== Footnotes fields ===
 
Any references should be placed within the respective "_footnotes" field and not within the field reserved solely for a numeric value.  For example, place the reference used for the area in the parameter {{{area_footnotes}}} and not in the {{{area}}} parameter.  Otherwise, an error may result.
 
 
 
=== Unformatted numbers and expression errors ===
 
Certain fields require numeric values to be entered in an unformatted/raw fashion—i.e. 1000.0 NOT 1,000.0.  If an expression error is present, simply remove any commas or spaces from the number.
 
 
 
== Template embedding ==
 
Another template may be embedded in this template by adding <code><nowiki>|embedded = {{Infobox ...</nowiki></code>.
 
 
 
== Deprecated field tracking ==
 
Articles that include deprecated fields are automatically added to [[:Category:Australian protected area articles using deprecated parameters]]. As of December 2013, these parameters are <code>lat</code>, <code>long</code>, <code>locator_x</code>, <code>locator_y</code>, <code>coordinates</code>, and <code>official_site</code>.
 
 
 
== Subpages ==
 
{{Special:PrefixIndex/Template:Infobox protected area of Australia}}
 
 
 
== Microformat ==
 
{{UF-hcard-geo}}
 
 
 
== Infobox examples ==
 
=== With map only ===
 
{{Infobox protected area of Australia
 
| name                  = Ku-ring-gai Chase National Park
 
| state                  = nsw
 
| iucn_category          = II
 
| latd                  = 33
 
| latm                  = 39
 
| lats                  = 3.6
 
| longd                  = 151
 
| longm                  = 12
 
| longs                  = 3.6
 
| relief                = yes
 
| pushpin_label_position = left
 
| map_alt                =
 
| coordinates_display    = inline<!-- used to suppress display of coordinates in title bar on example pages. -->
 
| nearest_town_or_city  = Sydney
 
| area                  = 154
 
| area_footnotes        =
 
| established            = {{start date|1967|10|1|df=y}}
 
| visitation_num        = 2000000
 
| visitation_year        = 2001
 
| managing_authorities  = National Parks and Wildlife Service (New South Wales)
 
| url                    =
 
}}
 
<pre style="overflow:auto;">
 
{{Infobox protected area of Australia
 
| name                  = Ku-ring-gai Chase National Park
 
| state                  = nsw
 
| iucn_category          = II
 
| latd                  = 33
 
| latm                  = 39
 
| lats                  = 3.6
 
| longd                  = 151
 
| longm                  = 12
 
| longs                  = 3.6
 
| relief                = yes
 
| pushpin_label_position = left
 
| map_alt                =
 
| nearest_town_or_city  = Sydney
 
| area                  = 154
 
| area_footnotes        =
 
| established            = {{start date|1967|10|1|df=y}}
 
| visitation_num        = 2000000
 
| visitation_year        = 2001
 
| managing_authorities  = National Parks and Wildlife Service (New South Wales)
 
| url                    =
 
}}
 
</pre>
 
{{clear}}
 
 
 
=== With photograph and map ===
 
{{Infobox protected area of Australia
 
| name                  = Dorrigo National Park
 
| state                  = nsw
 
| iucn_category          = II
 
| image                  = Dorrigo NP.jpg
 
| caption                = View from the Skywalk, Dorrigo National Park
 
| image_alt              =
 
| latd                  = 30
 
| latm                  = 20
 
| lats                  = 53
 
| longd                  = 152
 
| longm                  = 49
 
| longs                  = 19
 
| pushpin_label_position = left
 
| map_alt                =
 
| coordinates_display    = inline<!-- used to suppress display of coordinates in title bar on example pages. -->
 
| nearest_town_or_city  = {{NSWcity|Dorrigo}}
 
| area                  = 119
 
| area_footnotes        =
 
| established            = {{start date|1967|10|1|df=y}}
 
| visitation_num        =
 
| visitation_year        =
 
| managing_authorities  = National Parks and Wildlife Service (New South Wales)
 
| url                    = http://www.environment.nsw.gov.au/nationalparks/parkHome.aspx?id=N0011
 
}}
 
<pre style="overflow:auto;">
 
{{Infobox protected area of Australia
 
| name                  = Dorrigo National Park
 
| state                  = nsw
 
| iucn_category          = II
 
| image                  = Dorrigo NP.jpg
 
| caption                = View from the Skywalk, Dorrigo National Park
 
| image_alt              =
 
| latd                  = 30
 
| latm                  = 20
 
| lats                  = 53
 
| longd                  = 152
 
| longm                  = 49
 
| longs                  = 19
 
| pushpin_label_position = left
 
| map_alt                =
 
| nearest_town_or_city  = {{NSWcity|Dorrigo}}
 
| area                  = 119
 
| area_footnotes        =
 
| established            = {{start date|1967|10|1|df=y}}
 
| visitation_num        =
 
| visitation_year        =
 
| managing_authorities  = National Parks and Wildlife Service (New South Wales)
 
| url                    = http://www.environment.nsw.gov.au/nationalparks/parkHome.aspx?id=N0011
 
}}
 
</pre>
 
{{clear}}
 
{{Infobox protected area of Australia
 
| name                  = Walls of Jerusalem National Park
 
| state                  = tas
 
| iucn_category          = II
 
| image                  = Looking north west from Solomon's Throne - Walls of Jerusalem.jpg
 
| imagesize              =
 
| caption                = Looking north west from Solomon's Throne. The prominent peak on the left is King Davids Peak. The Temple is on the left with Mount Jerusalem behind.
 
| image_alt              =
 
| latd                  = 41
 
| latm                  = 52
 
| lats                  = 08
 
| longd                  = 146
 
| longm                  = 15
 
| longs                  = 31
 
| relief                = yes
 
| map_alt                =
 
| coordinates_display    = inline<!-- used to suppress display of coordinates in title bar on example pages. -->
 
| nearest_town_or_city  = [[Mole Creek, Tasmania|Mole Creek]]
 
| area                  = 518
 
| area_footnotes        = <ref name=tpws1>{{cite web|url=http://www.parks.tas.gov.au/index.aspx?base=5714|title=Reserve Listing - National Parks|publisher=[[Tasmania Parks and Wildlife Service]]|work=Tasmanian Parks and Wildlife Service Website|date=17 November 2008|accessdate=1 May 2010}}</ref>
 
| established            = {{start date|1978|12|13|df=y}}
 
| established_footnotes  = <ref name=tpws1/>
 
| visitation_num        =
 
| visitation_year        =
 
| managing_authorities  = Tasmania Parks and Wildlife Service
 
| url                    = http://parks.tas.gov.au/index.aspx?base=3904
 
}}
 
<pre style="overflow:auto;">
 
{{Infobox protected area of Australia
 
| name                  = Walls of Jerusalem National Park
 
| state                  = tas
 
| iucn_category          = II
 
| image                  = Looking north west from Solomon's Throne - Walls of Jerusalem.jpg
 
| imagesize              =
 
| caption                = Looking north west from Solomon's Throne. The prominent peak on the left is King Davids Peak. The Temple is on the left with Mount Jerusalem behind.
 
| image_alt              =
 
| latd                  = 41
 
| latm                  = 52
 
| lats                  = 08
 
| longd                  = 146
 
| longm                  = 15
 
| longs                  = 31
 
| relief                = yes
 
| map_alt                =
 
| nearest_town_or_city  = [[Mole Creek, Tasmania|Mole Creek]]
 
| area                  = 518
 
| area_footnotes        = <ref name=tpws1>{{cite web|url=http://www.parks.tas.gov.au/index.aspx?base=5714|title=Reserve Listing - National Parks|publisher=[[Tasmania Parks and Wildlife Service]]|work=Tasmanian Parks and Wildlife Service Website|date=17 November 2008|accessdate=1 May 2010}}</ref>
 
| established            = {{start date|1978|12|13|df=y}}
 
| established_footnotes  = <ref name=tpws1/>
 
| visitation_num        =
 
| visitation_year        =
 
| managing_authorities  = Tasmania Parks and Wildlife Service
 
| url                    = http://parks.tas.gov.au/index.aspx?base=3904
 
}}
 
</pre>
 
{{clear}}
 
 
 
=== With multiple nearest towns and/or cities ===
 
{{Infobox protected area of Australia
 
| name                  = Dandenong Ranges National Park
 
| state                  = vic
 
| iucn_category          = II
 
| nearest_town_or_city  = {{Plainlist|
 
* [[Ferntree Gully, Victoria|Ferntree Gully]]
 
* [[Belgrave, Victoria|Belgrave]]
 
* [[Mount Dandenong, Victoria|Mount Dandenong]]
 
* Melbourne
 
}}
 
| area                  = 32.15
 
}}
 
<pre style="overflow:auto;">
 
{{Infobox protected area of Australia
 
| name                  = Dandenong Ranges National Park
 
| state                  = vic
 
| iucn_category          = II
 
| nearest_town_or_city  = {{Plainlist|
 
* [[Ferntree Gully, Victoria|Ferntree Gully]]
 
* [[Belgrave, Victoria|Belgrave]]
 
* [[Mount Dandenong, Victoria|Mount Dandenong]]
 
* Melbourne
 
}}
 
| area                  = 32.15
 
}}
 
</pre>
 
{{clear}}
 
 
 
== References ==
 
{{reflist}}
 
 
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
 
| <!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Templates with coordinates fields|{{PAGENAME}}]]
 
[[Category:IUCN Protected Area infobox templates|{{PAGENAME}}]]
 
[[Category:Australia infobox templates|protected area of Australia]]
 
 
 
[[zh:Template:Infobox protected area of Australia]]
 
}}</includeonly>
 

Latest revision as of 18:21, 11 June 2017