Skip to content
Aa
Reading appearance
Browse
Browse the wiki
Books
Characters
Houses
Places
History
Culture
More topics
Images
Television
Chapters
Timeline
Random Article
Community
Community Portal
Recent Changes
Our Sites
Westeros
Forum of Ice and Fire
Blood of Dragons MUSH
Login
Talk
Interact
Interact
Edit source
View history
More page tools
What links here
Related changes
Page information
Special pages
Editing
Template
:
Location map/doc
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<noinclude>{{notice|This is a documentation subpage for [[Template:Location map]]}}<hr></noinclude> This template generates a location map as a composite image consisting of a map and a location mark. Optionally a label and caption can be added. Note: The template was copied whole from [[Wikipedia:Template:Location map]], while we don't use all of its functionality, it was left intact to ease the process of future integration. ==Basic Usage== Simple syntax versions <pre> {{Location map| RegionName | long=XX |lat=YY }} {{Location map| RegionName | long=XX |lat=YY | label= LocationName }} </pre> ==Additional Options== {| class="wikitable" style="width:100%;" ! colspan="2" | Additional Map display parameters |- ! Parameter ! Description |- | <code>width</code> | Determines the width of the map in pixels. The default is 350. Do not include <code>px</code>, for example: <code>width=300</code>, not <code>width=300px</code>. |- | <code>caption</code> | The text of a caption to be displayed below the map. Specifying a caption will cause the map to be displayed with a frame. If <code>caption</code> is defined but is not assigned a value, the map will not be framed and no caption will be displayed. If <code>caption</code> is not defined, the map will not be framed and a default caption will be generated. The default caption is created from the <code>label</code> parameter (or the current page name if label not defined) and the <code>name</code> parameter from map definition template. See the [[#Examples|examples]] below. |- | <code>alt</code> | Alt text for map; shown on mouse hover. |- | <code>position</code> | The position of the label relative to the mark. Valid values are <code>left</code>, <code>right</code>, <code>top</code> and <code>bottom</code>. The default is <code>right</code>''. |- | <code>mark</code> | The name of an image to display as the mark. The default is [[:File:Red pog.png|Red pog.png]] ([[File:Red pog.png|8px]]). See examples at [[:Category:Location markers]]. |- | <code>link</code> | Specifies a wiki link which will be followed if the reader clicks on the mark. The name of the linked article is displayed when the mouse pointer hovers over the mark. |} ==Empty template with all the options== <pre>{{Location map | {{{1}}} | width = | caption = | alt = | label = | label_size = | position = | mark = | marksize = | link = | lat_deg = | lon_deg = }}</pre> ==References== {{EnWP|Template:Location map|small=yes}} <includeonly>[[Category:Location map| ]]</includeonly>
Summary:
Please note that all contributions to A Wiki of Ice and Fire may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
A Wiki of Ice and Fire:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Pages included on this page:
Template:EnWP
(
edit
)
Template:Mbox
(
edit
)
Template:Notice
(
edit
)