Template:Item tooltip: Difference between revisions
B4ttl3m4st3r (talk | contribs) No edit summary |
B4ttl3m4st3r (talk | contribs) No edit summary |
||
Line 46: | Line 46: | ||
<templatestyles src="Item tooltip/styles.css" /> | <templatestyles src="Item tooltip/styles.css" /> | ||
<div class="template_itemTooltip"> | <div class="template_itemTooltip"> | ||
<div class="name | <div class="name {{{rarity|}}}">{{#if: {{{namePrefix|}}}|{{{namePrefix}}}}} {{{name}}} {{#if: {{{nameSuffix|}}}|{{{nameSuffix}}}}}</div> | ||
{{#if: {{{description|}}}|<div class="description">{{{description}}}</div>}} | {{#if: {{{description|}}}|<div class="description">{{{description}}}</div>}} | ||
<table class="attributeTable"> | <table class="attributeTable"> | ||
Line 93: | Line 93: | ||
== Example == | == Example == | ||
{{Item tooltip | {{Item tooltip | ||
|rarity=rare | |||
|name=Mysterious Staff | |name=Mysterious Staff | ||
|namePrefix=Bloodsucking | |namePrefix=Bloodsucking |
Revision as of 16:47, 9 June 2024
Warning:
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= |hasDurabilityWarning= |physicalAttackMin= |physicalAttackMax= |magicalAttackMin= |magicalAttackMax= |physicalDefense= |magicalDefense= |manaBonus= |castingTimeDecrement= |avoidanceTimeDecrement= |attackSpeed= // numeric, e.g. 1700 |isUnidentified= |bonus1= |isBonus1Decreasing= |bonus2= |isBonus2Decreasing= |bonus3= |isBonus3Decreasing= |bonus4= |isBonus4Decreasing= |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 Level | 65 |
Durability | 42 / 240 |
Physical Offense | 10 - 20 |
Magical Offense | 50 - 100 |
Physical Defense | 30 |
Magical Defense | 24 |
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)