Difference between revisions of "Template:Location map~/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Jackmcbarn
(Undid revision 599530256 by Jackmcbarn (talk))
imported>Izkala
(Testcase tables)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
=== USA ===
 
=== USA ===
  
{{testcases side by side
+
{{Test case nowiki|format=columns|showcode=no|code=<nowiki>
|{{Location map+ | USA
+
{{Location map+ | USA
 
| width = 300
 
| width = 300
 
| float = right
 
| float = right
Line 12: Line 12:
 
| relief = 1
 
| relief = 1
 
| places =
 
| places =
   {{Location map~| USA
+
   {{__TEMPLATENAME__| USA
 
     | label = [[New York City|New York]]
 
     | label = [[New York City|New York]]
 
     | position =  
 
     | position =  
Line 25: Line 25:
 
     | alt = alt text for New York City
 
     | alt = alt text for New York City
 
     | link = New York City }}
 
     | link = New York City }}
   {{Location map~| USA
+
   {{__TEMPLATENAME__| USA
 
     | label = [[San Francisco]]
 
     | label = [[San Francisco]]
 
     | position =  
 
     | position =  
Line 38: Line 38:
 
     | alt = alt text for San Francisco
 
     | alt = alt text for San Francisco
 
     | link = San Francisco }}
 
     | link = San Francisco }}
   {{Location map~| USA
+
   {{__TEMPLATENAME__| USA
 
     | label = [[Houston]]
 
     | label = [[Houston]]
 
     | position =  
 
     | position =  
Line 48: Line 48:
 
     | link = Houston }}
 
     | link = Houston }}
 
}}
 
}}
|{{Location map+ | USA
+
</nowiki>}}
| width = 300
 
| float = right
 
| caption = Some cites in the United States
 
| relief = 1
 
| places =
 
  {{Location map~/sandbox | USA
 
    | label = [[New York City|New York]]
 
    | position =
 
    | background = white
 
    | mark = Cyan pog.svg
 
    | lat_deg = 40
 
    | lat_min = 43
 
    | lat_dir = N
 
    | lon_deg = 74
 
    | lon_min = 0
 
    | lon_dir = W
 
    | alt = alt text for New York City
 
    | link = New York City }}
 
  {{Location map~/sandbox | USA
 
    | label = [[San Francisco]]
 
    | position =
 
    | background = white
 
    | mark = Purple pog.svg
 
    | lat_deg = 37
 
    | lat_min = 46
 
    | lat_dir = N
 
    | lon_deg = 122
 
    | lon_min = 25
 
    | lon_dir = W
 
    | alt = alt text for San Francisco
 
    | link = San Francisco }}
 
  {{Location map~/sandbox  | USA
 
    | label = [[Houston]]
 
    | position =
 
    | background = white
 
    | mark =
 
    | lat = 29.762778
 
    | long = -95.383056
 
    | alt = alt text for Houston
 
    | link = Houston }}
 
}}
 
}}
 
  
 
{{clear}}
 
{{clear}}
 
===Antarctica===
 
===Antarctica===
  
{{testcases side by side
+
{{Test case nowiki|format=columns|showcode=no|code=<nowiki>
|{{Location map+ | Antarctica
+
{{Location map+ | Antarctica
 
| width = 300
 
| width = 300
 
| float = right
 
| float = right
Line 102: Line 60:
 
| relief = 1
 
| relief = 1
 
| places =
 
| places =
   {{Location map~ | Antarctica
+
   {{__TEMPLATENAME__ | Antarctica
 
     | label =  
 
     | label =  
 
     | position =  
 
     | position =  
Line 110: Line 68:
 
     | lat = -90
 
     | lat = -90
 
     | long = 0 }}
 
     | long = 0 }}
   {{Location map~/sandbox | Antarctica
+
   {{__TEMPLATENAME__ | Antarctica
 
     | label = Scott's Hut
 
     | label = Scott's Hut
 
     | position =  
 
     | position =  
Line 119: Line 77:
 
     | long = 166.4 }}
 
     | long = 166.4 }}
 
}}
 
}}
|{{Location map+ | Antarctica
+
</nowiki>}}
| width = 300
 
| float = right
 
| caption = Antarctica
 
| relief = 1
 
| places =
 
  {{Location map~/sandbox | Antarctica
 
    | label =
 
    | position =
 
    | background =
 
    | mark = Cyan pog.svg
 
    | marksize = 10
 
    | lat = -90
 
    | long = 0 }} 
 
  {{Location map~/sandbox | Antarctica
 
    | label = Scott's Hut
 
    | position =
 
    | background = #dfeaf0
 
    | mark = Gfi-set01-hostel.svg
 
    | marksize = 20
 
    | lat = -77.6
 
    | long = 166.4 }} 
 
}}
 
}}
 
  
 
== With lat, long ==
 
== With lat, long ==
Line 148: Line 83:
 
=== France ===
 
=== France ===
  
