Difference between revisions of "Template:Search map"
Jump to navigation
Jump to search
m |
m |
||
Line 3: | Line 3: | ||
<div class="map-title">{{{title|Search map}}}</div> | <div class="map-title">{{{title|Search map}}}</div> | ||
<div class="map"><div class="inner-border">[[File:Ruby Sea HQ Map.jpg|{{#switch:{{{size|}}}|big=1000|medium=750|#default=500}}px|link=]]</div></div> | <div class="map"><div class="inner-border">[[File:Ruby Sea HQ Map.jpg|{{#switch:{{{size|}}}|big=1000|medium=750|#default=500}}px|link=]]</div></div> | ||
</div> | </div>{{#if:{{{no-caption|}}}||<div class="caption">This is the caption</div>}} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
== Description == | == Description == | ||
Line 16: | Line 15: | ||
| label = | | label = | ||
| size = | | size = | ||
| no-caption = | |||
}}</pre> | }}</pre> | ||
Line 33: | Line 33: | ||
; size | ; size | ||
: Optional. The map size. Accepts either ''medium'' or ''big''. Defaults to small. | : Optional. The map size. Accepts either ''medium'' or ''big''. Defaults to small. | ||
; no-caption | |||
: Optional. Set anything to disable caption. | |||
== Examples == | == Examples == |
Revision as of 19:39, 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 = | no-caption = }}
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.
- no-caption
- Optional. Set anything to disable caption.
Examples
{{Search map}}
Search map
{{Search map|size=medium}}
Search map
{{Search map|title=White Joker Locations}}
White Joker Locations