Difference between revisions of "Template:NPC location info"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 46: Line 46:
<pre>{| class="location table"
<pre>{| class="location table"
{{NPC location table header}}
{{NPC location table header}}
{{NPC location info|Eastern Thanalan|-}}
{{NPC location info|Eastern Thanalan|12,34|-}}
|}
|}
</pre>
</pre>
{| class="location table"
{| class="location table"
{{NPC location table header}}
{{NPC location table header}}
{{NPC location info|Eastern Thanalan|-}}
{{NPC location info|Eastern Thanalan|12,34|-}}
|}
|}


[[Category:Location formatting templates]]
[[Category:Location formatting templates]]
</noinclude>
</noinclude>

Revision as of 18:27, 22 August 2018


Usage

Creates a row storing a variable NPC location info. For use with {{NPC location table header}} or {{NPC location table row}}.

{{NPC location info|<location>|<coordinate-x>,<coordinate-y>,<coordinate-z>|<min-level>,<max-level>}}

Parameters

Unnamed parameter 1
The location such as region the NPC is located in. Defaults to Unknown.
Unnamed parameter 2
Optional. Coordinates X, Y and Z separated by commas. Defaults to Unknown.
Unnamed parameter 3
Optional. Level range, separated by hyphen or single value for non-variable level. The "-" symbol translates to "—". Defaults to Unknown.

Example

{| class="location table"
{{NPC location table header}}
{{NPC location info|South Shroud|20.7,19.3,23.5|4-12}}
|}
Zone Coordinates Level range
South Shroud (X:20.7, Y:19.3, Z:23.5) 4–12
{| class="location table"
{{NPC location table header}}
{{NPC location info}}
|}
Zone Coordinates Level range
Unknown Unknown Unknown
{| class="location table"
{{NPC location table header}}
{{NPC location info|Eastern Thanalan|12,34|-}}
|}
Zone Coordinates Level range
Eastern Thanalan (X:12, Y:34)