{{testcases side by side
+
{{Test case nowiki|format=columns|showcode=no|code=<nowiki>
|{{Location map+ | France
+
{{Location map+ | France
 
| width = 300
 
| width = 300
 
| float = right
 
| float = right
 
| caption = Two cities in France
 
| caption = Two cities in France
 
| places =
 
| places =
   {{Location map~ | France
+
   {{__TEMPLATENAME__ | France
 
     | label = Paris
 
     | label = Paris
 
     | label_size = 120
 
     | label_size = 120
Line 161: Line 96:
 
     | lat_deg = 48.8567
 
     | lat_deg = 48.8567
 
     | lon_deg = 2.3508 }}
 
     | lon_deg = 2.3508 }}
   {{Location map~ | France
+
   {{__TEMPLATENAME__ | France
 
     | label = Marseille
 
     | label = Marseille
 
     | position = top
 
     | position = top
Line 168: Line 103:
 
     | lon_deg = 5.3610 }}
 
     | lon_deg = 5.3610 }}
 
}}
 
}}
|{{Location map+ | France
+
</nowiki>}}
| width = 300
 
| float = right
 
| caption = Two cities in France
 
| places =
 
  {{Location map~/sandbox | France
 
    | label = Paris
 
    | label_size = 120
 
    | position = top
 
    | link = Paris
 
    | lat_deg = 48.8567
 
    | lon_deg = 2.3508 }}
 
  {{Location map~/sandbox | France
 
    | label = Marseille
 
    | position = top
 
    | link = Marseille
 
    | lat_deg = 43.2964
 
    | lon_deg = 5.3610 }}
 
}}
 
}}
 
  
 
=== USA ===
 
=== USA ===
  
{{testcases side by side
+
{{Test case nowiki|format=columns|showcode=no|code=<nowiki>
|{{Location map+ | USA
+
{{Location map+ | USA
 
| width = 300
 
| width = 300
 
| float = right
 
| float = right
Line 198: Line 114:
 
| relief = 1
 
| relief = 1
 
| places =
 
| places =
   {{Location map~ | USA
+
   {{__TEMPLATENAME__ | USA
 
     | label = [[New York City|New York]]
 
     | label = [[New York City|New York]]
 
     | position = left
 
     | position = left
Line 210: Line 126:
 
     | lon_dir = W
 
     | lon_dir = W
 
     | link = New York City }}
 
     | link = New York City }}
   {{Location map~ | USA
+
   {{__TEMPLATENAME__ | USA
 
     | label = [[San Francisco]]
 
     | label = [[San Francisco]]
 
     | position = right
 
     | position = right
Line 223: Line 139:
 
     | link = San Francisco }}
 
     | link = San Francisco }}
 
}}
 
}}
|{{Location map+ | USA
+
</nowiki>}}
 +
 
 +
=== Earth ===
 +
 
 +
{{Test case nowiki|format=columns|showcode=no|code=<nowiki>
 +
{{Location map+ | Earth
 
| width = 300
 
| width = 300
 
| float = right
 
| float = right
| caption = Two cites in the United States
+
| caption = Two cities
| relief = 1
 
 
| places =
 
| places =
   {{Location map~/sandbox | USA
+
   {{__TEMPLATENAME__ | Earth
 +
    | label = Paris
 +
    | link = Paris
 +
    | lat_deg = 48.8567
 +
    | lon_deg = 2.3508 }}
 +
  {{__TEMPLATENAME__ | Earth
 
     | label = [[New York City|New York]]
 
     | label = [[New York City|New York]]
    | position = left
 
    | background = #fefee9
 
    | mark = Cyan pog.svg
 
 
     | lat_deg = 40
 
     | lat_deg = 40
 
     | lat_min = 43
 
     | lat_min = 43
Line 239: Line 161:
 
     | lon_deg = 74
 
     | lon_deg = 74
 
     | lon_min = 0
 
     | lon_min = 0
     | lon_dir = W
+
     | lon_dir = W}}
    | link = New York City }}
 
  {{Location map~/sandbox | USA
 
    | label = [[San Francisco]]
 
    | position = right
 
    | background = #fefee9
 
    | mark = Purple pog.svg
 
    | lat_deg = 37
 
    | lat_min = 46
 
    | lat_dir = N
 
    | lon_deg = 122
 
    | lon_min = 25
 
    | lon_dir = W
 
    | link = San Francisco }}
 
}}
 
 
}}
 
}}
 +
</nowiki>}}

Latest revision as of 11:30, 7 June 2015

With X,Y

USA

Side by side comparison
{{Location map~}}{{Location map~/sandbox}}
Some cites in the United States
Some cites in the United States

Antarctica

Side by side comparison
{{Location map~}}{{Location map~/sandbox}}
Location map~/testcases is located in Antarctica
Location map~/testcases
Scott's Hut
Scott's Hut
Antarctica
Location map~/testcases is located in Antarctica
Location map~/testcases
Scott's Hut
Scott's Hut
Antarctica

With lat, long

France

Side by side comparison
{{Location map~}}{{Location map~/sandbox}}
Location map~/testcases is located in France
Paris
Paris
Marseille
Marseille
Two cities in France
Location map~/testcases is located in France
Paris
Paris
Marseille
Marseille
Two cities in France

USA

Side by side comparison
{{Location map~}}{{Location map~/sandbox}}
Two cites in the United States
Two cites in the United States

Earth

Side by side comparison
{{Location map~}}{{Location map~/sandbox}}
Two cities
Two cities