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

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(fix)
imported>Droll
(Introduced new examples)
Line 1: Line 1:
 
{{Template test cases notice}}
 
{{Template test cases notice}}
 
__TOC__
 
__TOC__
 +
==Tests of proposed versions==
 +
 +
===First Example===
 +
{|
 +
! Current version
 +
! First proposed version
 +
! Reserved for a Second proposed version
 +
|- valign="top"
 +
|{{Infobox protected area
 +
| name = Deer Flat National Wildlife Refuge
 +
| alt_name =
 +
| iucn_category = IV
 +
| map = Idaho
 +
| map_width = 176
 +
| map_caption =
 +
| location = [[Southwestern Idaho|Southwestern]] [[Idaho]] and eastern [[Oregon]], ([[United States|USA]])
 +
| nearest_city = [[Nampa, Idaho]]
 +
| lat_d = 43
 +
| lat_m = 33
 +
| lat_s =
 +
| lat_NS = N
 +
| long_d = 116
 +
| long_m = 40
 +
| long_s =
 +
| long_EW = W
 +
| area = {{convert|10548|acre|sqmi km2}}<ref name="area">{{FWS area|2009}}</ref>
 +
| established = {{start date|1909|2|25}}
 +
| visitation_num =
 +
| visitation_year =
 +
| governing_body = [[United States Fish and Wildlife Service|U.S. Fish and Wildlife Service]]
 +
| url = http://www.fws.gov/deerflat/
 +
}}
 +
 +
|{{Infobox protected area/sandbox
 +
| name = Deer Flat National Wildlife Refuge
 +
| alt_name =
 +
| iucn_category = IV
 +
| map = Idaho
 +
| map_width = 176
 +
| map_caption =
 +
| location = [[Southwestern Idaho|Southwestern]] [[Idaho]] and eastern [[Oregon]], ([[United States|USA]])
 +
| nearest_city = [[Nampa, Idaho]]
 +
| lat_d = 43
 +
| lat_m = 33
 +
| lat_s =
 +
| lat_NS = N
 +
| long_d = 116
 +
| long_m = 40
 +
| long_s =
 +
| long_EW = W
 +
| area = {{convert|10548|acre|sqmi km2}}<ref name="area">{{FWS area|2009}}</ref>
 +
| established = {{start date|1909|2|25}}
 +
| visitation_num =
 +
| visitation_year =
 +
| governing_body = [[United States Fish and Wildlife Service|U.S. Fish and Wildlife Service]]
 +
| url = http://www.fws.gov/deerflat/
 +
}}
 +
 +
|{{Infobox protected area
 +
| name = Deer Flat National Wildlife Refuge
 +
| alt_name =
 +
| iucn_category = IV
 +
| map = Idaho
 +
| map_width = 176
 +
| map_caption =
 +
| location = [[Southwestern Idaho|Southwestern]] [[Idaho]] and eastern [[Oregon]], ([[United States|USA]])
 +
| nearest_city = [[Nampa, Idaho]]
 +
| lat_d = 43
 +
| lat_m = 33
 +
| lat_s =
 +
| lat_NS = N
 +
| long_d = 116
 +
| long_m = 40
 +
| long_s =
 +
| long_EW = W
 +
| area = {{convert|10548|acre|sqmi km2}}<ref name="area">{{FWS area|2009}}</ref>
 +
| established = {{start date|1909|2|25}}
 +
| visitation_num =
 +
| visitation_year =
 +
| governing_body = [[United States Fish and Wildlife Service|U.S. Fish and Wildlife Service]]
 +
| url = http://www.fws.gov/deerflat/
 +
}}
 +
|}
 +
 +
