Difference between revisions of "Template:Search map"
Jump to navigation
Jump to search
m (→Examples) |
m |
||
Line 11: | Line 11: | ||
|<unnamed param1> | |<unnamed param1> | ||
| coordinates = | | coordinates = | ||
| title = | |||
| image = | | image = | ||
| type = | |||
| label = | | label = | ||
| size = | | size = | ||
}}</pre> | }}</pre> | ||
== Parameters == | == Parameters == | ||
;''unnamed param 1'' | |||
: The pagename from which to pull the map through property <code>Has map image</code>. Defaults to <code>{{PAGENAME}}</code>. | |||
;coordinates | |||
: The coordinates to mark on the map. It uses the following form separated by semi-colons: <code><x,y,z>|<type>|<label></code>. | |||
;title | |||
: Optional. The search map title. Defaults to "Search map". | |||
;image | |||
: Optional. A plain image to be used as map. Overrides ''unnamed param 1''. | |||
; type | |||
: Optional. The mark type to be used as default for all marks. Accepts: ''flag (default)'', ''creature'', ''fate'', ''quest'', ''fishing-node'', ''spearing-node'', ''logging-node'', ''harvesting-node'', ''mining-node'', ''quarrying-node''. (to be continued) | |||
; label | |||
: Optional. The mark label to be used as default for all marks. | |||
; size | |||
: Optional. The map size. Accepts either ''medium'' or ''big''. Defaults to small. | |||
== Examples == | == Examples == | ||
Line 27: | Line 41: | ||
{{Search map|size=medium}} | {{Search map|size=medium}} | ||
<pre>{{Search map| | <pre>{{Search map|title=White Joker Locations}}</pre> | ||
{{Search map| | {{Search map|title=White Joker Locations}} | ||
[[Category:Image templates]]</noinclude> | [[Category:Image templates]]</noinclude> |
Revision as of 19:36, 30 August 2018
Description
Displays a map with optional flags which can be marked onto it, using in-game coordinates.
{{Search map |<unnamed param1> | coordinates = | title = | image = | type = | label = | size = }}
Parameters
- unnamed param 1
- The pagename from which to pull the map through property
Has map image
. Defaults toSearch map
. - coordinates
- The coordinates to mark on the map. It uses the following form separated by semi-colons:
<x,y,z>|<type>|<label>
. - title
- Optional. The search map title. Defaults to "Search map".
- image
- Optional. A plain image to be used as map. Overrides unnamed param 1.
- type
- Optional. The mark type to be used as default for all marks. Accepts: flag (default), creature, fate, quest, fishing-node, spearing-node, logging-node, harvesting-node, mining-node, quarrying-node. (to be continued)
- label
- Optional. The mark label to be used as default for all marks.
- size
- Optional. The map size. Accepts either medium or big. Defaults to small.
Examples
{{Search map}}
Search map
This is the legend
{{Search map|size=medium}}
Search map
This is the legend
{{Search map|title=White Joker Locations}}
White Joker Locations
This is the legend