Difference between revisions of "Template:Item effect"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
-->{{#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)}}.
   | spell speed = Spell Speed +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}.
   | spell speed = Spell Speed +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}
   | critical hit = Critical Hit +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}.
   | critical hit = Critical Hit +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}
   | magic defense = Magic Defense +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}.
   | magic defense = Magic Defense +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}
   | direct hit rate = Direct Hit Rate +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}.
   | direct hit rate = Direct Hit Rate +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}
   | vitality | piety | mind | intelligence | strength | dexterity = {{ucfirst:{{{1}}}}} +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}.
   | vitality | piety | mind | intelligence | strength | dexterity = {{ucfirst:{{{1}}}}} +{{{percent|}}}%{{#if:{{{max|}}}| (Max {{{max}}})}}
   | #default = {{ucfirst:{{{1|}}}}}
   | #default = {{ucfirst:{{{1|}}}}}
   }}|''No effect name provided.''}}</p></onlyinclude><noinclude>
   }}|''No effect name provided.''}}</p></onlyinclude><noinclude>

Revision as of 15: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).