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

From blackwiki
Jump to navigation Jump to search
imported>Cedar101
m (source lang="moin")
imported>WOSlinker
m (change source to syntaxhighlight)
 
Line 28: Line 28:
 
   }}
 
   }}
 
}}
 
}}
<source lang="moin" 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_with_North_East_England_highlighted.svg
 
| AlternativeMap =England_locator_map_with_North_East_England_highlighted.svg
Line 51: Line 51:
 
   }}
 
   }}
 
}}
 
}}
</source>
+
</syntaxhighlight>
  
 
== AlternativeMap not defined ==
 
== AlternativeMap not defined ==
Line 76: Line 76:
 
   }}
 
   }}
 
}}
 
}}
<source lang="moin" 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:
 
   }}
 
   }}
 
}}
 
}}
</source>
+
</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
  }}
}}