Difference between revisions of "Template:Gathering node table row"
Jump to navigation
Jump to search
m |
JohnnySolas (talk | contribs) |
||
(45 intermediate revisions by 3 users not shown) | |||
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|{{# | | Has gathering node type = {{ucfirst:{{#vardefineecho:gathering_node_type|{{#explode:{{{1|}}}| |0}}}}}} | ||
| Has gathering node rarity = {{ucfirst:{{#vardefineecho:gathering_node_rarity|{{#if:{{#explode:{{{1|}}}| |1}}|{{#explode:{{{1|}}}| |1}}|normal}}}}}} | |||
| Has gathering node rank = {{#vardefineecho:gathering_node_rank|{{#if:{{#explode:{{{1|}}}| |2}}|{{#explode:{{{1|}}}| |2}}|0}}}} | |||
| Has gathering node level = {{{2|0}}} | | Has gathering node level = {{{2|0}}} | ||
| Has gathering node item output = {{{3|}}} | | Has gathering node item output = {{{3|}}} | ||
Line 7: | Line 9: | ||
| Has gathering node perception requirement = {{{5|0}}} | | Has gathering node perception requirement = {{{5|0}}} | ||
| Has gathering node respawn time = {{{6|}}} | | Has gathering node respawn time = {{{6|}}} | ||
}} | | Has gathering node item slot = {{{slot|}}} | ||
| Requires gathering tome = {{#vardefineecho:gathering_node_tome|{{#if:{{{tome|}}}|Tome of {{#switch:{{lc:{{#var:gathering_node_type}}}}|logging|harvesting=Botanical|mining|quarrying=Geological|fishing|spearfishing=Ichthyological}} Folklore - {{#switch:{{lc:{{{tome|}}}}}|abalathias spine|abalathia's spine=Abalathia's Spine|gyr abania=Gyr Abania|#default={{ucfirst:{{{tome|}}}}}}}|}}}} | |||
| Has x coordinate = {{#explode:{{{7|}}} |,|0}} | |||
| Has y coordinate = {{#explode:{{{7|}}} |,|1}} | |||
| Has z coordinate = {{#explode:{{{7|}}} |,|2}} | |||
}}<!-- ICON | |||
-->{{#vardefine:gathering_icon|{{#ifeq:{{#var:gathering_node_rarity}}|normal|{{#var:gathering_node_type}}|{{#var:gathering_node_type}} {{#switch:{{lc:{{#var:gathering_node_rarity}}}}|ephemeral|legendary|unspoiled=unspoiled|#default={{#var:gathering_node_rarity}}}}}}}} | |||
{{#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:{{#var:gathering_icon}}}}}} Lv. {{{2|0}}} {{#switch:{{#var:gathering_node_rank}}|1=★|2=★★|3=★★★|#default=}} {{#ifeq:{{lc:{{#var:gathering_node_rarity}}}}|normal||{{ucfirst:{{#var:gathering_node_rarity}}}}}} {{#switch:{{lc:{{#var:gathering_node_type}}}}|logging=Mature Tree|harvesting=Lush Vegetation|mining=Mineral Deposit|quarrying=Rocky Outcrop}} | ||
| {{Item icon|{{{ | | {{Item icon|{{{3|}}}}} {{#if:{{{slot|}}}|'''<sup><span title="The item can be gathered at position #{{{slot}}}.">«{{{slot}}}»</span></sup>'''}} | ||
| style="text-align:right; padding-right:1.5em;" | {{#ifeq:{{{4|0}}}|0|—|{{{4}}}}} | |||
| style="text-align:right; padding-right: | | style="text-align:right; padding-right:1.5em;" | {{#ifeq:{{{5|0}}}|0|—|{{{5}}}}} | ||
| style="text-align:right; padding-right: | | {{{6|}}} | ||
| {{#if:{{{ | | style="text-align:center;" | {{#if:{{#var:gathering_node_tome}}|{{Yes|link={{#var:gathering_node_tome}}|tooltip={{cname|{{#var:gathering_node_tome}}}}}}}} | ||
| {{convert coordinate|{{{7|}}}}} | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Creates a row storing a gathering node info. For use with {{tl|Gathering node table header}}. | Creates a row storing a gathering node info. For use with {{tl|Gathering node table header}}. | ||
<pre> | <pre> | ||
{{Gathering node table row| <unnamed param 1> | <unnamed param 2> | <unnamed param 3> | <unnamed param 4> | <unnamed param 5> | <unnamed param 6> | area = }} | {{Gathering node table row| <unnamed param 1> | <unnamed param 2> | <unnamed param 3> | <unnamed param 4> | <unnamed param 5> | <unnamed param 6> | <unnamed param 7> |area = }} | ||
</pre> | </pre> | ||
== Parameters == | == Parameters == | ||
; ''unnamed param 1'' | ; ''unnamed param 1'' | ||
: The gathering node type. | : The gathering node type, rarity and rank. | ||
:: Type accepts: ''logging'', ''harvesting'', ''mining'', ''quarrying'', ''fishing'', and ''spearfishing''. | |||
:: Rarity (optional) accepts: ''ephemeral'', ''unspoiled'', and ''legendary''. | |||
:: Rank (optional) accepts: ''1'', ''2'', and ''3''. | |||
:: Example: ''quarrying legendary 2''. | |||
; ''unnamed param 2'' | ; ''unnamed param 2'' | ||
: The node's level. Defaults to 0 (none). | |||
; ''unnamed param 3'' | |||
: The item obtained from this node. | : The item obtained from this node. | ||
; ''unnamed param | ; ''unnamed param 4'' | ||
: The gathering level required in order to gather this node. Defaults to 0 (none). | : The gathering level required in order to gather this node. Defaults to 0 (none). | ||
; ''unnamed param | ; ''unnamed param 5'' | ||
: The perception required in order to gather a HQ item from this node. Defaults to 0 (none). | : The perception required in order to gather a HQ item from this node. Defaults to 0 (none). | ||
; ''unnamed param 6'' | ; ''unnamed param 6'' | ||
: The respawn time for unspoiled/special nodes. Example: <code>2:00 am</code>. | : The respawn time for unspoiled/special nodes. Example: <code>2:00 am</code>. | ||
; ''unnamed param 7'' | |||
: The coordinates of the node. Example: <code>15.11,23.3</code>. | |||
; 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>. | ||
; slot | |||
: Optional. The slot a certain item can be acquired from a legendary node. | |||
== Example == | == Example == | ||
<pre>{{gathering node table header|gatherer=botanist}} | <pre>{{gathering node table header|gatherer=botanist}} | ||
{{gathering node table row|logging|35|Ice Shard|1|0}} | {{gathering node table row|logging|35|Ice Shard|1|0}} | ||
{{gathering node table row|logging|35|Oak Branch|3|106}} | {{gathering node table row|logging legendary 2|35|Oak Branch|3|106|4:00 am|slot=6|tome=gyr abania}} | ||
{{gathering node table row| | {{gathering node table row|harvesting|35|Oak Log|32|108}} | ||
{{gathering node table row| | {{gathering node table row|harvesting ephemeral|35|Tarantula|35|115}} | ||
{{table footer}}</pre> | {{table footer}}</pre> | ||
{{gathering node table header|gatherer=botanist}} | {{gathering node table header|gatherer=botanist}} | ||
{{gathering node table row|logging|35|Ice Shard|1|0}} | {{gathering node table row|logging|35|Ice Shard|1|0}} | ||
{{gathering node table row|logging|35|Oak Branch|3|106}} | {{gathering node table row|logging legendary 2|35|Oak Branch|3|106|4:00 am|slot=6|tome=gyr abania}} | ||
{{gathering node table row| | {{gathering node table row|harvesting|35|Oak Log|32|108}} | ||
{{gathering node table row| | {{gathering node table row|harvesting ephemeral|35|Tarantula|35|115}} | ||
{{table footer}} | {{table footer}} | ||
[[Category:Gathering formatting templates]]</noinclude> | [[Category:Gathering formatting templates]]</noinclude> |
Latest revision as of 18:48, 8 August 2021
Usage
Creates a row storing a gathering node info. For use with {{Gathering node table header}}.
{{Gathering node table row| <unnamed param 1> | <unnamed param 2> | <unnamed param 3> | <unnamed param 4> | <unnamed param 5> | <unnamed param 6> | <unnamed param 7> |area = }}
Parameters
- unnamed param 1
- The gathering node type, rarity and rank.
- Type accepts: logging, harvesting, mining, quarrying, fishing, and spearfishing.
- Rarity (optional) accepts: ephemeral, unspoiled, and legendary.
- Rank (optional) accepts: 1, 2, and 3.
- Example: quarrying legendary 2.
- unnamed param 2
- The node's level. Defaults to 0 (none).
- unnamed param 3
- The item obtained from this node.
- unnamed param 4
- The gathering level required in order to gather this node. Defaults to 0 (none).
- unnamed param 5
- The perception required in order to gather a HQ item from this node. Defaults to 0 (none).
- unnamed param 6
- The respawn time for unspoiled/special nodes. Example:
2:00 am
. - unnamed param 7
- The coordinates of the node. Example:
15.11,23.3
. - area
- The area where this gathering node is available. Defaults to
{{PAGENAME}}
. - slot
- Optional. The slot a certain item can be acquired from a legendary node.
Example
{{gathering node table header|gatherer=botanist}} {{gathering node table row|logging|35|Ice Shard|1|0}} {{gathering node table row|logging legendary 2|35|Oak Branch|3|106|4:00 am|slot=6|tome=gyr abania}} {{gathering node table row|harvesting|35|Oak Log|32|108}} {{gathering node table row|harvesting ephemeral|35|Tarantula|35|115}} {{table footer}}
Logging/Harvesting | |||||||
---|---|---|---|---|---|---|---|
Node | Item | Level Req. | Perception | Respawn | Tome | Coordinates | |
Lv. 35 Mature Tree | Ice Shard | 1 | — | ||||
Lv. 35 ★★ Legendary Mature Tree | Oak Branch «6» | 3 | 106 | 4:00 am | 1 | ||
Lv. 35 Lush Vegetation | Oak Log | 32 | 108 | ||||
Lv. 35 Ephemeral Lush Vegetation | Tarantula | 35 | 115 |