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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(new test case)
imported>Hike395
 
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== all params ==
+
== With map ==
{{testcases side by side
+
{{testcase table
|{{Infobox valley
 
 
  | name = name
 
  | name = name
 
  | other_name = other_name
 
  | other_name = other_name
Line 9: Line 8:
 
  | photo_alt = photo_alt
 
  | photo_alt = photo_alt
 
  | map = USA
 
  | map = USA
  | map_size = map_size
+
  | map_size = 256
 
  | map_alt = map_alt
 
  | map_alt = map_alt
 
  | map_caption = map_caption
 
  | map_caption = map_caption
 
  | label = label
 
  | label = label
 
  | label_position = label_position
 
  | label_position = label_position
  | lat_d = 36 |lat_m = 48 |lat_s = 09 |lat_NS = N
+
  | coordinates = {{coord|36|48|09|N|118|11|59|W|display=inline}}
| long_d = 118 |long_m = 11 |long_s = 59 |long_EW = W
+
  | coordinates_ref = <ref>coordinates_ref</ref>
  | coordinates_ref = ref
 
 
  | location = location
 
  | location = location
  | elevation = 99 <!--| elevation_m = 99 | elevation_ft = 99 -->
+
  | elevation = 99
  | elevation_ref = elevation_ref
+
  | elevation_ref = <ref>elevation_ref</ref>
 
  | direction = direction
 
  | direction = direction
 
  | length = 33
 
  | length = 33
Line 30: Line 28:
 
  | towns = towns
 
  | towns = towns
 
  | traversed = traversed
 
  | traversed = traversed
 +
| watercourses = watercourses
 
}}
 
}}
|{{Infobox valley
+
 
 +
==With no map==
 +
{{testcase table
 
  | name = name
 
  | name = name
 
  | other_name = other_name
 
  | other_name = other_name
Line 38: Line 39:
 
  | photo_caption = photo_caption
 
  | photo_caption = photo_caption
 
  | photo_alt = photo_alt
 
  | photo_alt = photo_alt
  | map = USA
+
  | coordinates = {{coord|36|48|09|N|118|11|59|W}}
| map_size = map_size
+
  | coordinates_ref = <ref>coordinates_ref</ref>
| map_alt = map_alt
 
| map_caption = map_caption
 
| label = label
 
| label_position = label_position
 
| lat_d = 36 |lat_m = 48 |lat_s = 09 |lat_NS = N
 
| long_d = 118 |long_m = 11 |long_s = 59 |long_EW = W
 
  | coordinates_ref = ref
 
 
  | location = location
 
  | location = location
  | elevation = 99 <!--| elevation_m = elevation_m | elevation_ft = elevation_ft -->
+
  | elevation_ft = 99  
  | elevation_ref = elevation_ref
+
  | elevation_ref = <ref>elevation_ref</ref>
 
  | direction = direction
 
  | direction = direction
 
  | length = 33
 
  | length = 33
Line 60: Line 54:
 
  | towns = towns
 
  | towns = towns
 
  | traversed = traversed
 
  | traversed = traversed
 +
| watercourses = watercourses
 +
}}
 +
 +
== Test of Oak Creek Canyon ==
 +
 +
{{testcase table
 +
|name = Oak Creek Canyon
 +
|photo = Oak Crk Canyon.jpg
 +
|photo_size = 200
 +
|length = {{convert|12|mi|km}}
 +
|direction = North-South
 +
|width = {{convert|0.8|to|2.5|mi|km}}
 +
|coordinates = {{coord|34|54|45|N|111|43|37|W|display=inline}}
 +
|map = Arizona
 +
|map_size = 180
 +
|map_caption = Location in Arizona
 +
|traversed = [[Arizona State Route 89A]]
 
}}
 
}}
| center }}
 
  
==Catoctin Valley (new parameters)==
+
==Test of Antelope Canyon (decimal degrees)==
{{testcases side by side|{{Infobox Valley
+
{{testcase table
| Name = Catoctin Valley
+
| name = Antelope Canyon
| other_name = Valley of Sleeping Cats
+
| other_name = {{spell-nv|Tsé bighánílíní dóó Hazdistazí}} {{in lang|Nv}}
| Photo = Catoctin - Cunningham Falls.jpg
+
| photo = USA Antelope-Canyon.jpg
| photo_size=248
+
| photo_width = 220
| photo_alt = Pretty waterfall
+
| photo_caption = A beam of light in Upper Antelope Canyon
| Caption = Cunningham Falls
+
| photo_alt =  
| Location = [[Loudoun County, Virginia|Loudoun County]], [[Virginia]]
+
| map = Arizona
| elevation_ft=500
+
| map_width = 194
| Axis Direction =North-South
+
| map_alt =
| Axis Length ={{convert|11|mi|km}}
+
| map_caption =
| Width ={{convert|7|mi|km}}
+
| label =
| Geographic boundaries = [[Catoctin Mountain]] (east)<br>[[Short Hill Mountain]](west)<br>[[Potomac River]] (north)
+
| label_position =
| lat_d = 39 | lat_m = 16 | lat_s = 32 | lat_NS = N | long_d = 077 | long_m = 33 | long_s = 04 | long_EW = W
+
| coordinates={{coord|36.86182|-111.374288|display=inline}}
| map=Virginia | map_size=200 | map_alt = Virginia map
+
| coordinates_ref =
| coordinates_ref = <ref>{{cite gnis|id=1464547|name=Catoctin Creek}}</ref>
+
| location = [[Navajo Nation]], near [[Page, Arizona]]
| Topographic map = [[USGS]] Point of Rocks
+
| elevation = | elevation_m = | elevation_ft =  
| Population Centers = [[Lovettsville, Virginia|Lovettsville]]<br>[[Waterford, Virginia|Waterford]]
+
| elevation_ref =
| Traversed by =
+
| direction =
| Transversed by = [[Virginia Route 287]]
+
| length =
}}|{{Infobox Valley/sandbox
+
| width =
| Name = Catoctin Valley
+
| depth =  
| other_name = Valley of Sleeping Cats
+
| type =  
| Photo = Catoctin - Cunningham Falls.jpg
+
| age =
| photo_size = 248
+
| boundaries =
| photo_alt = Pretty waterfall
+
| topo =
| Caption = Cunningham Falls
+
| towns =
| Location = [[Loudoun County, Virginia|Loudoun County]], [[Virginia]]
+
| traversed =
| elevation_ft = 500
+
}}
| Axis Direction =North-South
+
==Test of Bitter Springs Valley (geobox conversion)==
| Axis Length ={{convert|11|mi|km}}
+
{{Testcase table
| Width ={{convert|7|mi|km}}
+
|name=Bitter Spring Valley
| Geographic boundaries = [[Catoctin Mountain]] (east)<br>[[Short Hill Mountain]](west)<br>[[Potomac River]] (north)
+
|photo= Lake Mead & Boulder City.jpg
| lat_d = 39 | lat_m = 16 | lat_s = 32 | lat_NS = N | long_d = 077 | long_m = 33 | long_s = 04 | long_EW = W
+
|photo_size=265px
| map=Virginia | map_size=200 | map_alt = Virginia map
+
|photo_caption=
| coordinates_ref = <ref>{{cite gnis|id=1464547|name=Catoctin Creek}}</ref>
+
| country = United States
| Topographic map = [[USGS]] Point of Rocks
+
|state = Nevada
| Population Centers = [[Lovettsville, Virginia|Lovettsville]]<br>[[Waterford, Virginia|Waterford]]
+
|region=
| Traversed by =
+
|region_type=Regions
| Transversed by = [[Virginia Route 287]]
+
|district=[[Clark County, Nevada|Clark]]
}} }}
+
|district1=
 +
|district_type=County
 +
| city = Echo Bay, Nevada
 +
| city1= Overton Beach, Nevada
 +
| city2= ([[Callville Bay]] Resort and Marina)
 +
| city3= Overton, Nevada
 +
| city_type= Communities
 +
| lake = [[Lake Mead]]  
 +
| river = Bitter Spring Wash
 +
| coordinates                = {{coord|36|18|30|N|114|37|48|W|display=inline,title}}
 +
| border=[[Muddy Mountains]]
 +
| border1=[[Lake Mead]]
 +
| border2=[[Black Mountains (Nevada)]]
 +
| border3=[[Black Mountains (Arizona)]]
 +
| length_mi=13 | length_orientation=ENE
 +
| width_mi= 7
 +
| map = USA Nevada| map_caption = Bitter Spring Valley in Nevada
 +
}}
 +
