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

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
Line 9: 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|}}}
}}<!-- ICON
}}<!-- 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}}}}}}}}
-->{{#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:{{#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}}
| {{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|{{{3|}}}}}
| {{Item icon|{{{3|}}}}} {{#if:{{{slot|}}}|<span title="The item can be gathered at position #{{{slot}}}.">[{{{slot}}}]</span>}}
| 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}}}}}
| style="text-align:right; padding-right:1.5em;" | {{#ifeq:{{{5|0}}}|0|&mdash;|{{{5}}}}}
| style="text-align:right; padding-right:1.5em;" | {{#ifeq:{{{5|0}}}|0|&mdash;|{{{5}}}}}
| {{{6|}}}
| {{{6|}}}
</includeonly><noinclude>
</includeonly><noinclude>
{{#var:gathering_node_type}} {{#var:gathering_node_rarity}}
== 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}}.

Revision as of 19:00, 12 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, 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.
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 legendary 2|35|Oak Branch|3|106|4:00 am}}
{{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 Mature Tree
Ice shard icon1.png  Ice Shard 1
Logging unspoiled (map icon).png
Lv. 35 ★★ Legendary Mature Tree
Oak branch icon1.png  Oak Branch 3 106 4:00 am
Harvesting (map icon).png
Lv. 35 Lush Vegetation
Oak log icon1.png  Oak Log 32 108
Harvesting unspoiled (map icon).png
Lv. 35 Ephemeral Lush Vegetation
Tarantula icon1.png  Tarantula 35 115