Difference between revisions of "Template:Infobox protected area/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Paul 012
(Fix so that left-right comparisons are between template and sandbox.)
imported>Hike395
(→‎Yosemite: test multimap)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template test cases notice}}
+
{{Testcases notice}}
 
__TOC__
 
__TOC__
  
==Demonstration of ''x'' and ''y'' parameters==
 
The shift is not that great. In most browsers pressing CTRL + will magnify the page. Notice that the mark is at the intersection of the San Bernardina, Inyo and Kern counties.
 
 
Notice that marker shifts slightly to the right and down after map size adjustment.
 
 
{{testcases side by side
 
|{{Infobox protected area
 
| name = Example using ''locator_x'' & ''locator_y''
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width =
 
| locator_x = 184
 
| locator_y = 209
 
}}
 
|{{Infobox protected area/sandbox
 
| name = Example using ''locator_x'' & ''locator_y''
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width =
 
| locator_x = 184
 
| locator_y = 209
 
}}
 
}}
 
 
{{testcases side by side
 
|{{Infobox protected area
 
| name = Example using ''locator_x'' & ''locator_y'' after width adjustment
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width = 180
 
| locator_x = 184
 
| locator_y = 209
 
}}
 
|{{Infobox protected area/sandbox
 
| name = Example using ''locator_x'' & ''locator_y'' after width adjustment
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width = 180
 
| locator_x = 184
 
| locator_y = 209
 
}}
 
}}
 
 
Using ''x'' and ''y'' the marker retains is proper position.
 
 
{{testcases side by side
 
|{{Infobox protected area
 
| name = Example using ''x'' & ''y''
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width =
 
| x = 654
 
| y = 740
 
}}
 
|{{Infobox protected area/sandbox
 
| name = Example using ''x'' & ''y''
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width =
 
| x = 654
 
| y = 740
 
}}
 
}}
 
 
{{testcases side by side
 
|{{Infobox protected area
 
| name = Example using ''x'' & ''y'' after width adjustment
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width = 180
 
| x = 654
 
| y = 740
 
}}
 
|{{Infobox protected area/sandbox
 
| name = Example using ''x'' & ''y'' after width adjustment
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width = 180
 
| x = 654
 
| y = 740
 
}}
 
}}
 
  
 
==[[Aleutian World War II National Historic Area]]==
 
==[[Aleutian World War II National Historic Area]]==
  
{{testcases side by side
+
{{testcase table<!-- Infobox protected area-->
|{{Infobox Protected area
 
 
| name = Aleutian World War II National Historic Area
 
| name = Aleutian World War II National Historic Area
| map = US_Locator_Blank.svg
+
| map = Alaska
 
| map_caption =  
 
| map_caption =  
| locator_x = 1
 
| locator_y = 178
 
 
| location = [[Unalaska]], [[Alaska]]
 
| location = [[Unalaska]], [[Alaska]]
 
| nearest_city = [[Anchorage, Alaska]]
 
| nearest_city = [[Anchorage, Alaska]]
| lat_d = 53
+
| coordinates = {{coord|53|53|20|N|166|31|38|W|display=inline}}
| lat_m = 53
 
| lat_s = 20
 
| lat_NS = N
 
| long_d = 166
 
| long_m = 31
 
| long_s = 38
 
| long_EW = W
 
| display = inline
 
 
| designation = [[National Park Service]] affiliated area
 
| designation = [[National Park Service]] affiliated area
 
| authorized = November 12, 1996
 
| authorized = November 12, 1996
 
| owner = [[Ounalashka Corporation]]
 
| owner = [[Ounalashka Corporation]]
}}
 
|{{Infobox Protected area/sandbox
 
| name = Aleutian World War II National Historic Area
 
| map = US_Locator_Blank.svg
 
| map_caption =
 
| locator_x = 1
 
| locator_y = 178
 
| location = [[Unalaska]], [[Alaska]]
 
| nearest_city = [[Anchorage, Alaska]]
 
| lat_d = 53
 
| lat_m = 53
 
| lat_s = 20
 
| lat_NS = N
 
| long_d = 166
 
| long_m = 31
 
| long_s = 38
 
| long_EW = W
 
| display = inline
 
| designation = [[National Park Service]] affiliated area
 
| authorized = November 12, 1996
 
| owner = [[Ounalashka Corporation]]
 
}}
 
 
}}
 
}}
  
 
==[[Ocmulgee National Monument]]==
 
