Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:Equipment effect retrieval"
m |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 15: | Line 15: | ||
{{#ask:[[{{{1}}}]] | {{#ask:[[{{{1}}}]] | ||
+ | |?Has adventurer fame | ||
|?Has weapon physical attack | |?Has weapon physical attack | ||
|?Has weapon magical attack | |?Has weapon magical attack | ||
Line 29: | Line 30: | ||
|?Has hp recovery bonus | |?Has hp recovery bonus | ||
|?Has mp recovery bonus | |?Has mp recovery bonus | ||
+ | |?Has damage value | ||
+ | |?Has buff power | ||
|?Has attack speed bonus | |?Has attack speed bonus | ||
|?Has movement speed bonus | |?Has movement speed bonus | ||
Line 100: | Line 103: | ||
| template = Equipment effect retrieval result format | | template = Equipment effect retrieval result format | ||
| userparam = 1 | | userparam = 1 | ||
− | | default = | + | | default ={{Equipment effect retrieval result format|userparam = 1}} |
}}<!-- | }}<!-- | ||
Line 112: | Line 115: | ||
|?Has skill range level bonus|+index=3 | |?Has skill range level bonus|+index=3 | ||
|?Has skill range level bonus|+index=4 | |?Has skill range level bonus|+index=4 | ||
− | |||
|?Has effect description | |?Has effect description | ||
|?Has flavor text | |?Has flavor text | ||
Line 119: | Line 121: | ||
| template = Equipment effect retrieval result format | | template = Equipment effect retrieval result format | ||
| userparam = 2 | | userparam = 2 | ||
− | | default = | + | | default ={{Equipment effect retrieval result format|userparam = 2}} |
}} | }} | ||
Line 126: | Line 128: | ||
This template retrieves all stat properties and effects of a piece of equipment and saves the values in variables. There is no visible output. | This template retrieves all stat properties and effects of a piece of equipment and saves the values in variables. There is no visible output. | ||
+ | |||
+ | Use this template sparingly as query times add up quickly. | ||
The default variable names match the name of the stats, e.g. <code>#var:weapon physical attack</code> or <code>#var:fire damage</code>. For the properties [[Property:Has skill level bonus|Has skill level bonus]] and [[Property:Has skill range level bonus|Has skill range level bonus]], the variables contain formatted text, but the variables for the properties that make up the record such as [[Property:Has skill level bonus class|Has skill level bonus class]] contain the raw data. | The default variable names match the name of the stats, e.g. <code>#var:weapon physical attack</code> or <code>#var:fire damage</code>. For the properties [[Property:Has skill level bonus|Has skill level bonus]] and [[Property:Has skill range level bonus|Has skill range level bonus]], the variables contain formatted text, but the variables for the properties that make up the record such as [[Property:Has skill level bonus class|Has skill level bonus class]] contain the raw data. |
Latest revision as of 13:33, 25 September 2023
Contents
[hide]Description
This template retrieves all stat properties and effects of a piece of equipment and saves the values in variables. There is no visible output.
Use this template sparingly as query times add up quickly.
The default variable names match the name of the stats, e.g. #var:weapon physical attack
or #var:fire damage
. For the properties Has skill level bonus and Has skill range level bonus, the variables contain formatted text, but the variables for the properties that make up the record such as Has skill level bonus class contain the raw data.
Uses Template:Equipment effect retrieval result format.
Usage
{{Equipment effect retrieval |<item page> = | var prefix = | var suffix = }}
Parameters
All parameters are optional unless stated otherwise.
- item page
- Required. Item page. The wiki page of the item.
- var prefix
- The prefix for the variable names. Always followed by a whitespace.
- var suffix
- The suffix for the variable names. Always preceded by a whitespace.
Examples
{{Equipment effect retrieval|Corrupt Imposter Death Scythe}} {{#var:intelligence}}
{{Equipment effect retrieval|Garroter Sickle|var prefix = scythe|var suffix = suf}} {{#var:scythe inflicts elemental damage suf}}
{{Equipment effect retrieval|Frozen Resonance Sickle}} {{#var:skill level bonus}}