Difference between revisions of "Template:Infobox protected area/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(→‎Yosemite: fix typo)
imported>Droll
(added test cases for new map option)
Line 1: Line 1:
 
{{Template test cases notice}}
 
{{Template test cases notice}}
 +
__TOC__
 +
==Test of new map option==
 +
{| style="background-color: transparent" {{#ifeq:{{{3}}}|center|align="center"}}
 +
|+ Side by side comparison
 +
! Using {{tl|Superimpose}}
 +
! Using {{tl|Location map USA2}}
 +
! Using {{tl|Location map USA2}} /w relief=1
 +
|- valign=top
 +
|{{Infobox protected area
 +
| name = Yosemite National Park
 +
| iucn_category = II
 +
| map = US_Locator_Blank.svg
 +
| map_caption =
 +
| map_width =
 +
| locator_x = 20
 +
| locator_y = 84
 +
| location = [[Tuolumne County, California|Tuolumne]], [[Mariposa County, California|Mariposa]], & [[Madera County, California|Madera]] Counties, [[California]], [[United States|USA]]
 +
| nearest_city = [[Mariposa, California]]
 +
| coords = {{Coord|37|50|N|119|30|W|region:US_type:landmark|display=inline,title}}
 +
| area = {{convert|761268|acre|km2}}
 +
| established = {{start date|1890|10|1}}
 +
| visitation_num = 3,737,472
 +
| visitation_year = 2009
 +
| governing_body = [[National Park Service]]
 +
}}
 +
|{{User:Droll/subpages/sandbox5
 +
| name = Yosemite National Park
 +
| iucn_category = II
 +
| map = USA2
 +
| map_caption =
 +
| map_width =
 +
| relief =
 +
| locator_x = 20
 +
| locator_y = 84
 +
| location = [[Tuolumne County, California|Tuolumne]], [[Mariposa County, California|Mariposa]], & [[Madera County, California|Madera]] Counties, [[California]], [[United States|USA]]
 +
| nearest_city = [[Mariposa, California]]
 +
| lat_d = 37
 +
| lat_m = 50
 +
| lat_s =
 +
| lat_NS = N
 +
| long_d = 119
 +
| long_m = 30
 +
| long_s =
 +
| long_EW = W
 +
| area = {{convert|761268|acre|km2}}
 +
| established = {{start date|1890|10|1}}
 +
| visitation_num = 3,737,472
 +
| visitation_year = 2009
 +
| governing_body = [[National Park Service]]
 +
}}
 +
|{{User:Droll/subpages/sandbox5
 +
| name = Yosemite National Park
 +
| iucn_category = II
 +
| map = USA2
 +
| map_caption =
 +
| map_width =
 +
| relief = 1
 +
| locator_x = 20
 +
| locator_y = 84
 +
| location = [[Tuolumne County, California|Tuolumne]], [[Mariposa County, California|Mariposa]], & [[Madera County, California|Madera]] Counties, [[California]], [[United States|USA]]
 +
| nearest_city = [[Mariposa, California]]
 +
| lat_d = 37
 +
| lat_m = 50
 +
| lat_s =
 +
| lat_NS = N
 +
| long_d = 119
 +
| long_m = 30
 +
| long_s =
 +
| long_EW = W
 +
| area = {{convert|761268|acre|km2}}
 +
| established = {{start date|1890|10|1}}
 +
| visitation_num = 3,737,472
 +
| visitation_year = 2009
 +
| governing_body = [[National Park Service]]
 +
}}
 +
|}
  
 
==Yosemite==
 
==Yosemite==

Revision as of 00:09, 14 October 2010

Test of new map option

Side by side comparison
Using {{Superimpose}} Using {{Location map USA2}} Using {{Location map USA2}} /w relief=1
Yosemite National Park
IUCN category II (national park)
Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/US_Locator_Blank.svg" does not exist.
LocationTuolumne, Mariposa, & Madera Counties, California, USA
Nearest cityScript error: No such module "If empty".
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Area761,268 acres (3,080.74 km2)
EstablishedScript error: No such module "If empty".
Visitors3,737,472Template:Sp(in 2009)
Governing bodyScript error: No such module "If empty".
Script error: No such module "If empty".
User:Droll/subpages/sandbox5 User:Droll/subpages/sandbox5

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