==[[Ocmulgee National Monument]]==
  
{{testcases side by side
+
{{testcase table<!-- Infobox protected area-->
|{{Infobox Protected area
 
 
| name = Ocmulgee National Monument
 
| name = Ocmulgee National Monument
 
| iucn_category = V
 
| iucn_category = V
Line 150: Line 26:
 
| photo_width =
 
| photo_width =
 
| location = 1207 Emery Highway [[Macon, Georgia]], [[United States|USA]]
 
| location = 1207 Emery Highway [[Macon, Georgia]], [[United States|USA]]
| locator_x = 114
+
| coordinates = {{coord|32|50|12|N|83|36|30|W|display=inline}}
| locator_y = 150
+
| area_acre = 701.54
| lat_d = 32
 
| lat_m = 50
 
| lat_s = 12
 
| lat_NS = N
 
| long_d = 83
 
| long_m = 36
 
| long_s = 30
 
| long_EW = W
 
| display = inline
 
| area = 701.54 acres (2.84 km²)
 
 
| established = December 23, 1936
 
| established = December 23, 1936
 
| visitation_num = 130,281
 
| visitation_num = 130,281
 
| visitation_year = 2005
 
| visitation_year = 2005
 
| governing_body = [[National Park Service]]
 
| governing_body = [[National Park Service]]
}}
 
|{{Infobox Protected area/sandbox
 
| name = Ocmulgee National Monument
 
| iucn_category = V
 
| photo = OcmulgeeLargeMound.jpg
 
| photo_caption = Great Temple Mound
 
| photo_width =
 
| location = 1207 Emery Highway [[Macon, Georgia]], [[United States|USA]]
 
| locator_x = 114
 
| locator_y = 150
 
| lat_d = 32
 
| lat_m = 50
 
| lat_s = 12
 
| lat_NS = N
 
| long_d = 83
 
| long_m = 36
 
| long_s = 30
 
| long_EW = W
 
| display = inline
 
| area = 701.54 acres (2.84 km²)
 
| authorized = December 23, 1936
 
| visitation_num = 130,281
 
| visitation_year = 2005
 
| governing_body = [[National Park Service]]
 
}}
 
 
}}
 
}}
  
 
==Yosemite==
 
