Template:Map/doc: Difference between revisions
From The Fifth City Wiki
Add documentation |
m Remove mention of MapEnd, MarkerEnd templates |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
Used with | Used with [[Template:Marker|Marker]] templates. For example: | ||
{{((}}Map| | {{((}}Map|MapImage.ext| | ||
{{((}}Marker|name = MarkerName | {{((}}Marker|name = MarkerName|x = 42.42|y = 77.77|scale = 0.5| | ||
Marker Popup Content | Marker Popup Content | ||
}} | |||
}} | |||
== Parameters == | == Parameters == | ||
Line 15: | Line 15: | ||
!Example value | !Example value | ||
|- | |- | ||
|<code> | |<code>1</code> | ||
|Name of the image to be used, without the namespace | |Name of the image to be used, without the namespace | ||
|Fallen-london-full-map.jpg | |Fallen-london-full-map.jpg | ||
|- | |||
|<code>2</code> | |||
|Markers inside the map. See [[:Template:Marker|Marker]]. | |||
|{{((}}Marker<nowiki>|</nowiki>name {{=}} MarkerName(...)}} (...) | |||
|} | |} |
Latest revision as of 08:03, 17 July 2025
Usage[edit]
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[edit]
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(...)}} (...) |