==Embedded==
 +
{{test case nowiki|format=columns|showcode=no|<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 = 1
 +
| 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 = {{__TEMPLATENAME__
 +
|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]]
 +
}}
 +
|coordinates = {{coord|36.0552608|-112.1218355|region:US-AZ_scale:1000000|display=inline}}
 +
| 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]]
 +
}}</nowiki>}}
 +
 
 +
==Coachella Valley (native name)==
 +
{{Testcase table
 +
| name=Coachella Valley
 +
| native_name = {{lang-es|Valle de Coachella}}
 +
| map_image = Wpdms shdrlfi020l coachella valley.jpg
 +
| map_caption = Coachella Valley
 +
| location = [[California]], United States
 +
| coordinates = {{Coord|33.7|-116.2|type:landmark_region:US-CA|display=inline,title}}
 +
| width = {{convert|15|mi|km}}
 +
| border1 = [[Salton Sea]] (southeast)
 +
| border2 =[[Santa Rosa Mountains (California)|Santa Rosa Mountains]] (southwest)
 +
| border3 = [[San Jacinto Mountains]] (west)
 +
| border4 = [[Little San Bernardino Mountains]] (east)
 +
| border5 =[[San Gorgonio Mountain]] (north)
 +
| city1 = [[Indio, California|Indio]]
 +
| city2 = [[Palm Springs, California|Palm Springs]]
 +
| city3 = [[Palm Desert, California|Palm Desert]]
 +
| traversed = [[Interstate 10]]
 +
}}
  
==Notes==
+
==Fake references==
 
{{reflist}}
 
{{reflist}}

Latest revision as of 18:46, 3 May 2020

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

Test of Bitter Springs Valley (geobox conversion)

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 399: Malformed coordinates value.
LocationCoconino and Mohave counties, Arizona, United States
Nearest cityScript error: No such module "If empty".
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.[1]
Area1,217,403 acres (492,666 ha)[2]
EstablishedScript error: No such module "If empty".
Visitors4,388,386Template:Sp(in 2010)[3]
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 399: Malformed coordinates value.
LocationCoconino and Mohave counties, Arizona, United States
Nearest cityScript error: No such module "If empty".
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.[1]
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".

Coachella Valley (native name)

Template:Testcase table

Fake references

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