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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(tweak)
imported>Hike395
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== with lat_d, long_d and elevation with map ==
+
== 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/sandbox
 
| name = name
 
| other_name = other_name
 
| photo = Owens River from tableland-750px.jpg
 
| photo_size = 256
 
| photo_caption = photo_caption
 
| photo_alt = photo_alt
 
| map = USA
 
| map_size = map_size
 
| 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
 
| elevation = 99 <!--| elevation_m = elevation_m | elevation_ft = elevation_ft -->
 
| elevation_ref = elevation_ref
 
| direction = direction
 
| length = 33
 
| width = 33
 
| depth = 33
 
| type = type
 
| age = age
 
| boundaries = boundaries
 
| topo = topo
 
| towns = towns
 
| traversed = traversed
 
}}
 
| center }}
 
  
== with coordinates and elevation_ft no map==
+
==With no map==
{{testcases side by side
+
{{testcase table
|{{Infobox valley
 
 
  | name = name
 
  | name = name
 
  | other_name = other_name
 
  | other_name = other_name
Line 73: Line 40:
 
  | photo_alt = photo_alt
 
  | photo_alt = photo_alt
 
  | coordinates = {{coord|36|48|09|N|118|11|59|W}}
 
  | coordinates = {{coord|36|48|09|N|118|11|59|W}}
  | coordinates_ref = ref
+
  | coordinates_ref = <ref>coordinates_ref</ref>
 
  | location = location
 
  | location = location
 
  | elevation_ft = 99  
 
  | elevation_ft = 99  
  | elevation_ref = elevation_ref
+
  | elevation_ref = <ref>elevation_ref</ref>
 
  | direction = direction
 
  | direction = direction
 
  | length = 33
 
  | length = 33
Line 87: Line 54:
 
  | towns = towns
 
  | towns = towns
 
  | traversed = traversed
 
  | traversed = traversed
 +
| watercourses = watercourses
 
}}
 
}}
|{{Infobox valley
+
 
| name = name
+
== Test of Oak Creek Canyon ==
| other_name = other_name
+
 
| photo = Owens River from tableland-750px.jpg
+
{{testcase table
| photo_size = 256
+
|name = Oak Creek Canyon
| photo_caption = photo_caption
+
|photo = Oak Crk Canyon.jpg
| photo_alt = photo_alt
+
|photo_size = 200
  | coordinates = {{coord|36|48|09|N|118|11|59|W}}
+
|length = {{convert|12|mi|km}}
| coordinates_ref = ref
+
|direction = North-South
| location = location
+
|width = {{convert|0.8|to|2.5|mi|km}}
| elevation_ft = 99
+
|coordinates = {{coord|34|54|45|N|111|43|37|W|display=inline}}
| elevation_ref = elevation_ref
+
|map = Arizona
| direction = direction
+
|map_size = 180
| length = 33
+
|map_caption = Location in Arizona
| width = 33
+
|traversed = [[Arizona State Route 89A]]
| depth = 33
+
}}
| type = type
+
 
| age = age
+
==Test of Antelope Canyon (decimal degrees)==
| boundaries = boundaries
+
{{testcase table
| topo = topo
+
| name = Antelope Canyon
| towns = towns
+
| other_name = {{spell-nv|Tsé bighánílíní dóó Hazdistazí}} {{in lang|Nv}}
| traversed = traversed
+
| photo = USA Antelope-Canyon.jpg
 +
| photo_width = 220
 +
| photo_caption = A beam of light in Upper Antelope Canyon
 +
| photo_alt =  
 +
| map = Arizona
 +
| map_width = 194
 +
| map_alt =
 +
| map_caption =
 +
| label =
 +
| label_position =
 +
| coordinates={{coord|36.86182|-111.374288|display=inline}}
 +
| coordinates_ref =
 +
| location = [[Navajo Nation]], near [[Page, Arizona]]
 +
| elevation = | elevation_m = | elevation_ft =  
 +
| elevation_ref =
 +
| direction =
 +
| length =
 +
| width =
 +
| depth =  
 +
| type =  
 +
| age =
 +
| boundaries =
 +
| topo =
 +
| towns =
 +
| traversed =  
 +
}}
 +
==Test of Bitter Springs Valley (geobox conversion)==
 +
{{Testcase table
 +
|name=Bitter Spring Valley
 +
|photo= Lake Mead & Boulder City.jpg
 +
|photo_size=265px
 +
|photo_caption=
 +
| country = United States
 +
|state = Nevada
 +
|region=
 +
|region_type=Regions
 +
|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]]
 
}}
 
}}
| center }}
+
 
 +
==Fake references==
 +
{{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