Template:Item tooltip: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 96: Line 96:
<noinclude>
<noinclude>
== Example ==
== Example ==
<pre>
{{Item tooltip
{{Item tooltip
|rarity=rare
|rarity=rare
Line 107: Line 108:
|durabilityMax=240
|durabilityMax=240
|isDurabilityWarning=0
|isDurabilityWarning=0
|isUnidentified=0
|bonus1=Vitality + 42
|bonus2=Additional Attacking Power + 23%
|bonus3=Maximum Mana + 420
|bonus4=Limit Level reduced -2
|isBonus4Decreasing=1
|hasDurabilityWarning=1
|price=665544
}}
</pre>
{{Item tooltip
|rarity=rare
|name=Mysterious Staff
|namePrefix=Bloodsucking
|nameSuffix=of Frost
|description=This is an example tooltip for an item. The given item is mocked and does not describe any obtainable item in the game.
|requiredLevel=65
|attackSpeed=1700
|durability=42
|durabilityMax=240
|isDurabilityWarning=0
|magicalAttackMin=100
|magicalAttackMax=320
|isMagicalAttackImproved=1
|isUnidentified=0
|isUnidentified=0
|bonus1=Vitality + 42
|bonus1=Vitality + 42

Revision as of 17:06, 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= // normal, magic, rare, soul, unique, epic
|name=
|description=
|requiredRaces=
|requiredGender=
|requiredClasses=
|requiredLevel=
|requiredCraftingMaterials=
|requiredCraftingSkills=
|requiredStrength=
|requiredIntelligence=
|requiredDexterity=
|durability=
|durabilityMax=
|hasDurabilityWarning=
|physicalAttackMin=
|physicalAttackMax=
|isPhysicalAttackImproved=
|magicalAttackMin=
|magicalAttackMax=
|isMagicalAttackImproved=
|physicalDefense=
|isPhysicalDefenseImproved=
|magicalDefense=
|isMagicalDefenseImproved=
|manaBonus=
|castingTimeDecrement=
|avoidanceTimeDecrement=
|attackSpeed= // numeric, e.g. 1700
|isUnidentified=
|bonus1=
|isBonus1Decreasing=
|bonus2=
|isBonus2Decreasing=
|bonus3=
|isBonus3Decreasing=
|bonus4=
|isBonus4Decreasing=
|price=
}}


Example

{{Item tooltip
|rarity=rare
|name=Mysterious Staff
|namePrefix=Bloodsucking
|nameSuffix=of Frost
|description=This is an example tooltip for an item. The given item is mocked and does not describe any obtainable item in the game.
|requiredLevel=65
|attackSpeed=1700
|durability=42
|durabilityMax=240
|isDurabilityWarning=0
|isUnidentified=0
|bonus1=Vitality + 42
|bonus2=Additional Attacking Power + 23%
|bonus3=Maximum Mana + 420
|bonus4=Limit Level reduced -2
|isBonus4Decreasing=1
|hasDurabilityWarning=1
|price=665544
}}


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
Durability42 / 240
Magical Offense100 - 320
Attack Speed Fast +1
Vitality + 42
Additional Attacking Power + 23%
Maximum Mana + 420
Limit Level reduced -2
Price: 66 PP 55 GP 44 CP (665544)