Template:Infobox protected area/testcases

From blackwiki
< Template:Infobox protected area
Revision as of 08:10, 27 August 2011 by imported>Droll (→‎Tests of proposed versions: added second proposed version)
Jump to navigation Jump to search

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.