Difference between revisions of "Template:Item effect"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Added "restore gp" and changed handling of EXP)
(added "reduced durability loss")
Line 13: Line 13:
   | gp = GP
   | gp = GP
   | exp =  
   | exp =  
  | reduced durability loss =
   | #default = {{ucfirst:{{{1|}}}}}
   | #default = {{ucfirst:{{{1|}}}}}
   }}{{#switch:{{lc:{{{1|}}}}}<!-- Effect value -->
   }}{{#switch:{{lc:{{{1|}}}}}<!-- Effect value -->
Line 19: Line 20:
   | restore gp = Restores {{{value|}}} GP.
   | restore gp = Restores {{{value|}}} GP.
   | exp = Increases EXP earned by {{{percent|}}}.
   | exp = Increases EXP earned by {{{percent|}}}.
   | 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 | increased spiritbond gain = &nbsp;+{{#if:{{{value|}}}|{{{value}}}}}{{#if:{{{percent|}}}|{{{percent}}}}}{{#if:{{{max|}}}|&nbsp;(Max {{{max}}})}}
   | reduced durability loss = Reduced Durability Loss +{{{value|}}}
  | 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 | increased spiritbond gain = &nbsp;+{{#if:{{{value|}}}|{{{value}}}}}{{#if:{{{percent|}}}|{{{percent}}}}}{{#if:{{{max|}}}|&nbsp;(Max {{{max}}})}}
   | #default = {{{value|}}}
   | #default = {{{value|}}}
   }}|''No effect name provided.''}}</p></onlyinclude><noinclude>
   }}|''No effect name provided.''}}</p></onlyinclude><noinclude>
Line 30: Line 32:
== Parameters ==
== Parameters ==
; Unnamed parameter 1
; Unnamed parameter 1
: Item effect. Accepts: ''restore hp'', ''restore mp'', ''restore gp'', ''spell speed'', ''skill speed'', ''critical hit'', ''magic defense'', ''direct hit rate'', ''cp'', ''gp''.
: Item effect. Accepts: ''restore hp'', ''restore mp'', ''restore gp'', ''spell speed'', ''skill speed'', ''critical hit'', ''magic defense'', ''direct hit rate'', ''cp'', ''gp'', "reduced durability loss".
; percent
; percent
: Effect percent.
: Effect percent.
Line 47: Line 49:
<pre>{{Item effect|exp|percent=30%}}</pre>
<pre>{{Item effect|exp|percent=30%}}</pre>
{{Item effect|exp|percent=30%}}
{{Item effect|exp|percent=30%}}
<pre>{{Item effect|reduced durability loss|value=30}}</pre>
{{Item effect|reduced durability loss|value=30}}


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 15:45, 5 March 2022

No effect name provided.

Description

{{item effect|<effect>|percent=|max=|value=}}

Parameters

Unnamed parameter 1
Item effect. Accepts: restore hp, restore mp, restore gp, spell speed, skill speed, critical hit, magic defense, direct hit rate, cp, gp, "reduced durability loss".
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|restore hp|percent=24%|max=1920}}

Restores up to 24% of HP (1920 points max).

{{Item effect|restore gp|value=350}}

Restores 350 GP.

{{Item effect|exp|percent=30%}}

Increases EXP earned by 30%.

{{Item effect|reduced durability loss|value=30}}

Reduced Durability Loss +30