Difference between revisions of "Template:Gathering node table row"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
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:{{{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 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 9: Line 11:
}}
}}
{{#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:{{{1|}}}}}}} Lv. {{{2|0}}} {{#if:{{#pos:{{#var:gathering_node_type}}| }}|{{#explode:{{#var:gathering_node_type}}| |0}}&nbsp;}}{{#switch:{{lc:{{#explode:{{{1|}}}| |0}}}}|logging=Mature Tree|harvesting=Lush Vegetation|mining=Mineral Deposit|quarrying=Rocky Outcrop}}
| {{Map icon|{{lc:{{{1|}}}}}}} 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|{{{3|}}}}}
| {{Item icon|{{{3|}}}}}
| style="text-align:right; padding-right:1.5em;" | {{#ifeq:{{{4|0}}}|0|&mdash;|{{{4}}}}}
| style="text-align:right; padding-right:1.5em;" | {{#ifeq:{{{4|0}}}|0|&mdash;|{{{4}}}}}

Revision as of 21:18, 9 October 2018


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> | 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.
area
The area where this gathering node is available. Defaults to {{PAGENAME}}.

Example

{{gathering node table header|gatherer=botanist}}
{{gathering node table row|logging|35|Ice Shard|1|0}}
{{gathering node table row|logging unspoiled|35|Oak Branch|3|106}}
{{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
Logging (map icon).png
Lv. 35 {{#ifeq:normal Mature Tree
Ice shard icon1.png  Ice Shard 1
Logging unspoiled (map icon).png
Lv. 35 {{#ifeq:unspoiled Mature Tree
Oak branch icon1.png  Oak Branch 3 106
Harvesting (map icon).png
Lv. 35 {{#ifeq:normal Lush Vegetation
Oak log icon1.png  Oak Log 32 108
Lv. 35 {{#ifeq:ephemeral Lush Vegetation Tarantula icon1.png  Tarantula 35 115