「模板:Pp-protected」:修訂間差異

出自微國家百科
imported>ChiEmpire
imported>ChiEmpire
第5行: 第5行:
   | 參數<code>native_name</code>不建議使用。請改用<code>alt_name</code>。
   | 參數<code>native_name</code>不建議使用。請改用<code>alt_name</code>。
}}
}}
== Infobox examples ==
==== With map only ====
----
{{Infobox protected area
| name            = Ku-ring-gai Chase National Park
| iucn_category  = II
| map            = Australia
| map_width      = 200
| location        = [[New South Wales]], [[Australia]]
| nearest_city    = [[Sydney]]
| lat_d          = 33
| lat_m          = 39
| lat_s          = 3.6
| lat_NS          = S
| long_d          = 151
| long_m          = 12
| long_s          = 3.6
| long_EW        = E
| region          = AU
| display        = inline
| area            = {{convert|154|km2|acre|abbr=on}}
| established    = October 1, 1967
| visitation_num  = 2 Million
| visitation_year = 2001
| governing_body  = [[Department of Environment and Climate Change (New South Wales)|Department of Environment and Climate Change]]
}}
<pre style="max-width:50%; overflow:auto; font-size: 90%;">
{{Infobox protected area
| name            = Ku-ring-gai Chase National Park
| iucn_category  = II
| map            = Australia
| map_width      = 200
| location        = [[New South Wales]]. [[Australia]]
| nearest_city    = [[Sydney]]
| lat_d          = 33
| lat_m          = 39
| lat_s          = 3.6
| lat_NS          = S
| long_d          = 151
| long_m          = 12
| long_s          = 3.6
| long_EW        = E
| region          = AU
| area            = {{convert|154|km2|acre|abbr=on}}
| established    = October 1, 1967
| visitation_num  = 2 Million
| visitation_year = 2001
| governing_body  = [[Department of Environment and Climate Change (New South Wales)|Department of Environment and Climate Change]]
}}
</pre>
{{clr}}
==== With photograph only ====
----
{{Infobox protected area
| name            = Yosemite National Park
| iucn_category  = Ib
| photo          = 100 1325.JPG
| photo_caption  = Yosemite Valley from Tunnel View
| location        = [[California]], [[United States]]
| nearest_city    = [[Mariposa, California|Mariposa]]
| lat_d          = 37.8499232
| long_d          = -119.5676663
| region          = US-CA
| scale          = 300000
| display        = inline
| area            = {{convert|761266|acres|km2}}
| established    = October 1, 1890
| visitation_num  = 3,280,911
| visitation_year = 2004
| governing_body  = [[National Park Service]]
| world_heritage_site = 1984
| url            = http://www.nps.gov/yose/
}}
<pre style="max-width:50%; overflow:auto; font-size: 90%;">
{{Infobox protected area
| name            = Yosemite National Park
| iucn_category  = Ib
| photo          = 100 1325.JPG
| photo_caption  = Yosemite Valley from Tunnel View
| location        = [[California]], [[United States]]
| nearest_city    = [[Mariposa, California|Mariposa]]
| lat_d          = 37.8499232
| long_d          = -119.5676663
| region          = US-CA
| scale          = 300000
| area            = {{convert|761266|acres|km2}}
| established    = October 1, 1890
| visitation_num  = 3,280,911
| visitation_year = 2004
| governing_body  = [[National Park Service]]
| world_heritage_site = 1984
| url            = http://www.nps.gov/yose/
}}
</pre>
{{clr}}
==== With no photograph or map ====
----
{{Infobox protected area
| name            = Harz National Park
| native_name    = Nationalparkverwaltung Harz
| iucn_category  = II
| location        = [[Lower Saxony]] and [[Saxony-Anhalt]], [[Germany]]
| nearest_city    =
| coordinates    = {{coord|51|47|00|N|10|34|00|E|region:DE_type:landmark|display=inline}}
| area            = {{convert|8900|ha|acre}}
| established    = 1990, 1994, 2006
| visitation_num  =
| visitation_year =
| governing_body  = Nationalparkverwaltung Harz
}}
<pre style="max-width:50%; overflow:auto; font-size: 90%;">
{{Infobox protected area
| name            = Harz National Park
| native_name    = Nationalparkverwaltung Harz
| iucn_category  = II
| location        = [[Lower Saxony]] and [[Saxony-Anhalt]], [[Germany]]
| nearest_city    =
| coordinates    = {{coord|51|47|00|N|10|34|00|E|region:DE_type:landmark|display=inline}}
| area            = {{convert|8900|ha|acre}}
| established    = 1990, 1994, 2006
| visitation_num  =
| visitation_year =
| governing_body  = Nationalparkverwaltung Harz
}}
</pre>
{{clr}}
==== With photograph and map ====
----
{{Infobox protected area
| name            = Dry Island Buffalo Jump Provincial Park
| photo          = Dry Island Provincial Park2.jpg
| photo_caption  = Panoramic view
| iucn_category  = III
| map            = Canada Alberta
| map_caption    = Map of Alberta, Canada
| map_width      = 175
| location        = [[Alberta, Canada|Alberta]], [[Canada]]
| nearest_city    = [[Three Hills, Alberta|Three Hills]]
| coordinates    = {{coord|51|56|10|N|112|57|41|W| display = inline <!-- for documentation page only - not general practice -->}}
| coords_ref      = <ref name=gnss>
  {{cite web
  | url = http://gnss.nrcan.gc.ca/gnss-srt/searchName.jsp?language=en
  | title = Geographical Name Search Service
  | publisher = Natural Resources Canada
  | accessdate = 2009-04-26 }}</ref>
| display        = inline
| region          = CA
| area            = {{convert|34.5|km2|sqmi|abbr=on}}
| established    = December 15, 1970
| governing_body  = [[Alberta Tourism, Parks and Recreation]]
}}
<pre style="max-width:50%; overflow:auto; font-size: 90%;">
{{Infobox protected area
| name            = Dry Island Buffalo Jump Provincial Park
| photo          = Dry Island Provincial Park2.jpg
| photo_caption  = Panoramic view
| iucn_category  = III
| map            = Canada Alberta
| map_caption    = Map of Alberta, Canada
| map_width      = 175
| location        = [[Alberta, Canada|Alberta]], [[Canada]]
| nearest_city    = [[Three Hills, Alberta|Three Hills]]
| coordinates    = {{coord|51|56|10|N|112|57|41|W| display = inline <!-- for documentation page only - not general practice -->}}
| coords_ref      = <ref name=gnss>
  {{cite web
  | url = http://gnss.nrcan.gc.ca/gnss-srt/searchName.jsp?language=en
  | title = Geographical Name Search Service
  | publisher = Natural Resources Canada
  | accessdate = 2009-04-26 }}</ref>
| region          = CA
| area            = {{convert|34.5|km2|sqmi|abbr=on}}
| established    = December 15, 1970
| governing_body  = [[Alberta Tourism, Parks and Recreation]]
}}
</pre>
{{clr}}
<div style="font-size: medium;">References</div>
----
{{reflist}}
== Microformat ==
== Microformat ==



於 2023年8月15日 (二) 21:49 的修訂


Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the area name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please visit WikiProject Microformats.

模板:Buildings and structures infobox templates