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

From blackwiki
Jump to navigation Jump to search
imported>Paul 012
(Fix so that left-right comparisons are between template and sandbox.)
imported>Droll
(cleaned up)
Line 3: Line 3:
  
 
==Demonstration of ''x'' and ''y'' parameters==
 
==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.
 
 
{{testcases side by side
 
|{{Infobox protected area
 
| name = Example using ''locator_x'' & ''locator_y''
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width =
 
| locator_x = 184
 
| locator_y = 209
 
}}
 
|{{Infobox protected area/sandbox
 
| name = Example using ''locator_x'' & ''locator_y''
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width =
 
| locator_x = 184
 
| locator_y = 209
 
}}
 
}}
 
 
{{testcases side by side
 
|{{Infobox protected area
 
| name = Example using ''locator_x'' & ''locator_y'' after width adjustment
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width = 180
 
| locator_x = 184
 
| locator_y = 209
 
}}
 
|{{Infobox protected area/sandbox
 
| name = Example using ''locator_x'' & ''locator_y'' after width adjustment
 
| alt_name =
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map_width = 180
 
| locator_x = 184
 
| locator_y = 209
 
}}
 
}}
 
 
Using ''x'' and ''y'' the marker retains is proper position.
 
  
 
{{testcases side by side
 
{{testcases side by side

Revision as of 21:24, 16 January 2013

Demonstration of x and y parameters

Template:Testcases side by side

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