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