Difference between revisions of "Template:Infobox mountain/testcases1"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m (Updated links used for "Washington".)
imported>Frietjes
Line 3: Line 3:
  
 
==Testing map functionality ==
 
==Testing map functionality ==
=== Sandbox version ===
+
{{testcase table|_template2=Infobox mountain/sandbox2
 
 
{|
 
|{{Infobox mountain/sandbox2
 
 
| name = Mount Hood
 
| name = Mount Hood
 
| map = Oregon
 
| map = Oregon
Line 15: Line 12:
 
| display = inline
 
| display = inline
 
}}
 
}}
 
+
{{testcase table|_template2=Infobox mountain/sandbox2
|{{Infobox mountain/sandbox2
 
 
| name = Mount Hood
 
| name = Mount Hood
| map = USA Oregon location map.svg
+
| map = Oregon
| map_caption = '''Uses x, y'''
+
| map_caption = '''Uses location map'''
| map_size = 220
 
| x = 374
 
| y = 182
 
| coords = {{coord|45.373514|-121.695918|format=dms|display=inline}}
 
}}
 
 
 
|{{Infobox mountain/sandbox2
 
| name = Mount Hood
 
| map = USA Oregon location map.svg
 
| map_caption = '''Uses x%, y%'''
 
 
| map_size = 220
 
| map_size = 220
| x% = 37.4
 
| y% = 23.9
 
 
| coords = {{coord|45.373514|-121.695918|format=dms|display=inline}}
 
| coords = {{coord|45.373514|-121.695918|format=dms|display=inline}}
 
}}
 
}}
 
+
{{testcase table|_template2=Infobox mountain/sandbox2
|{{Infobox mountain/sandbox2
 
 
| name = Mount Hood
 
| name = Mount Hood
 
| map = USA Oregon location map.svg
 
| map = USA Oregon location map.svg
Line 43: Line 26:
 
| coords = {{coord|45.373514|-121.695918|format=dms|display=inline}}
 
| coords = {{coord|45.373514|-121.695918|format=dms|display=inline}}
 
}}
 
}}
|}
 
{{clear}}
 
 
=== Active template ===
 
 
{|
 
|{{Infobox mountain
 
| name = Mount Hood
 
| map = Oregon
 
| map_caption = '''Uses location map'''
 
| map_size = 220
 
| lat_d = 45.373514
 
| long_d = -121.695918
 
| display = inline
 
}}
 
 
|{{Infobox mountain
 
| name = Mount Hood
 
| map = USA Oregon location map.svg
 
| map_caption = '''Uses x, y'''
 
| map_size = 220
 
| x = 374
 
| y = 182
 
| coordinates = {{coord|45.373514|-121.695918|format=dms|display=inline}}
 
}}
 
 
|{{Infobox mountain
 
| name = Mount Hood
 
| map = USA Oregon location map.svg
 
| map_caption = '''Uses x%, y%'''
 
| map_size = 220
 
| x% = 37.4
 
| y% = 23.9
 
| coordinates = {{coord|45.373514|-121.695918|format=dms|display=inline}}
 
}}
 
 
|{{Infobox mountain
 
| name = Mount Hood
 
| map = USA Oregon location map.svg
 
| map_caption = '''Uses image only'''
 
| map_size = 220
 
| coordinates = {{coord|45.373514|-121.695918|format=dms|display=inline}}
 
}}
 
|}
 
  
 
== [[K2]] ==
 
== [[K2]] ==

Revision as of 13:18, 14 March 2017

Testing map functionality

Template:Testcase table Template:Testcase table Template:Testcase table

K2

Template:Testcase table

Slieve Gallion

Label is bold

Template:Testcase table

Mount Everest

photo and map_relief not specified

Template:Testcase table

relief=0

Template:Testcase table

map_relief=1 and no name

Template:Testcase table

Brienzer Rothorn

Template:Testcase table

Baintha Brakk

Template:Testcase table

Ben Nevis

Template:Testcase table

Hauhungatahi

Template:Testcase table

Mount Fuji w/o photo or map

Template:Testcase table

Mount Fuji with photo

Template:Testcase table

Mount Baker

Template:Testcase table

Sunwapta Peak

Test of an infobox without a photo.

Template:Testcase table

Mount Fernow

Another photo-free test case

Template:Testcase table

Hualālai

This test uses x,y pixel coordinates for the marker

Template:Testcase table

References