Template:FFXIMap Markers: Difference between revisions

From HorizonXI Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=ffximap_markers|mapid=Integer|position=List (,) of Integer|entitytype=List (,) of Page|image=File}}
{{#cargo_declare:_table=ffximap_markers|mapid=Integer|position=List (,) of Integer|entitytype=List (,) of Page|image=File|displayposition=String}}
</noinclude><includeonly>{{#cargo_store:_table=ffximap_markers}}
</noinclude><includeonly>{{#cargo_store:_table=ffximap_markers}}
[[Category:FFXIMap Markers]]
[[Category:FFXIMap Markers]]
Line 13: Line 13:
|entitytype=
|entitytype=
|image=
|image=
|displayposition=
}}
}}
</pre>
</pre>
Line 19: Line 20:
*'''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.     
*'''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.     
*'''image:''' This is the filename of the image. Do not use wikitext in this field.  
*'''image:''' This is the filename of the image. Do not use wikitext in this field.  
*'''displayposition:''' This is the in-game x,y coordinates tor this marker. There are many HorizonXI approved addons/plugins that provide this information. Format should include the parenthesis, ie: (x,y)
===Example Usage===
===Example Usage===
This tag is added to the bottom of a page which you want added as a marker to a map.  
This tag is added to the bottom of a page which you want added as a marker to a map.  
Line 27: Line 29:
|entitytype=NPC
|entitytype=NPC
|image=Guslam.png
|image=Guslam.png
|displayposition=(179,-216.8)
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 20:59, 5 November 2023

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=
|image=
|displayposition=
}}
  • 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.
  • image: This is the filename of the image. Do not use wikitext in this field.
  • displayposition: This is the in-game x,y coordinates tor this marker. There are many HorizonXI approved addons/plugins that provide this information. Format should include the parenthesis, ie: (x,y)

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
|image=Guslam.png
|displayposition=(179,-216.8)
}}