Template:Item tooltip: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 56: Line 56:
{{#ifexpr: {{{castingTimeDecrement|0}}} > 0|<tr><td>Casting Time Decrement</td><td>{{{castingTimeDecrement}}}</td></tr>}}
{{#ifexpr: {{{castingTimeDecrement|0}}} > 0|<tr><td>Casting Time Decrement</td><td>{{{castingTimeDecrement}}}</td></tr>}}
{{#ifexpr: {{{avoidanceTimeDecrement|0}}} > 0|<tr><td>Avoidance Time Decrement</td><td>{{{avoidanceTimeDecrement}}}</td></tr>}}
{{#ifexpr: {{{avoidanceTimeDecrement|0}}} > 0|<tr><td>Avoidance Time Decrement</td><td>{{{avoidanceTimeDecrement}}}</td></tr>}}
<tr><td>Attack Speed</td><td>{{#ifexpr: {{{attackSpeed|0}}} <= 1500 | Fast +2
{{#if: {{{attackSpeed|}}}|
| {{{attackSpeed|0}}} <= 1700 | Fast +1
<tr><td>Attack Speed</td><td>
| {{{attackSpeed|0}}} <= 1900 | Fast
{{#ifexpr: {{{attackSpeed|0}}} <= 1500 | Fast +2
| {{{attackSpeed|0}}} <= 2100 | Medium
| {{#ifexpr: {{{attackSpeed|0}}} <= 1700 | Fast +1
| {{{attackSpeed|0}}} <= 2300 | Slow
| {{#ifexpr: {{{attackSpeed|0}}} <= 1900 | Fast
| {{{attackSpeed|0}}} <= 2500 | Slow +1
| {{#ifexpr: {{{attackSpeed|0}}} <= 2100 | Medium
| Slow +2}}</td></tr>
| {{#ifexpr: {{{attackSpeed|0}}} <= 2300 | Slow
| {{#ifexpr: {{{attackSpeed|0}}} <= 2500 | Slow +1
| Slow +2}}}}}}}}}}}}</td></tr>
}}
</table>
</table>
<div class="bonuses">
<div class="bonuses">

Revision as of 15:14, 9 June 2024

Warning:
This page is in draft.

This is the "Item tooltip" template. It should be transcluded in the following format:

{{Item tooltip
|rarity=
|name=
|description=
|requiredRaces=
|requiredGender=
|requiredClasses=
|requiredLevel=
|requiredCraftingMaterials=
|requiredCraftingSkills=
|requiredStrength=
|requiredIntelligence=
|requiredDexterity=
|durability=
|durabilityMax=
|physicalAttackMin=
|physicalAttackMax=
|magicalAttackMin=
|magicalAttackMax=
|physicalDefense=
|magicalDefense=
|manaBonus=
|castingTimeDecrement=
|avoidanceTimeDecrement=
|attackSpeed= // numeric, e.g. 1700
|price=
}}


Example

Bloodsucking Mysterious Staff of Frost
This is an example tooltip for an item. The given item is mocked and does not describe any obtainable item in the game.




Requirement Level65
Durability{{{durability}}} / {{{durabilityMax}}}
Physical Offense10 - 20
Magical Offense50 - 100
Physical Defense30
Magical Defense24
Attack Speed Fast +1
Vitality + 42
Additional Attacking Power + 23%
Maximum Mana + 420
Limit Level reduced -2
Unidentified
Price: 66 PP 55 GP 44 CP (665544)