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:Stat"

From DFO World Wiki
Jump to: navigation, search
m
m
Line 58: Line 58:
 
| spr | spirit                      = Spirit {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}
 
| spr | spirit                      = Spirit {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}
 
| exo | exorcism | exorcism parameter= Exorcism {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}
 
| exo | exorcism | exorcism parameter= Exorcism {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}
| fame | adventurer fame= Adventurer Fame {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}
+
| fame | adventurer fame                     = Adv. Fame {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}
 
| hp | max hp | hp max | hp maximum  = HP MAX {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}
 
| hp | max hp | hp max | hp maximum  = HP MAX {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}
 
| mp | max mp | mp max | mp maximum  = MP MAX {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}
 
| mp | max mp | mp max | mp maximum  = MP MAX {{#ifeq: {{#expr:{{{2|}}} < 0}} |1||+}}{{{2|x}}}

Revision as of 19:28, 24 August 2021

Description

This templates formats attribute facts as they appear ingame.

Usage

{{Stat
|<stat> = 
|<value> = 
| format = 
}}

Parameters

stat
Name of the attribute.
value 
Value of the attribute.
format 
Output format. Set to value to display the value only.

Examples

{{Stat|poison dmg|20}}

Poison Damage +20%

{{Stat|hit|-20}}

Hit Rate -20%

{{Stat|weight limit|20|format=value}}

+20kg