==Yosemite==
Uses {{tl|Location map}}
+
{{testcase table<!-- Infobox protected area-->
{{testcases side by side
 
|{{Infobox protected area
 
 
| name            = Yosemite National Park
 
| name            = Yosemite National Park
 
| iucn_category  = Ib
 
| iucn_category  = Ib
 
| location        = [[Tuolumne County, California|Tuolumne]], [[Mariposa County, California|Mariposa]], & [[Madera County, California|Madera]] Counties, California, USA
 
| location        = [[Tuolumne County, California|Tuolumne]], [[Mariposa County, California|Mariposa]], & [[Madera County, California|Madera]] Counties, California, USA
 
| nearest_city    = [[Mariposa, California]]
 
| nearest_city    = [[Mariposa, California]]
| map            = California
+
| map            = USA California Northern#USA
 
| map_alt        = Yosemite is in the far western U.S., a bit east of the center of California.
 
| map_alt        = Yosemite is in the far western U.S., a bit east of the center of California.
| map_caption     = Location of Yosemite National Park in California
+
| map_caption     = Location of Yosemite National Park in California##Location of Yosemite National Park in the United States
 +
| label          = Yosemite
 
| map_width      = 200
 
| map_width      = 200
| lat_d          = 37.8499232
+
| coordinates = {{coord|37.8499232|-119.5676663|region:US-CA|display=inline}}
| long_d          = -119.5676663
 
| display        = inline
 
| region         = US-CA
 
| source          = GNIS
 
 
| area_acre      = 761266
 
| area_acre      = 761266
 
| established    = October 1, 1890
 
| established    = October 1, 1890
 
| visitation_num  = 3,901,408
 
| visitation_num  = 3,901,408
 
| visitation_year = 2010
 
| visitation_year = 2010
| visitation_ref  = <ref name=stats>{{NPS Visitation}}</ref>
+
| visitation_ref  = <ref name=stats>{{NPS visitation}}</ref>
 
| governing_body  = [[National Park Service]]
 
| governing_body  = [[National Park Service]]
 
| world_heritage_site = 1984
 
| world_heritage_site = 1984
}}
 
|{{Infobox Protected area/sandbox
 
| name            = Yosemite National Park
 
| iucn_category  = Ib
 
| location        = [[Tuolumne County, California|Tuolumne]], [[Mariposa County, California|Mariposa]], & [[Madera County, California|Madera]] Counties, California, USA
 
| nearest_city    = [[Mariposa, California]]
 
| map            = California
 
| map_alt        = Yosemite is in the far western U.S., a bit east of the center of California.
 
| map_caption    = Location of Yosemite National Park in California
 
| map_width      = 200
 
| lat_d          = 37.8499232
 
| long_d          = -119.5676663
 
| display        = inline
 
| region          = US-CA
 
| source          = GNIS
 
| area_acre      = 761266
 
| established    = October 1, 1890
 
| visitation_num  = 3,901,408
 
| visitation_year = 2010
 
| visitation_ref  = <ref name=stats>{{NPS Visitation}}</ref>
 
| governing_body  = [[National Park Service]]
 
| world_heritage_site = 1984
 
}}
 
 
}}
 
}}
  
 
==Upper and Lower Table Rock==
 
==Upper and Lower Table Rock==
Uses {{tl|Superimpose}}
+
{{testcase table<!-- Infobox protected area -->
{{testcases side by side
 
|{{Infobox protected area  
 
| name = Upper and Lower Table Rock
 
| photo = Upper and Lower Table Rock.png
 
| photo_alt = A flat plain with two mesas. The northeast mesa has a small declivity, the southeast a much larger one.
 
| photo_caption = Terrain of the Table Rocks. Upper Table Rock is on the right, Lower Table Rock on the left
 
| iucn_category =
 
| map = Oregon Locator Map.PNG
 
| map_alt = Located in southwest Oregon, in a county adjacent to California and two counties away from the Pacific
 
| map_caption = Location in [[Oregon]], in the United States
 
| map_width = 224
 
| locator_x = 58
 
| locator_y = 182
 
| location = [[Jackson County, Oregon]]
 
| nearest_city = [[Central Point, Oregon]]
 
| coords = {{coord|42.465|N|122.935|W|display=inline}}
 
| coords_ref =
 
| area =
 
| established =
 
| visitation_num =
 
| visitation_year =
 
| governing_body = [[Bureau of Land Management]] and [[The Nature Conservancy]]
 
| url = http://www.blm.gov/or/resources/recreation/tablerock/index.php
 
}}
 
|{{Infobox Protected area/sandbox
 
 
| name = Upper and Lower Table Rock
 
| name = Upper and Lower Table Rock
 
| photo = Upper and Lower Table Rock.png
 
| photo = Upper and Lower Table Rock.png
Line 274: Line 62:
 
| photo_caption = Terrain of the Table Rocks. Upper Table Rock is on the right, Lower Table Rock on the left
 
| photo_caption = Terrain of the Table Rocks. Upper Table Rock is on the right, Lower Table Rock on the left
 
| iucn_category =
 
| iucn_category =
| map = Oregon Locator Map.PNG
+
| map = USA Oregon
 
| map_alt = Located in southwest Oregon, in a county adjacent to California and two counties away from the Pacific
 
| map_alt = Located in southwest Oregon, in a county adjacent to California and two counties away from the Pacific
 
| map_caption = Location in [[Oregon]], in the United States
 
| map_caption = Location in [[Oregon]], in the United States
 
| map_width = 224
 
| map_width = 224
| marker = Blue pog.svg
 
| locator_x = 58
 
| locator_y = 182
 
 
| location = [[Jackson County, Oregon]]
 
| location = [[Jackson County, Oregon]]
 
| nearest_city = [[Central Point, Oregon]]
 
| nearest_city = [[Central Point, Oregon]]
| coords = {{coord|42.465|N|122.935|W|display=inline}}
+
| coordinates = {{coord|42.465|-122.935}}
 
| coords_ref =
 
| coords_ref =
 
| area =  
 
| area =  
Line 291: Line 76:
 
| governing_body = [[Bureau of Land Management]] and [[The Nature Conservancy]]
 
| governing_body = [[Bureau of Land Management]] and [[The Nature Conservancy]]
 
| url = http://www.blm.gov/or/resources/recreation/tablerock/index.php
 
| url = http://www.blm.gov/or/resources/recreation/tablerock/index.php
}}
 
 
}}
 
}}
  
 
==Dry Island Buffalo Jump Provincial Park==
 
