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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(add a test of proposed new paramters)
imported>Droll
(tidied up)
Line 51: Line 51:
 
}}
 
}}
 
}}
 
}}
 
==Tests of proposed versions==
 
 
===First Example===
 
{|
 
! Current version
 
: Uses class infobox + some inline styling
 
: uses fontsize 90% + custom styling
 
! First proposed version
 
:Uses classs infobox and geography
 
: uses fontsize 90% per class geography
 
! Second proposed version
 
:Uses class infobox and less inline styling
 
: uses fontsize 88% per class infobox
 
|- valign="top"
 
|{{Infobox protected area
 
| name = Deer Flat National Wildlife Refuge
 
| alt_name =
 
| iucn_category = IV
 
| map = Idaho
 
| map_width = 176
 
| map_caption =
 
| location = [[Southwestern Idaho|Southwestern]] [[Idaho]] and eastern [[Oregon]], ([[United States|USA]])
 
| nearest_city = [[Nampa, Idaho]]
 
| lat_d = 43
 
| lat_m = 33
 
| lat_s =
 
| lat_NS = N
 
| long_d = 116
 
| long_m = 40
 
| long_s =
 
| long_EW = W
 
| area = {{convert|10548|acre|sqmi km2}}<ref name="area">{{FWS area|2009}}</ref>
 
| established = {{start date|1909|2|25}}
 
| visitation_num =
 
| visitation_year =
 
| governing_body = [[United States Fish and Wildlife Service|U.S. Fish and Wildlife Service]]
 
| url = http://www.fws.gov/deerflat/
 
}}
 
 
|{{Infobox protected area/sandbox
 
| name = Deer Flat National Wildlife Refuge
 
| alt_name =
 
| iucn_category = IV
 
| map = Idaho
 
| map_width = 176
 
| map_caption =
 
| location = [[Southwestern Idaho|Southwestern]] [[Idaho]] and eastern [[Oregon]], ([[United States|USA]])
 
| nearest_city = [[Nampa, Idaho]]
 
| lat_d = 43
 
| lat_m = 33
 
| lat_s =
 
| lat_NS = N
 
| long_d = 116
 
| long_m = 40
 
| long_s =
 
| long_EW = W
 
| area = {{convert|10548|acre|sqmi km2}}<ref name="area">{{FWS area|2009}}</ref>
 
| established = {{start date|1909|2|25}}
 
| visitation_num =
 
| visitation_year =
 
| governing_body = [[United States Fish and Wildlife Service|U.S. Fish and Wildlife Service]]
 
| url = http://www.fws.gov/deerflat/
 
}}
 
 
|{{Infobox protected area/sandbox1
 
| name = Deer Flat National Wildlife Refuge
 
| alt_name =
 
| iucn_category = IV
 
| map = Idaho
 
| map_width = 176
 
| map_caption =
 
| location = [[Southwestern Idaho|Southwestern]] [[Idaho]] and eastern [[Oregon]], ([[United States|USA]])
 
| nearest_city = [[Nampa, Idaho]]
 
| lat_d = 43
 
| lat_m = 33
 
| lat_s =
 
| lat_NS = N
 
| long_d = 116
 
| long_m = 40
 
| long_s =
 
| long_EW = W
 
| area = {{convert|10548|acre|sqmi km2}}<ref name="area">{{FWS area|2009}}</ref>
 
| established = {{start date|1909|2|25}}
 
| visitation_num =
 
| visitation_year =
 
| governing_body = [[United States Fish and Wildlife Service|U.S. Fish and Wildlife Service]]
 
| url = http://www.fws.gov/deerflat/
 
}}
 
|}
 
 
===Second Example===
 
{|
 
! Current version
 
! First proposed version
 
! Second proposed version
 
|- valign="top"
 
|{{Infobox protected area
 
| name = Yosemite National Park
 
| iucn_category = II
 
| photo = 1_yosemite_valley_tunnel_view 2010.JPG
 
| photo_caption = Yosemite Valley from Tunnel View
 
| map = USA relief
 
| map_caption =
 
| map_width =
 
| 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.7452032
 
| long_d = -119.5982210
 
| region = US-CA
 
| scale = 200000
 
| coords_ref = <ref name="gnis">{{cite gnis |id=1660219 |name=Yosemite Village}}</ref>
 
| area = {{convert|761268|acre}}<ref name="acres">{{NPS area|2010}}</ref>
 
| established = {{start date|1890|10|1}}
 
| visitation_num = 3,563,293
 
| visitation_year = 2010
 
| visitation_ref = <ref name="stats">{{NPS Visitation}}</ref>
 
| governing_body = [[National Park Service]]
 
}}
 
 
|{{Infobox protected area/sandbox
 
| name = Yosemite National Park
 
| iucn_category = II
 
| photo = 1_yosemite_valley_tunnel_view 2010.JPG
 
| photo_caption = Yosemite Valley from Tunnel View
 
| map = USA relief
 
| map_caption =
 
| map_width =
 
| 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.7452032
 
| long_d = -119.5982210
 
| region = US-CA
 
| scale = 200000
 
| coords_ref = <ref name="gnis">{{cite gnis |id=1660219 |name=Yosemite Village}}</ref>
 
| area = {{convert|761268|acre}}<ref name="acres">{{NPS area|2010}}</ref>
 
| established = {{start date|1890|10|1}}
 
| visitation_num = 3,563,293
 
| visitation_year = 2010
 
| visitation_ref = <ref name="stats">{{NPS Visitation}}</ref>
 
| governing_body = [[National Park Service]]
 
}}
 
 
|{{Infobox protected area/sandbox1
 
| name = Yosemite National Park
 
| iucn_category = II
 
| photo = 1_yosemite_valley_tunnel_view 2010.JPG
 
| photo_caption = Yosemite Valley from Tunnel View
 
| map = USA relief
 
| map_caption =
 
| map_width =
 
| 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.7452032
 
| long_d = -119.5982210
 
| region = US-CA
 
| scale = 200000
 
| coords_ref = <ref name="gnis">{{cite gnis |id=1660219 |name=Yosemite Village}}</ref>
 
| area = {{convert|761268|acre}}<ref name="acres">{{NPS area|2010}}</ref>
 
| established = {{start date|1890|10|1}}
 
| visitation_num = 3,563,293
 
| visitation_year = 2010
 
| visitation_ref = <ref name="stats">{{NPS Visitation}}</ref>
 
| governing_body = [[National Park Service]]
 
}}
 
|}
 
  
 
==[[Aleutian World War II National Historic Area]]==
 
==[[Aleutian World War II National Historic Area]]==

Revision as of 07:58, 21 November 2012

Demonstration of x and y parameters

The shift is not that great. In most browsers pressing CTRL + will magnify the page. Notice that the mark is at the intersection of the San Bernardina, Inyo and Kern counties.

Notice that marker shifts slightly to the right and down after map size adjustment.

Template:Testcases side by side

Using x and y the marker retains is proper position.

Template:Testcases side by side

Aleutian World War II National Historic Area

Template:Testcases side by side

Ocmulgee National Monument

Template:Testcases side by side

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