Difference between revisions of "Template:Item effect"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if:{{{1|}}}|<!-- | <onlyinclude><p>{{#if:{{{1|}}}|<!-- | ||
-->{{#switch:{{lc:{{{1|}}}}} | -->{{#switch:{{lc:{{{1|}}}}} | ||
| restore hp = Restores up to {{{percent|}}}% of HP{{#if:{{{max|}}}| ({{{max}}} points max)}}. | | restore hp = Restores up to {{{percent|}}}% of HP{{#if:{{{max|}}}| ({{{max}}} points max)}}. | ||
| #default = {{ucfirst:{{{1|}}}}} | | #default = {{ucfirst:{{{1|}}}}} | ||
}}|''No effect name provided.''}} | }}|''No effect name provided.''}}</p></onlyinclude><noinclude> | ||
</onlyinclude><noinclude> | |||
== Description == | == Description == |
Revision as of 14:19, 11 July 2017
No effect name provided.
Description
{{item effect|<effect>|percent=|max=}}
Parameters
- Unnamed parameter 1
- Item effect. Accepts: restore hp. (types under construction).
- percent
- Effect percent.
- max
- Effect max value.
Example
{{Item effect|restore hp|percent=24|max=1920}}
Restores up to 24% of HP (1920 points max).