==Dry Island Buffalo Jump Provincial Park==
Uses {{tl|Location map}}
+
{{testcase table<!-- Infobox protected area -->
{{testcases side by side|{{Infobox protected area  
 
| name = Dry Island Buffalo Jump Provincial Park
 
| iucn_category = III
 
| photo = Dry Island Provincial Park2.jpg
 
| photo_alt = A green valley with a river and a road running somewhat parallel to the river
 
| photo_caption = Panoramic view
 
| map = Canada Alberta
 
| relief = yes
 
| map_alt = Located in south central Alberta, which is one province away from the west coast of Canada
 
| map_caption = Location of ''Dry Island Park'' in Canada
 
| location = Canada
 
| nearest_city = [[Three Hills, Alberta|Three Hills]], [[Red Deer, Alberta|Red Deer]]
 
| lat_d = 51
 
| lat_m = 56
 
| lat_s = 10
 
| lat_NS = N
 
| long_d = 112
 
| long_m = 57
 
| long_s = 41
 
| long_EW = W
 
| display = inline
 
| scale = 50000
 
| area = {{convert|34.5|km2|sqmi|abbr=on}}
 
| established = December 15, 1970
 
| visitation_num =
 
| visitation_year =
 
| governing_body = [[Alberta Tourism, Parks and Recreation]]
 
}}
 
|{{Infobox Protected area/sandbox
 
 
| name = Dry Island Buffalo Jump Provincial Park
 
| name = Dry Island Buffalo Jump Provincial Park
 
| iucn_category = III
 
| iucn_category = III
Line 336: Line 91:
 
| location = Canada
 
| location = Canada
 
| nearest_city = [[Three Hills, Alberta|Three Hills]], [[Red Deer, Alberta|Red Deer]]
 
| nearest_city = [[Three Hills, Alberta|Three Hills]], [[Red Deer, Alberta|Red Deer]]
| lat_d = 51
+
|coords={{Coord|51|56|10|N|112|57|41|W|display=inline}}
| lat_m = 56
+
| area_km2 = 34.5
| lat_s = 10
 
| lat_NS = N
 
| long_d = 112
 
| long_m = 57
 
| long_s = 41
 
| long_EW = W
 
| display = inline
 
| scale = 50000
 
| area = {{convert|34.5|km2|sqmi|abbr=on}}
 
 
| established = December 15, 1970
 
| established = December 15, 1970
 
| visitation_num =  
 
| visitation_num =  
 
| visitation_year =  
 
| visitation_year =  
 
| governing_body = [[Alberta Tourism, Parks and Recreation]]
 
| governing_body = [[Alberta Tourism, Parks and Recreation]]
}}
 
 
}}
 
}}
  
 
==Ellis Island==
 
