Template:Map: Difference between revisions
From The Fifth City Wiki
Merge MapEnd into this template using an unnamed parameter, change image to an unnamed parameter |
m Fix horizontal scrollbar appearing on pages with a map element (due to hidden marker elements existing to the right of the screen) Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly><div style = "position: relative; width: fit-content; height: fit-content;"> | <includeonly><div style = "overflow: hidden; position: relative; width: fit-content; height: fit-content;"> | ||
[[File:{{{1}}}]] | [[File:{{{1}}}]] | ||
<div | <div |
Revision as of 17:12, 17 July 2025
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Map/doc to edit this documentation. (How does this work?) |
Usage
Used with Marker templates. For example:
{{Map|MapImage.ext| {{Marker|name = MarkerName|x = 42.42|y = 77.77|scale = 0.5| Marker Popup Content }} }}
Parameters
Parameter name | Description | Example value |
---|---|---|
1
|
Name of the image to be used, without the namespace | Fallen-london-full-map.jpg |
2
|
Markers inside the map. See Marker. | {{Marker|name = MarkerName(...)}} (...) |