Difference between revisions of "Template:NPC location info"
Jump to navigation
Jump to search
(creation) |
m |
||
Line 7: | Line 7: | ||
! style="width:35%;" | {{#if:{{{3|}}}|{{#var:min_level_range}}–{{#var:max_level_range}}|''Unknown''}} | ! style="width:35%;" | {{#if:{{{3|}}}|{{#var:min_level_range}}–{{#var:max_level_range}}|''Unknown''}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Usage == | |||
Creates a row storing a variable NPC location info. For use with {{tl|NPC location header}} or {{tl|NPC location table row}}. | |||
<pre> | |||
{{NPC location info|<location>|<coordinate-x>,<coordinate-y>,<coordinate-z>|<min-level>,<max-level>}} | |||
</pre> | |||
== Parameters == | |||
; Unnamed parameter 1 | |||
: The location such as region the NPC is located in. | |||
; Unnamed parameter 2 | |||
: Coordinates X, Y and Z separated by commas. | |||
; Unnamed parameter 3 | |||
: Level range, separated by hyphen. | |||
== Example == | |||
<pre>{| class="location table" | |||
{{NPC location header}} | |||
{{NPC location info|South Sroud|20.7,19.3|4-12}} | |||
|} | |||
</pre> | |||
{| class="location table" | |||
{{NPC location header}} | |||
{{NPC location info|South Sroud|20.7,19.3|4-12}} | |||
|} | |||
[[Category:Location formatting templates]] | [[Category:Location formatting templates]] | ||
</noinclude> | </noinclude> |
Revision as of 11:51, 26 October 2017
Usage
Creates a row storing a variable NPC location info. For use with {{NPC location 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.
- Unnamed parameter 2
- Coordinates X, Y and Z separated by commas.
- Unnamed parameter 3
- Level range, separated by hyphen.
Example
{| class="location table" {{NPC location header}} {{NPC location info|South Sroud|20.7,19.3|4-12}} |}Template:NPC location header
South Sroud | (X:20.7, Y:19.3) | 4-12– |
---|