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

From blackwiki
Jump to navigation Jump to search
imported>Droll
imported>Paul 012
(Fix so that left-right comparisons are between template and sandbox.)
Line 10: Line 10:
 
|{{Infobox protected area
 
|{{Infobox protected area
 
| name = Example using ''locator_x'' & ''locator_y''
 
| name = Example using ''locator_x'' & ''locator_y''
 
 
| alt_name =  
 
| alt_name =  
 
| mark = City locator 0.svg
 
| mark = City locator 0.svg
Line 18: Line 17:
 
| locator_y = 209
 
| 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
 
|{{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
 
| name = Example using ''locator_x'' & ''locator_y'' after width adjustment
 
| alt_name =  
 
| alt_name =  
Line 32: Line 52:
  
 
{{testcases side by side
 
{{testcases side by side
 +
|{{Infobox protected area
 +
| name = Example using ''x'' & ''y''
 +
| alt_name =
 +
| mark = City locator 0.svg
 +
| map = USA California location map.svg
 +
| map_width =
 +
| x = 654
 +
| y = 740
 +
}}
 
|{{Infobox protected area/sandbox
 
|{{Infobox protected area/sandbox
 
| name = Example using ''x'' & ''y''
 
| name = Example using ''x'' & ''y''
| alt_name = Using Sandbox
+
| alt_name =  
 
| mark = City locator 0.svg
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map = USA California location map.svg
 
| map_width =  
 
| map_width =  
 +
| x = 654
 +
| y = 740
 +
}}
 +
}}
 +
 +
{{testcases side by side
 +
|{{Infobox protected area
 +
| name = Example using ''x'' & ''y'' after width adjustment
 +
| alt_name =
 +
| mark = City locator 0.svg
 +
| map = USA California location map.svg
 +
| map_width = 180
 
| x = 654
 
| x = 654
 
| y = 740
 
| y = 740
Line 43: Line 84:
 
|{{Infobox protected area/sandbox
 
|{{Infobox protected area/sandbox
 
| name = Example using ''x'' & ''y'' after width adjustment
 
| name = Example using ''x'' & ''y'' after width adjustment
| alt_name = Using Sandbox
+
| alt_name =  
 
| mark = City locator 0.svg
 
| mark = City locator 0.svg
 
| map = USA California location map.svg
 
| map = USA California location map.svg

Revision as of 10:05, 12 December 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

Template:Testcases side by side

Using x and y the marker retains is proper position.

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