Difference between revisions of "Template:Search map"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
Line 11: Line 11:
|<unnamed param1>
|<unnamed param1>
| coordinates =  
| coordinates =  
| title =
| image =  
| image =  
| type =
| label =  
| label =  
| icon =
| 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|size=big}}</pre>
<pre>{{Search map|title=White Joker Locations}}</pre>
{{Search map|size=big}}
{{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 to Search 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
Ruby Sea HQ Map.jpg
This is the legend
{{Search map|size=medium}}
Search map
Ruby Sea HQ Map.jpg
This is the legend
{{Search map|title=White Joker Locations}}
White Joker Locations
Ruby Sea HQ Map.jpg
This is the legend