Difference between revisions of "Template:Location map+/AlternativeMap"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(note that this file is no longer transcluded, add example with parameter undefined)
imported>WOSlinker
m (change source to syntaxhighlight)
 
(3 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
== AlternativeMap defined ==
 
== AlternativeMap defined ==
 
{{Location map+ | England
 
{{Location map+ | England
| AlternativeMap = England locator map w Northumberland highlighted.svg
+
| AlternativeMap =England_locator_map_with_North_East_England_highlighted.svg
 
| width = 200
 
| width = 200
 
| caption = [[Battle of Bosworth Field]]
 
| caption = [[Battle of Bosworth Field]]
Line 28: Line 28:
 
   }}
 
   }}
 
}}
 
}}
<pre style="width:45em; font-size:95%;">
+
<syntaxhighlight lang="moin" style="width:45em; font-size:95%;">
 
{{Location map+ | England
 
{{Location map+ | England
| AlternativeMap = England locator map w Northumberland highlighted.svg
+
| AlternativeMap =England_locator_map_with_North_East_England_highlighted.svg
 
| width = 200
 
| width = 200
 
| caption = [[Battle of Bosworth Field]]
 
| caption = [[Battle of Bosworth Field]]
Line 51: Line 51:
 
   }}
 
   }}
 
}}
 
}}
</pre>
+
</syntaxhighlight>
  
 
== AlternativeMap not defined ==
 
== AlternativeMap not defined ==
Line 76: Line 76:
 
   }}
 
   }}
 
}}
 
}}
<pre style="width:45em; font-size:95%;">
+
<syntaxhighlight lang="moin" style="width:45em; font-size:95%;">
 
{{Location map+ | England
 
{{Location map+ | England
 
| AlternativeMap =  
 
| AlternativeMap =  
Line 99: Line 99:
 
   }}
 
   }}
 
}}
 
}}
</pre>
+
</syntaxhighlight>

Latest revision as of 11:58, 8 July 2020

The following examples document the use of the AlternativeMap parameter in the {{Location map+}} template. This parameter is also available via the {{Location map}} and {{Location map many}} templates.

AlternativeMap defined

Location map+/AlternativeMap is located in England
Bosworth
Bosworth
Northumberland
Northumberland
{{Location map+ | England
| AlternativeMap =England_locator_map_with_North_East_England_highlighted.svg
| width = 200
| caption = [[Battle of Bosworth Field]]
| places =
  {{Location map~ | England
    | label = '''Bosworth'''
    | position = right
    | mark = Battle icon active (crossed swords).svg
    | marksize = 20
    | lat_deg = 52.591265
    | lon_deg = -1.410327
  }}
  {{Location map~ | England
    | label = Northumberland
    | position = right
    | mark = Steel pog.svg
    | marksize = 1
    | lat_deg = 55.1
    | lon_deg = -1.68
  }}
}}

AlternativeMap not defined

Location map+/AlternativeMap is located in England
Bosworth
Bosworth
Northumberland
Northumberland
{{Location map+ | England
| AlternativeMap = 
| width = 200
| caption = [[Battle of Bosworth Field]]
| places =
  {{Location map~ | England
    | label = '''Bosworth'''
    | position = right
    | mark = Battle icon active (crossed swords).svg
    | marksize = 20
    | lat_deg = 52.591265
    | lon_deg = -1.410327
  }}
  {{Location map~ | England
    | label = Northumberland
    | position = right
    | mark = Steel pog.svg
    | marksize = 1
    | lat_deg = 55.1
    | lon_deg = -1.68
  }}
}}