Difference between revisions of "Template:NPC location info"
Jump to navigation
Jump to search
m |
m |
||
Line 5: | Line 5: | ||
| style="width:200px;" | [[{{{1|''Unknown''}}}]] | | style="width:200px;" | [[{{{1|''Unknown''}}}]] | ||
| style="width:150px; text-align: center;" | {{#if:{{{2|}}}|{{Convert coordinate|{{{2|0,0,0}}}}}|''Unknown''}} | | style="width:150px; text-align: center;" | {{#if:{{{2|}}}|{{Convert coordinate|{{{2|0,0,0}}}}}|''Unknown''}} | ||
| style="width:22%; text-align: center;" | {{#if:{{{3|}}}|{{#var:min_level_range}}{{#if:{{#pos:{{{3|}}}|-}}|–{{#var:max_level_range}} | | style="width:22%; text-align: center;" | {{#if:{{{3|}}}|{{#var:min_level_range}}{{#if:{{#pos:{{{3|}}}|-}}|–{{#var:max_level_range}}}}}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Revision as of 13:02, 26 October 2017
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.
- 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 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 |