Template:Map: Difference between revisions
From The Fifth City Wiki
m Remove any <p> tags that are a direct descendant of the div |
Merge MapEnd into this template using an unnamed parameter, change image to an unnamed parameter |
||
Line 1: | Line 1: | ||
<includeonly><div style = "position: relative; width: fit-content; height: fit-content;"> | <includeonly><div style = "position: relative; width: fit-content; height: fit-content;"> | ||
[[File:{{{ | [[File:{{{1}}}]] | ||
<div | <div | ||
class = "removeP" | class = "removeP" | ||
Line 11: | Line 11: | ||
height: 100%; | height: 100%; | ||
" | " | ||
></includeonly> | >{{{2}}}</div></div></includeonly> | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Revision as of 05:17, 5 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(...)}} (...) |