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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(Introduced new examples)
imported>Droll
(→‎Tests of proposed versions: added second proposed version)
Line 7: Line 7:
 
! Current version
 
! Current version
 
! First proposed version
 
! First proposed version
! Reserved for a Second proposed version
+
! Second proposed version
 
|- valign="top"
 
|- valign="top"
 
|{{Infobox protected area
 
|{{Infobox protected area
Line 59: Line 59:
 
}}
 
}}
  
|{{Infobox protected area
+
|{{Infobox protected area/sandbox1
 
| name = Deer Flat National Wildlife Refuge
 
| name = Deer Flat National Wildlife Refuge
 
| alt_name =
 
| alt_name =
Line 89: Line 89:
 
! Current version
 
! Current version
 
! First proposed version
 
! First proposed version
! Reserved for a Second proposed version
+
! Second proposed version
 
|- valign="top"
 
|- valign="top"
 
|{{Infobox protected area
 
|{{Infobox protected area
Line 137: Line 137:
 
}}
 
}}
  
|{{Infobox protected area
+
|{{Infobox protected area/sandbox1
 
| name = Yosemite National Park
 
| name = Yosemite National Park
 
| iucn_category = II
 
| iucn_category = II
Line 160: Line 160:
 
}}
 
}}
 
|}
 
|}
 
 
 
 
 
 
 
  
 
==[[Aleutian World War II National Historic Area]]==
 
==[[Aleutian World War II National Historic Area]]==

Revision as of 08:10, 27 August 2011

Tests of proposed versions

First Example

Current version First proposed version 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".
Template:Infobox protected area/sandbox1

Second Example

Current version First proposed version 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".
Template:Infobox protected area/sandbox1

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 "Annual Report of Lands as of September 30, 2009" (PDF). United States Fish and Wildlife Service.
  2. 2.0 2.1 Template:NPS area
  3. 3.0 3.1 Template:NPS Visitation
  4. 4.0 4.1 "Yosemite Village". Geographic Names Information System. United States Geological Survey.