Template:Item tooltip: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 36: Line 36:
<templatestyles src="Item tooltip/styles.css" />
<templatestyles src="Item tooltip/styles.css" />
<div class="template_itemTooltip">
<div class="template_itemTooltip">
<div class="name magic">{{#if: {{{namePrefix|}}}|{{{namePrefix}}}}} {{{name|Mysterious Staff}}} {{#if: {{{nameSuffix|}}}|{{{nameSuffix}}}}}</div>
<div class="name magic">{{#if: {{{namePrefix|}}}|{{{namePrefix}}}}} {{{name}}} {{#if: {{{nameSuffix|}}}|{{{nameSuffix}}}}}</div>
<div class="description">{{{description|This is an example tooltip for an item. The given item is mocked and does not describe any obtainable item in the game.}}}</div>
<div class="description">{{{description|This is an example tooltip for an item. The given item is mocked and does not describe any obtainable item in the game.}}}</div>
<table class="attributeTable">
<table class="attributeTable">
Line 79: Line 79:
== Example ==
== Example ==
{{Item tooltip
{{Item tooltip
|name=Mysterious Staff
|namePrefix=Bloodsucking
|namePrefix=Bloodsucking
|nameSuffix=of Frost
|nameSuffix=of Frost

Revision as of 15:00, 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
Mana Bonus100
Casting Time Decrement200
Avoidance Time Decrement500
Attack Speed1700 <= 1700
Vitality + 42
Additional Attacking Power + 23%
Maximum Mana + 420
Limit Level reduced -2
Unidentified
Price: 66 PP 55 GP 44 CP (665544)