Difference between revisions of "Template:Infobox valley/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(Add extra test case for decimal degrees)
imported>Izkala
(Testcase table)
Line 109: Line 109:
 
}}
 
}}
 
==Embedded==
 
==Embedded==
{{testcases side by side
+
{{test case nowiki|format=columns|showcode=no|<nowiki>
|{{Infobox protected area
+
{{Infobox protected area
 
| name = Grand Canyon National Park
 
| name = Grand Canyon National Park
 
| iucn_category = II
 
| iucn_category = II
Line 119: Line 119:
 
| location = [[Coconino County, Arizona|Coconino]] and [[Mohave County, Arizona|Mohave]] counties, [[Arizona]], [[United States]]
 
| location = [[Coconino County, Arizona|Coconino]] and [[Mohave County, Arizona|Mohave]] counties, [[Arizona]], [[United States]]
 
| nearest_city = [[Fredonia, Arizona]] (North Rim)<br />[[Tusayan, Arizona]] (South Rim)
 
| nearest_city = [[Fredonia, Arizona]] (North Rim)<br />[[Tusayan, Arizona]] (South Rim)
| embedded1 = {{Infobox valley
+
| embedded1 = {{__TEMPLATENAME__
 
|embed=Canyon information
 
|embed=Canyon information
 
|length = {{convert|277|mi|km|0}}
 
|length = {{convert|277|mi|km|0}}
Line 139: Line 139:
 
| visitation_ref = <ref>{{NPS visitation|accessdate=2011-06-05}}</ref>
 
| visitation_ref = <ref>{{NPS visitation|accessdate=2011-06-05}}</ref>
 
| governing_body = [[National Park Service]]
 
| governing_body = [[National Park Service]]
}}
+
}}</nowiki>}}
|{{Infobox protected area
 
| name = Grand Canyon National Park
 
| iucn_category = II
 
| photo = Grand Canyon National Park, North Rim in Arizona.jpg
 
| photo_caption = View of the North Rim of the Grand Canyon
 
| map = USA relief
 
| map_caption =
 
| location = [[Coconino County, Arizona|Coconino]] and [[Mohave County, Arizona|Mohave]] counties, [[Arizona]], [[United States]]
 
| nearest_city = [[Fredonia, Arizona]] (North Rim)<br />[[Tusayan, Arizona]] (South Rim)
 
| embedded1 = {{Infobox valley/sandbox
 
|embed=Canyon information
 
|length = {{convert|277|mi|km|0}}
 
|width = {{convert|4|to|18|mi|km|0}}
 
|elevation = approx. {{convert|2600|ft|m|-2}}
 
|watercourses=[[Colorado River]]
 
}}
 
| lat_d = 36.0552608 | lat_NS = N
 
| long_d = 112.1218355 | long_EW = W
 
| display = inline
 
| region = US-AZ
 
| scale = 1000000
 
| source = GNIS
 
| coords_ref = <ref name="gnis">{{cite gnis |id=20784 |name=Grand Canyon National Park Visitor Center |accessdate=2011-08-14}}</ref>
 
| area = {{convert|1217403|acre}}<ref>{{NPS area|2010|accessdate=2011-06-05}}</ref>
 
| established = {{start date|1919|2|26}}
 
| visitation_num = 4,388,386
 
| visitation_year = 2010
 
| visitation_ref = <ref>{{NPS visitation|accessdate=2011-06-05}}</ref>
 
| governing_body = [[National Park Service]]
 
}}}}
 
  
 
==Fake references==
 
==Fake references==
 
{{reflist}}
 
{{reflist}}

Revision as of 11:14, 7 June 2015

With map

Template:Testcase table

With no map

Template:Testcase table

Test of Oak Creek Canyon

Template:Testcase table

Test of Antelope Canyon (decimal degrees)

Template:Testcase table

Embedded

Side by side comparison
{{Infobox valley}}{{Infobox valley/sandbox}}
Grand Canyon National Park
IUCN category II (national park)
Grand Canyon National Park, North Rim in Arizona.jpg
View of the North Rim of the Grand Canyon
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.
LocationCoconino and Mohave counties, Arizona, United States
Nearest cityScript error: No such module "If empty".
Area1,217,403 acres (492,666 ha)[1]
EstablishedScript error: No such module "If empty".
Visitors4,388,386Template:Sp(in 2010)[2]
Governing bodyScript error: No such module "If empty".
Script error: No such module "If empty".
Grand Canyon National Park
IUCN category II (national park)
Grand Canyon National Park, North Rim in Arizona.jpg
View of the North Rim of the Grand Canyon
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.
LocationCoconino and Mohave counties, Arizona, United States
Nearest cityScript error: No such module "If empty".
Area1,217,403 acres (492,666 ha)[4]
EstablishedScript error: No such module "If empty".
Visitors4,388,386Template:Sp(in 2010)[5]
Governing bodyScript error: No such module "If empty".
Script error: No such module "If empty".

Fake references

  1. Template:NPS area
  2. Template:NPS visitation
  3. 3.0 3.1 "Grand Canyon National Park Visitor Center". Geographic Names Information System. United States Geological Survey. Retrieved 2011-08-14.
  4. Template:NPS area
  5. Template:NPS visitation