Template:FFXIMap Markers: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Starfox9507 No edit summary |
imported>Starfox9507 |
||
| (26 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare: |
<noinclude>{{#cargo_declare:_table=ffximapmarkers |
||
_table=ffximap_markers |
|||
|mapid=Integer |
|mapid=Integer |
||
|mapx=Float |
|mapx=Float |
||
|mapy=Float |
|mapy=Float |
||
|entitytype=List (,) of Page |
|entitytype=List (,) of Page |
||
|minlevel=Integer |
|||
|maxlevel=Integer |
|||
|image=File |
|image=File |
||
}} |
|||
|displayposition=String |
|||
| ⚫ | |||
| ⚫ | |||
_table=ffximap_markers |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
|displayposition={{{displayposition|}}} |
|||
}}</includeonly> |
|||
<noinclude> |
|||
<!-- ==THIS IS STILL UNDER CONSTRUCTION - DO NOT ATTEMPT USING THIS YET PLEASE== --> |
|||
==Usage== |
==Usage== |
||
Add this tag to an entity you wish displayed on the FFXIMap. |
Add this tag to an entity you wish displayed on the FFXIMap. If the map already has the entity listed, then anything added using this template will overwrite what is currently on the map. |
||
<pre> |
<pre> |
||
{{FFXIMap Markers |
{{FFXIMap Markers |
||
| Line 29: | Line 17: | ||
|mapy= |
|mapy= |
||
|entitytype= |
|entitytype= |
||
|minlevel= |
|||
|maxlevel= |
|||
|image= |
|image= |
||
|displayposition= |
|||
}} |
}} |
||
</pre> |
</pre> |
||
| Line 48: | Line 37: | ||
|''none'' |
|''none'' |
||
|''float'' |
|''float'' |
||
| |
| The X position for the marker. Please read [[Template:FFXIMap#Coordinate Systems|Coordinate Systems]] for details if you are unfamiliar with this. A marker position must be within those bounds to be visible on the map. In order to get these numbers you must view an FFXIMap with the added parameter 'showdetails=true' and use the mouse to determine the coordinates of a specific location. See [[Template:FFXIMap]] for more details. |
||
|- |
|- |
||
|'''mapy''' ''[required]'' |
|'''mapy''' ''[required]'' |
||
|''none'' |
|''none'' |
||
|''float'' |
|''float'' |
||
| The Y position for the marker. Please read [[Template:FFXIMap#Coordinate Systems|Coordinate Systems]] for details if you are unfamiliar with this. A marker position must be within those bounds to be visible on the map. In order to get these numbers you must view an FFXIMap with the added parameter 'showdetails=true' and use the mouse to determine the coordinates of a specific location. See [[Template:FFXIMap]] for more details. |
|||
|''[value must be between 0-256]'' The Y position on the FFXIMap. Values for this should be decimals (ie: 17.134). Description is the same as the mapx position above. |
|||
|- |
|- |
||
|'''entitytype''' ''[required]'' |
|'''entitytype''' ''[required]'' |
||
| Line 60: | Line 49: | ||
|There are "types" of markers (ie: NPC, Seasonal NPC, ???, Standard Merchant, 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. |
|There are "types" of markers (ie: NPC, Seasonal NPC, ???, Standard Merchant, 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. |
||
|- |
|- |
||
|''' |
|'''minlevel''' ''[optional]'' |
||
|''none'' |
|''none'' |
||
|'' |
|''integer'' |
||
|Minimal level of this mob, displayed throughout the map layers and mouseovers. |
|||
| ⚫ | |||
|- |
|- |
||
|''' |
|'''maxlevel''' ''[optional]'' |
||
|''none'' |
|||
|''integer'' |
|||
|Maximum level of this mob, displayed throughout the map layers and mouseovers. |
|||
|- |
|||
|'''image''' ''[optional]'' |
|||
|''none'' |
|''none'' |
||
|''text'' |
|''text'' |
||
| ⚫ | |||
|This is a simple line of text. 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) |
|||
|} |
|} |
||
| Line 76: | Line 70: | ||
{{FFXIMap Markers |
{{FFXIMap Markers |
||
|mapid=141 |
|mapid=141 |
||
|mapx= |
|mapx=-4.23 |
||
|mapy= |
|mapy=49.75 |
||
|entitytype=NPC |
|entitytype=NPC |
||
|image=Guslam.png |
|image=Guslam.png |
||
|displayposition=(179,-216.8) |
|||
}} |
}} |
||
</pre> |
</pre> |
||
</noinclude> |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
|minlevel={{{minlevel|}}} |
|||
|maxlevel={{{maxlevel|}}} |
|||
| ⚫ | |||
}}[[Category:FFXIMap Markers]]</includeonly> |
|||
Latest revision as of 14:15, 8 February 2024
This template defines the table "ffximapmarkers". This table has not been created yet.
Usage
Add this tag to an entity you wish displayed on the FFXIMap. If the map already has the entity listed, then anything added using this template will overwrite what is currently on the map.
{{FFXIMap Markers
|mapid=
|mapx=
|mapy=
|entitytype=
|minlevel=
|maxlevel=
|image=
}}
| parameter | default | type | description |
|---|---|---|---|
| mapid [required] | none | integer | Each zone map has a corresponding id# to help associate markers to map. See table "Map ID Data" at Template:FFXIMap for details on these values. |
| mapx [required] | none | float | The X position for the marker. Please read Coordinate Systems for details if you are unfamiliar with this. A marker position must be within those bounds to be visible on the map. In order to get these numbers you must view an FFXIMap with the added parameter 'showdetails=true' and use the mouse to determine the coordinates of a specific location. See Template:FFXIMap for more details. |
| mapy [required] | none | float | The Y position for the marker. Please read Coordinate Systems for details if you are unfamiliar with this. A marker position must be within those bounds to be visible on the map. In order to get these numbers you must view an FFXIMap with the added parameter 'showdetails=true' and use the mouse to determine the coordinates of a specific location. See Template:FFXIMap for more details. |
| entitytype [required] | none | number | There are "types" of markers (ie: NPC, Seasonal NPC, ???, Standard Merchant, 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. |
| minlevel [optional] | none | integer | Minimal level of this mob, displayed throughout the map layers and mouseovers. |
| maxlevel [optional] | none | integer | Maximum level of this mob, displayed throughout the map layers and mouseovers. |
| image [optional] | none | text | This is the filename of the image. Do not use wikitext in this field. |
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
|mapx=-4.23
|mapy=49.75
|entitytype=NPC
|image=Guslam.png
}}