Difference between revisions of "Template:Gathering node table row"
Jump to navigation
Jump to search
m (Valento moved page Template:Gathering table row to Template:Gathering node table row without leaving a redirect) |
m |
||
Line 1: | Line 1: | ||
<includeonly>|- {{#vardefine:gatheringnodecnt|{{#expr:{{#var:gatheringnodecnt|0}}+1}}}}{{#subobject:gatheringnode{{#var:gatheringnodecnt}} | <includeonly>|- {{#vardefine:gatheringnodecnt|{{#expr:{{#var:gatheringnodecnt|0}}+1}}}}{{#subobject:gatheringnode{{#var:gatheringnodecnt}} | ||
| Has gathering node area = {{{area|{{PAGENAME}}}}} | | Has gathering node area = {{{area|{{PAGENAME}}}}} | ||
| Has gathering node type = {{#vardefineecho:gathering_node_type|{{#switch:{{{ | | Has gathering node type = {{#vardefineecho:gathering_node_type|{{#switch:{{{1|}}}|logging unspoiled=Unspoiled Logging|harvesting unspoiled=Unspoiled Harvesting|mining unspoiled=Unspoiled Mining|quarrying unspoiled=Unspoiled Quarrying|fishing unspoiled=Unspoiled Fishing|spearfishing unspoiled=Unspoiled Spearfishing|#default={{ucfirst:{{{1|}}}}}}} }} | ||
| Has gathering node item output = {{{ | | Has gathering node item output = {{{2|}}} | ||
| Has gathering node level requirement = {{{ | | Has gathering node level requirement = {{{3|0}}} | ||
| Has gathering node perception requirement = {{{ | | Has gathering node perception requirement = {{{4|0}}} | ||
| Has gathering node level = {{{ | | Has gathering node level = {{{5|0}}} | ||
| Has gathering node respawn time = {{{ | | Has gathering node respawn time = {{{6|}}} | ||
}} | }} | ||
{{#ifeq:{{#var:gathering_node_show_area|false}}|true|{{!}} {{cname|{{{area|{{PAGENAME}}}}}}}}} | {{#ifeq:{{#var:gathering_node_show_area|false}}|true|{{!}} {{cname|{{{area|{{PAGENAME}}}}}}}}} | ||
| {{Map icon|{{lc:{{{ | | {{Map icon|{{lc:{{{1|}}}}}}} {{#var:gathering_node_type}} | ||
| {{Item icon|{{{ | | {{Item icon|{{{2|}}}}} | ||
| style="text-align:right; padding-right:1em;" | {{# | | style="text-align:right; padding-right:1em;" | {{#ifeq:{{{3|0}}}|0|—|{{{3}}}}} | ||
| style="text-align:right; padding-right:1em;" | {{# | | style="text-align:right; padding-right:1em;" | {{#ifeq:{{{4|0}}}|0|—|{{{4}}}}} | ||
| style="text-align:right; padding-right:1em;" | {{# | | style="text-align:right; padding-right:1em;" | {{#ifeq:{{{5|0}}}|0|—|{{{5}}}}} | ||
| {{#if:{{{ | | {{#if:{{{6|}}}|{{{6|}}}|—}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 22: | Line 22: | ||
<pre> | <pre> | ||
{{Gathering node table row | {{Gathering node table row | ||
| 1 = | |||
| 2 = | |||
| 3 = | |||
| 4 = | |||
| 5 = | |||
| 6 = | |||
| area = | | area = | ||
}} | }} | ||
</pre> | </pre> | ||
== Parameters == | == Parameters == | ||
; ''unnamed param 1'' | |||
: The gathering node type. Accepts: ''logging'', ''logging unspoiled'', ''harvesting'', ''harvesting unspoiled'', ''mining'', ''mining unspoiled'', ''quarrying'', ''quarrying unspoiled'', ''fishing'', ''fishing unspoiled'', ''spearfishing'', and ''spearfishing unspoiled''. | |||
; ''unnamed param 2'' | |||
: The item obtained from this node. | |||
; ''unnamed param 3'' | |||
: The gathering level required in order to gather this node. Defaults to 0 (none). | |||
; ''unnamed param 4'' | |||
: The perception required in order to gather a HQ item from this node. Defaults to 0 (none). | |||
; ''unnamed param 5'' | |||
: The node's level. Defaults to 0 (none). | |||
; ''unnamed param 6'' | |||
: The respawn time for unspoiled/special nodes. Example: <code>2:00 am</code>. Defaults to 0 (none). | |||
; area | ; area | ||
: The area where this gathering node is available. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. | : The area where this gathering node is available. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. | ||
[[Category:Gathering formatting templates]]</noinclude> | [[Category:Gathering formatting templates]]</noinclude> |
Revision as of 18:43, 1 September 2018
Usage
Creates a row storing a gathering node info. For use with {{Gathering node table header}}.
{{Gathering node table row | 1 = | 2 = | 3 = | 4 = | 5 = | 6 = | area = }}
Parameters
- unnamed param 1
- The gathering node type. Accepts: logging, logging unspoiled, harvesting, harvesting unspoiled, mining, mining unspoiled, quarrying, quarrying unspoiled, fishing, fishing unspoiled, spearfishing, and spearfishing unspoiled.
- unnamed param 2
- The item obtained from this node.
- unnamed param 3
- The gathering level required in order to gather this node. Defaults to 0 (none).
- unnamed param 4
- The perception required in order to gather a HQ item from this node. Defaults to 0 (none).
- unnamed param 5
- The node's level. Defaults to 0 (none).
- unnamed param 6
- The respawn time for unspoiled/special nodes. Example:
2:00 am
. Defaults to 0 (none). - area
- The area where this gathering node is available. Defaults to
{{PAGENAME}}
.