Template:FFXIMap Markers: Difference between revisions
From HorizonXI Wiki
Starfox9507 (talk | contribs) No edit summary Tag: Manual revert |
Starfox9507 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:mapID (label=MapID)|position (label=Position)|entityType (label=Entity Type)}} | |||
{{#cargo_declare:_table=ffximap_markers|mapID=Integer|position=List (,) of Integer|entityType=List (,) of Page}} | {{#cargo_declare:_table=ffximap_markers|mapID=Integer|position=List (,) of Integer|entityType=List (,) of Page}} | ||
</noinclude | </noinclude><includeonly>{{#cargo_store:_table=ffximap_markers}} | ||
{{#template_display:_format=standard}} | |||
{{#cargo_store:_table=ffximap_markers}} | |||
[[Category:FFXIMap Markers]] | [[Category:FFXIMap Markers]] | ||
</includeonly | </includeonly> | ||
==Usage== | ==Usage== |
Revision as of 04:38, 22 October 2023
This is the "FFXIMap Markers" template.
It should be called in the following format:
{{FFXIMap Markers |mapID= |position= |entityType= }}
Edit the page to see the template text.
This template defines the table "ffximap_markers". This table has not been created yet.
Usage
Add this tag to an entity you wish displayed on the FFXIMap.
{{FFXIMap Markers |mapID= |position= |entityType= }}
- mapID: Each zone map has a corresponding id# (see below).
- position: The x,y of the position on the map. Do not use parenthesis when filling this in (see usage examples below). All maps used within the FFXIMap extension have a coordinate system that starts at 0,0 for the bottom left and 256,256 for the top right. A marker position must be within those bounds to be visible on the map.
- entityType: There are "types" of markers (ie:NPC, Seasonal NPC, ???, etc.). These types are bundled in layers on the FFXIMap where the user is able to turn on/off a particular layer they want to see.
Example Usage
This tag is added to the bottom of a page which you want added as a marker to a map.
{{FFXIMap Markers |mapID=141 |position=25.9,157.72 |entityType=NPC }}