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

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
| 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                  = {{#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            = {{{2|}}}
| Has gathering node level                  = {{{2|0}}}
| Has gathering node level requirement      = {{{3|0}}}
| Has gathering node item output            = {{{3|}}}
| Has gathering node perception requirement = {{{4|0}}}
| Has gathering node level requirement     = {{{4|0}}}
| Has gathering node level                  = {{{5|0}}}
| Has gathering node perception requirement = {{{5|0}}}
| Has gathering node respawn time          = {{{6|}}}
| 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:{{{1|}}}}}}} {{#var:gathering_node_type}}
| {{Map icon|{{lc:{{{1|}}}}}}} Lv. {{{2|0}}} {{#if:{{#pos:{{#var:gathering_node_type}}| }}|{{#explode:{{#var:gathering_node_type}}| |0}} }}{{#switch:{{lc:{{{1|}}}}}|logging=Mature Tree|harvesting=Lush Vegetation|mining=Mineral Deposit|quarrying=Rocky Outcrop}}
| {{Item icon|{{{2|}}}}}
| {{Item icon|{{{2|}}}}}
| style="text-align:right; padding-right:1em;" | {{#ifeq:{{{3|0}}}|0|—|{{{3}}}}}
| style="text-align:right; padding-right:1em;" | {{#ifeq:{{{3|0}}}|0|—|{{{3}}}}}
Line 42: Line 42:
== Example ==
== Example ==
<pre>{{gathering node table header|gatherer=botanist}}
<pre>{{gathering node table header|gatherer=botanist}}
{{gathering node table row|logging|Ice Shard|1|0|35}}
{{gathering node table row|logging|35|Ice Shard|1|0}}
{{gathering node table row|logging|Oak Branch|3|106|35}}
{{gathering node table row|logging|35|Oak Branch|3|106}}
{{gathering node table row|logging|Oak Log|32|108|35}}
{{gathering node table row|logging|35|Oak Log|32|108}}
{{gathering node table row|logging|Tarantula|35|115|35}}
{{gathering node table row|logging|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|Ice Shard|1|0|35}}
{{gathering node table row|logging|35|Ice Shard|1|0}}
{{gathering node table row|logging|Oak Branch|3|106|35}}
{{gathering node table row|logging|35|Oak Branch|3|106}}
{{gathering node table row|logging|Oak Log|32|108|35}}
{{gathering node table row|logging|35|Oak Log|32|108}}
{{gathering node table row|logging|Tarantula|35|115|35}}
{{gathering node table row|logging|35|Tarantula|35|115}}
{{table footer}}
{{table footer}}
[[Category:Gathering formatting templates]]</noinclude>
[[Category:Gathering formatting templates]]</noinclude>

Revision as of 20:52, 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|35|Oak Branch|3|106}}
{{gathering node table row|logging|35|Oak Log|32|108}}
{{gathering node table row|logging|35|Tarantula|35|115}}
{{table footer}}
Logging/Harvesting
Node Item Level Req. Perception Respawn Tome Coordinates
Logging (map icon).png
Lv. 35 Mature Tree
20px  35 Ice Shard 1
Logging (map icon).png
Lv. 35 Mature Tree
20px  35 Oak Branch 3 106
Logging (map icon).png
Lv. 35 Mature Tree
20px  35 Oak Log 32 108
Logging (map icon).png
Lv. 35 Mature Tree
20px  35 Tarantula 35 115