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"

From DFO World Wiki
Jump to: navigation, search
Line 10: Line 10:
 
     Userparam is used to differentiate the two queries in the result format
 
     Userparam is used to differentiate the two queries in the result format
 
     template.
 
     template.
 +
    The stat order of the printout statements is the same as the order in
 +
    "Template:Stat enumeration".
 
-->
 
-->
  
Line 119: Line 121:
 
| default =
 
| default =
 
}}
 
}}
 +
 
|}}</includeonly><noinclude>
 
|}}</includeonly><noinclude>
 
== Description ==
 
== Description ==
Line 125: Line 128:
  
 
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.
 +
 +
Uses [[Template:Equipment effect retrieval result format]].
  
 
== Usage ==
 
== Usage ==

Revision as of 16:08, 14 March 2016

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.

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}}