Difference between revisions of "Template:Item effect test"
Jump to navigation
Jump to search
(Created page with "<onlyinclude><p>{{#if:{{{1|}}}|<!-- -->{{#switch:{{lc:{{{1|}}}}}<!-- Effect name --> | restore hp = | restore mp = | spell speed = Spell Speed | skill speed = Ski...") |
|||
Line 33: | Line 33: | ||
== Example == | == Example == | ||
<pre>{{Item effect|restore hp|percent=24|max=1920}}</pre> | <pre>{{Item effect test|restore hp|percent=24|max=1920}}</pre> | ||
{{Item effect test|restore hp|percent=24|max=1920}} | {{Item effect test|restore hp|percent=24|max=1920}} | ||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Revision as of 23:36, 2 July 2019
No effect name provided.
Description
{{item effect|<effect>|percent=|max=|value=}}
Parameters
- Unnamed parameter 1
- Item effect. Accepts: restore hp, restore mp, spell speed, skill speed, critical hit, magic defense, direct hit rate, cp, gp.
- percent
- Effect percent.
- max
- Effect max value.
- value
- Effect's constant value (not a percent). If using value, do not use percent or max.
Example
{{Item effect test|restore hp|percent=24|max=1920}}
Restores up to 24% of HP (1920 points max).