===Second Example===
 +
{|
 +
! Current version
 +
! First proposed version
 +
! Reserved for a Second proposed version
 +
|- valign="top"
 +
|{{Infobox protected area
 +
| name = Yosemite National Park
 +
| iucn_category = II
 +
| photo = 1_yosemite_valley_tunnel_view 2010.JPG
 +
| photo_caption = Yosemite Valley from Tunnel View
 +
| map = USA relief
 +
| map_caption =
 +
| map_width =
 +
| location = [[Tuolumne County, California|Tuolumne]], [[Mariposa County, California|Mariposa]], & [[Madera County, California|Madera]] counties, [[California]], [[United States|USA]]
 +
| nearest_city = [[Mariposa, California]]
 +
| lat_d = 37.7452032
 +
| long_d = -119.5982210
 +
| region = US-CA
 +
| scale = 200000
 +
| coords_ref = <ref name="gnis">{{cite gnis |id=1660219 |name=Yosemite Village}}</ref>
 +
| area = {{convert|761268|acre}}<ref name="acres">{{NPS area|2010}}</ref>
 +
| established = {{start date|1890|10|1}}
 +
| visitation_num = 3,563,293
 +
| visitation_year = 2010
 +
| visitation_ref = <ref name="stats">{{NPS Visitation}}</ref>
 +
| governing_body = [[National Park Service]]
 +
}}
 +
 +
|{{Infobox protected area/sandbox
 +
| name = Yosemite National Park
 +
| iucn_category = II
 +
| photo = 1_yosemite_valley_tunnel_view 2010.JPG
 +
| photo_caption = Yosemite Valley from Tunnel View
 +
| map = USA relief
 +
| map_caption =
 +
| map_width =
 +
| location = [[Tuolumne County, California|Tuolumne]], [[Mariposa County, California|Mariposa]], & [[Madera County, California|Madera]] counties, [[California]], [[United States|USA]]
 +
| nearest_city = [[Mariposa, California]]
 +
| lat_d = 37.7452032
 +
| long_d = -119.5982210
 +
| region = US-CA
 +
| scale = 200000
 +
| coords_ref = <ref name="gnis">{{cite gnis |id=1660219 |name=Yosemite Village}}</ref>
 +
| area = {{convert|761268|acre}}<ref name="acres">{{NPS area|2010}}</ref>
 +
| established = {{start date|1890|10|1}}
 +
| visitation_num = 3,563,293
 +
| visitation_year = 2010
 +
| visitation_ref = <ref name="stats">{{NPS Visitation}}</ref>
 +
| governing_body = [[National Park Service]]
 +
}}
 +
 +
|{{Infobox protected area
 +
| name = Yosemite National Park
 +
| iucn_category = II
 +
| photo = 1_yosemite_valley_tunnel_view 2010.JPG
 +
| photo_caption = Yosemite Valley from Tunnel View
 +
| map = USA relief
 +
| map_caption =
 +
| map_width =
 +
| location = [[Tuolumne County, California|Tuolumne]], [[Mariposa County, California|Mariposa]], & [[Madera County, California|Madera]] counties, [[California]], [[United States|USA]]
 +
| nearest_city = [[Mariposa, California]]
 +
| lat_d = 37.7452032
 +
| long_d = -119.5982210
 +
| region = US-CA
 +
| scale = 200000
 +
| coords_ref = <ref name="gnis">{{cite gnis |id=1660219 |name=Yosemite Village}}</ref>
 +
| area = {{convert|761268|acre}}<ref name="acres">{{NPS area|2010}}</ref>
 +
| established = {{start date|1890|10|1}}
 +
| visitation_num = 3,563,293
 +
| visitation_year = 2010
 +
| visitation_ref = <ref name="stats">{{NPS Visitation}}</ref>
 +
| governing_body = [[National Park Service]]
 +
}}
 +
|}
 +
 +
 +
 +
 +
 +
 +
  
 
==[[Aleutian World War II National Historic Area]]==
 
==[[Aleutian World War II National Historic Area]]==

Revision as of 18:14, 23 August 2011

Tests of proposed versions

First Example

