Difference between revisions of "Template:Location map+/AlternativeMap"
Jump to navigation
Jump to search
imported>Droll (tweaked) |
imported>WOSlinker m (change source to syntaxhighlight) |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{Location map+ | + | <!-- |
| − | | England | + | |
| − | + | This page is NOT transcluded in the documentation for Location map+ | |
| − | | AlternativeMap= | + | |
| − | | | + | -->The following examples document the use of the ''AlternativeMap'' parameter in the {{tl|Location map+}} template. This parameter is also available via the {{tl|Location map}} and {{tl|Location map many}} templates. |
| − | | caption=[[Battle of Bosworth Field]] | + | |
| − | | places= | + | == AlternativeMap defined == |
| − | {{Location map~ | + | {{Location map+ | England |
| − | + | | AlternativeMap =England_locator_map_with_North_East_England_highlighted.svg | |
| − | | label='''Bosworth''' | + | | width = 200 |
| − | | position=right | + | | caption = [[Battle of Bosworth Field]] |
| − | | | + | | places = |
| − | | | + | {{Location map~ | England |
| − | | mark= | + | | label = '''Bosworth''' |
| − | | marksize= | + | | position = right |
| − | {{Location map~ | + | | mark = Battle icon active (crossed swords).svg |
| − | + | | marksize = 20 | |
| − | | label= | + | | lat_deg = 52.591265 |
| − | | position=right | + | | lon_deg = -1.410327 |
| − | | | + | }} |
| − | | | + | {{Location map~ | England |
| − | | mark=Steel pog.svg | + | | label = Northumberland |
| − | | marksize=1}} | + | | position = right |
| + | | mark = Steel pog.svg | ||
| + | | marksize = 1 | ||
| + | | lat_deg = 55.1 | ||
| + | | lon_deg = -1.68 | ||
| + | }} | ||
| + | }} | ||
| + | <syntaxhighlight lang="moin" style="width:45em; font-size:95%;"> | ||
| + | {{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 | ||
| + | }} | ||
}} | }} | ||
| + | </syntaxhighlight> | ||
| − | + | == AlternativeMap not defined == | |
| − | + | {{Location map+ | England | |
| − | < | + | | AlternativeMap = |
| − | {{Location map+ | + | | width = 200 |
| − | | England | + | | caption = [[Battle of Bosworth Field]] |
| − | + | | places = | |
| − | | AlternativeMap= | + | {{Location map~ | England |
| − | | | + | | label = '''Bosworth''' |
| − | | caption=Battle of Bosworth Field | + | | position = right |
| − | | places= | + | | mark = Battle icon active (crossed swords).svg |
| − | {{Location map~| England| label='''Bosworth''' | + | | marksize = 20 |
| − | | position=right | + | | lat_deg = 52.591265 |
| − | | | + | | lon_deg = -1.410327 |
| − | | | + | }} |
| − | | | + | {{Location map~ | England |
| − | | | + | | label = Northumberland |
| − | {{Location map~ | + | | position = right |
| − | + | | mark = Steel pog.svg | |
| − | | label=Northumberland | + | | marksize = 1 |
| − | | position=right | + | | lat_deg = 55.1 |
| − | | | + | | lon_deg = -1.68 |
| − | | | + | }} |
| − | | | + | }} |
| − | | | + | <syntaxhighlight lang="moin" style="width:45em; font-size:95%;"> |
| + | {{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 | ||
| + | }} | ||
}} | }} | ||
| − | </ | + | </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+ | 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+ | 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
}}
}}