Difference between revisions of "Template:Location map+/AlternativeMap"
Jump to navigation
Jump to search
imported>Droll (Comment) |
imported>Zyxw (note that this file is no longer transcluded, add example with parameter undefined) |
||
| Line 1: | Line 1: | ||
<!-- | <!-- | ||
| − | + | This page is NOT transcluded in the documentation for Location map+ | |
| − | -->{{Location map+ | + | -->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. |
| − | | England | + | |
| − | + | == AlternativeMap defined == | |
| − | | AlternativeMap= | + | {{Location map+ | England |
| − | | | + | | AlternativeMap = England locator map w Northumberland highlighted.svg |
| − | | caption=[[Battle of Bosworth Field]] | + | | width = 200 |
| − | | places= | + | | caption = [[Battle of Bosworth Field]] |
| − | {{Location map~ | + | | places = |
| − | + | {{Location map~ | England | |
| − | | label='''Bosworth''' | + | | label = '''Bosworth''' |
| − | | position=right | + | | position = right |
| − | | | + | | mark = Battle icon active (crossed swords).svg |
| − | | | + | | marksize = 20 |
| − | | mark= | + | | lat_deg = 52.591265 |
| − | | marksize= | + | | lon_deg = -1.410327 |
| − | {{Location map~ | + | }} |
| − | + | {{Location map~ | England | |
| − | | label= | + | | label = Northumberland |
| − | | position=right | + | | position = right |
| − | | | + | | mark = Steel pog.svg |
| − | | | + | | marksize = 1 |
| − | | mark=Steel pog.svg | + | | lat_deg = 55.1 |
| − | | marksize=1}} | + | | lon_deg = -1.68 |
| + | }} | ||
| + | }} | ||
| + | <pre style="width:45em; font-size:95%;"> | ||
| + | {{Location map+ | England | ||
| + | | AlternativeMap = England locator map w Northumberland 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 | ||
| + | }} | ||
}} | }} | ||
| + | </pre> | ||
| − | + | == AlternativeMap not defined == | |
| − | + | {{Location map+ | England | |
| − | <pre style="width: | + | | 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 |
| − | | | + | }} |
| − | | | + | }} |
| − | | | + | <pre 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 | ||
| + | }} | ||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 11:38, 21 August 2011
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 w Northumberland 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
}}
}}