Current version First proposed version Reserved for a Second proposed version
Deer Flat National Wildlife Refuge
IUCN category IV (habitat/species management area)
Lua error in Module:Location_map at line 403: attempt to index field 'wikibase' (a nil value).
LocationSouthwestern Idaho and eastern Oregon, (USA)
Nearest cityScript error: No such module "If empty".
Area10,548 acres (16.481 sq mi; 42.69 km2)[1]
EstablishedScript error: No such module "If empty".
Governing bodyScript error: No such module "If empty".
Template:URL
Script error: No such module "If empty".
Deer Flat National Wildlife Refuge
IUCN category IV (habitat/species management area)
Lua error in Module:Location_map at line 403: attempt to index field 'wikibase' (a nil value).
LocationSouthwestern Idaho and eastern Oregon, (USA)
Nearest cityScript error: No such module "If empty".
Area10,548 acres (16.481 sq mi; 42.69 km2)[1]
EstablishedScript error: No such module "If empty".
Governing bodyScript error: No such module "If empty".
Template:URL
Script error: No such module "If empty".
Deer Flat National Wildlife Refuge
IUCN category IV (habitat/species management area)
Lua error in Module:Location_map at line 403: attempt to index field 'wikibase' (a nil value).
LocationSouthwestern Idaho and eastern Oregon, (USA)
Nearest cityScript error: No such module "If empty".
Area10,548 acres (16.481 sq mi; 42.69 km2)[1]
EstablishedScript error: No such module "If empty".
Governing bodyScript error: No such module "If empty".
Template:URL
Script error: No such module "If empty".

Second Example

Current version First proposed version Reserved for a Second proposed version
Yosemite National Park
IUCN category II (national park)
1 yosemite valley tunnel view 2010.JPG
Yosemite Valley from Tunnel View
Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/USA relief" does not exist.
LocationTuolumne, Mariposa, & Madera counties, California, USA
Nearest cityScript error: No such module "If empty".
Area761,268 acres (308,074 ha)[2]
EstablishedScript error: No such module "If empty".
Visitors3,563,293Template:Sp(in 2010)[3]
Governing bodyScript error: No such module "If empty".
Script error: No such module "If empty".
Yosemite National Park
IUCN category II (national park)
1 yosemite valley tunnel view 2010.JPG
Yosemite Valley from Tunnel View
Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/USA relief" does not exist.
LocationTuolumne, Mariposa, & Madera counties, California, USA
Nearest cityScript error: No such module "If empty".
Area761,268 acres (308,074 ha)[2]
EstablishedScript error: No such module "If empty".
Visitors3,563,293Template:Sp(in 2010)[3]
Governing bodyScript error: No such module "If empty".
Script error: No such module "If empty".
Yosemite National Park
IUCN category II (national park)
1 yosemite valley tunnel view 2010.JPG
Yosemite Valley from Tunnel View
Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/USA relief" does not exist.
LocationTuolumne, Mariposa, & Madera counties, California, USA
Nearest cityScript error: No such module "If empty".
Area761,268 acres (308,074 ha)[2]
EstablishedScript error: No such module "If empty".
Visitors3,563,293Template:Sp(in 2010)[3]
Governing bodyScript error: No such module "If empty".
Script error: No such module "If empty".





Aleutian World War II National Historic Area

Template:Testcases side by side

Ocmulgee National Monument

Template:Testcases side by side

Yosemite

Uses {{Location map}} Template:Testcases side by side

Upper and Lower Table Rock

Uses {{Superimpose}} Template:Testcases side by side

Dry Island Buffalo Jump Provincial Park

Uses {{Location map}} Template:Testcases side by side

Ellis Island

Template:Testcases side by side

Reference test

  1. 1.0 1.1 1.2 "Annual Report of Lands as of September 30, 2009" (PDF). United States Fish and Wildlife Service.
  2. 2.0 2.1 2.2 Template:NPS area
  3. 3.0 3.1 3.2 Template:NPS Visitation
  4. 4.0 4.1 4.2 "Yosemite Village". Geographic Names Information System. United States Geological Survey.