Template:Position

From HorizonXI Wiki
Revision as of 03:04, 4 November 2024 by Redbaren (talk | contribs) (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Position|<area>|<position>|<map>}}

Displays the position with a link to the area's map and, if available, a tooltip map with the position highlighted. Tooltips are implemented in Template:Location Tooltip

  • area: The area to link to.
  • position: The position on the map.
    • Optional: additional parameters pos 2, pos 3 and pos 4 can be used to mark multiple positions.
  • map: Optional. The specific map if there are multiple maps for the area.
  • id: Optional. A unique id to give to the tooltip. Use if the same location (area and position) is repeated on the same page.
  • map link: Optional. "none" to remove the automatic link to the map.
  • exact pos x: Optional. The exact x position within the quadrant.
    • exact pos 2 x:, exact pos 3 x: and exact pos 4 x: can be used to mark multiple positions.
  • exact pos y: Optional. The exact y position within the quadrant.
    • exact pos 2 y:, exact pos 3 y: and exact pos 4 y: can be used to mark multiple positions.

Examples

Code Result
{{Position|Northern San d'Oria|C-8}}
(C-8)
{{Position|Windurst Waters|K-6|North}}
(K-6)
{{Position|Inner Horutoto Ruins|I-9|Lily Tower|map link=Lily Tower}}
(I-9)
{{Position|Ifrit's Cauldron|F-8|Map 5|map link=Ifrit's Cauldron}}
(F-8)
{{Position|Bastok Markets|F-10|exact pos x=10|exact pos y=8}}
(F-10)
{{Position|Bastok Markets|F-10|exact pos x=10|exact pos y=8|pos 2=G-9|exact pos 2 x=0|exact pos 2 y = 0}}
(F-10 / G-9)
{{Position|Northern San d'Oria|C-8|pos 2=C-9}}
(C-8 / C-9)