Difference between revisions of "Template:Item effect"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Add restore mp)
Line 1: Line 1:
<onlyinclude><p>{{#if:{{{1|}}}|<!--
<onlyinclude><p>{{#if:{{{1|}}}|<!--
-->{{#switch:{{lc:{{{1|}}}}}<!-- Effect name -->
-->{{#switch:{{lc:{{{1|}}}}}<!-- Effect name -->
   | restore hp =  
   | restore hp = HP
  | restore mp = MP
   | spell speed = Spell Speed
   | spell speed = Spell Speed
   | skill speed = Skill Speed
   | skill speed = Skill Speed
Line 11: Line 12:
   | #default = {{ucfirst:{{{1|}}}}}
   | #default = {{ucfirst:{{{1|}}}}}
   }}{{#switch:{{lc:{{{1|}}}}}<!-- Effect value -->
   }}{{#switch:{{lc:{{{1|}}}}}<!-- Effect value -->
   | restore hp = Restores up to {{{percent|}}}% of HP{{#if:{{{max|}}}|&nbsp;({{{max}}} points max)}}.
   | restore hp | restore mp = Restores up to {{{percent|}}}% of {{value}}{{#if:{{{max|}}}|&nbsp;({{{max}}} points max)}}.
   | exp | gear durability| spell speed | skill speed | critical hit | magic defense | direct hit rate | vitality | piety | mind | intelligence | strength | dexterity | tenacity | determination | craftsmanship | control | gathering | perception | gp | cp = &nbsp;+{{#if:{{{value|}}}|{{{value}}}}}{{#if:{{{percent|}}}|{{{percent}}}%}}{{#if:{{{max|}}}|&nbsp;(Max {{{max}}})}}
   | exp | gear durability| spell speed | skill speed | critical hit | magic defense | direct hit rate | vitality | piety | mind | intelligence | strength | dexterity | tenacity | determination | craftsmanship | control | gathering | perception | gp | cp = &nbsp;+{{#if:{{{value|}}}|{{{value}}}}}{{#if:{{{percent|}}}|{{{percent}}}%}}{{#if:{{{max|}}}|&nbsp;(Max {{{max}}})}}
   | #default = {{{value|}}}
   | #default = {{{value|}}}

Revision as of 02:42, 4 April 2019

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

HPRestores up to 24% of Template:Value (1920 points max).