==Ellis Island==
{{testcases side by side
+
{{testcase table<!-- Infobox protected area-->
|{{Infobox protected area
 
 
| name = Ellis Island
 
| name = Ellis Island
 
| alt_name = '''Part of Statue of Liberty National Monument'''
 
| alt_name = '''Part of Statue of Liberty National Monument'''
Line 374: Line 118:
 
| url = http://www.nps.gov/elis/
 
| url = http://www.nps.gov/elis/
 
}}
 
}}
|{{Infobox Protected area/sandbox
+
 
| name = Ellis Island
+
==Ala Kahakai National Historic Trail==
| alt_name = '''Part of Statue of Liberty National Monument'''
+
Uses {{para|length_mi}}, {{para|label}}, {{para|label_position}}
 +
 
 +
{{Testcase table
 +
| name = Ala Kahakai National Historic Trail
 
| iucn_category =  
 
| iucn_category =  
| photo = Ellis Island-27527.jpg
+
| photo = ALKA trailsection.jpg
| photo_width = 350
+
| photo_alt =
| photo_alt = A large three-story brick-red building whose windows are outlined in white. It has four towers, each with a cupola and spikes at the top.
+
| photo_caption = Restored section of the trail
| photo_caption = Ellis Island
+
| photo_width =  
| location = [[Jersey City]] & New York City
+
| map = USA Hawaii
| coords = {{Coord|40|41|56.5|N|74|2|22.2|W|region:US-NY_type:landmark|display=inline}}
+
| map_caption = Map of the [[United States]]
| area = 58.38 acres (0.24 km<sup>2</sup>) (includes [[Statue of Liberty|Statue of Liberty NM]])
+
| location = [[Hawaii]], [[United States|US]]
| established = May 11, 1965 (as a national monument)
+
| nearest_city = [[Kailua, Hawaii County, Hawaii|Kailua, Hawaii County]], Hawaii
| visitation_num = 3,618,054 (includes Statue of Liberty NM)
+
| coordinates = {{coords|18.9111111|-155.6811111|region:US-HI_source:GNIS(2035608)|format=dms|display=inline, title}}
| visitation_year = 2004
+
| coords_ref = <ref name="gnis">{{cite gnis |id=2035608 |name=Ala Kahakai National Historic Trail |accessdate=2012-04-03}}</ref>
| visitation_ref = <ref>test (sandbox)</ref>
+
| label = Ala Kahakai
 +
| label_position = top
 +
| length_mi = 175
 +
| established = 2000
 +
| visitation_num =  
 +
| visitation_year =  
 
| governing_body = [[National Park Service]]
 
| governing_body = [[National Park Service]]
| url = http://www.nps.gov/elis/
+
| website = [https://www.nps.gov/alka Ala Kahakai National Historic Trail]
 
}}
 
}}
 +
 +
==Alerce Costero National Park==
 +
Large aspect ratio map (of Chile) should look reasonable
 +
{{testcase table
 +
|_template=Infobox protected area
 +
| name = Alerce Costero National Park
 +
| iucn_category = III
 +
| photo = Cordillera Pelada.jpg
 +
| photo_caption =
 +
| location = [[La Unión, Chile]] [[Communes of Chile|commune]], [[Los Ríos Region]], [[Chile]]
 +
| nearest_city = [[La Unión, Chile]]
 +
| map = Chile
 +
| relief = 1
 +
| coordinates = {{coords|40|11|0|S|73|28|0|W|display=inline, title}}
 +
| area = 24,000 [[Hectare|ha]]
 +
| established = 1987, it change its status in 2012 to National Reserve<ref>[http://www.conaf.cl/parques/ficha-monumento_natural_alerce_costero-29.html Alerce costero National Park] CONAF Chile, retrieved February, 2014</ref>
 +
| visitation_num =
 +
| visitation_year =
 +
| governing_body = [[Corporación Nacional Forestal]]
 
}}
 
}}
 +
  
 
==Reference test==
 
==Reference test==
 
{{reflist}}
 
{{reflist}}

Latest revision as of 07:13, 22 May 2019


Aleutian World War II National Historic Area

Template:Testcase table

Ocmulgee National Monument

Template:Testcase table

Yosemite

Template:Testcase table

Upper and Lower Table Rock

Template:Testcase table

Dry Island Buffalo Jump Provincial Park

Template:Testcase table

Ellis Island

Template:Testcase table

Ala Kahakai National Historic Trail

Uses |length_mi=, |label=, |label_position=

Template:Testcase table

Alerce Costero National Park

Large aspect ratio map (of Chile) should look reasonable Template:Testcase table


Reference test