Difference between revisions of "Template:Weapon"
Jump to navigation
Jump to search
(new datastring format) |
m |
||
Line 56: | Line 56: | ||
|<!-- | |<!-- | ||
--- Load and sort this weapon's properties, we use another template. --- | --- Load and sort this weapon's properties, we use another template. --- | ||
--><div style="width:100%;color:#9d9a9a;">{{ | --><div style="width:100%;color:#9d9a9a;">{{Test|{{#var:Page}}}}</div> | ||
<div style="color:#9d9a9a;">{{Translate|Durability|Properties}}: <span style="color:white;">{{#var:Durability}}/{{#var:Durability}}</span></div> | <div style="color:#9d9a9a;">{{Translate|Durability|Properties}}: <span style="color:white;">{{#var:Durability}}/{{#var:Durability}}</span></div> | ||
|- | |- |
Revision as of 19:49, 31 May 2023
Documentation
[purge]
This is weapon template created for use together with the Template:Tooltip hover box template to display tooltip with item attributes for weapons.
Usage: Copy this code to any page where you want to display the item tooltip:
{{{{{1|Tooltip hover box}}}|title={{Weapon}}}}
You can provide the item name as first parameter, otherwise the pagename is used.
By default, the page is also labelled with a category corresponding to the item type (ie. Heavy Aldorian Bow will receive the Category: Bow
).
If you don't want to add this category to a page, add the category
parameter:
{{{{{1|Tooltip hover box}}}|title={{Weapon|Heavy Aldorian Bow|category=no}}}}
Examples:
Heavy Aldorian Bow Common Bow |
31 Piercing Damage |
Armor Penetration: +33% Knockback Chance: +6% Stagger Chance: +4% Immobilization Chance: +8% Accuracy: -40% Range: 12 Skills Energy Cost: +50% Spells Energy Cost: +50% Durability: 225/225
|
It has enough power to knock a charging knight from his saddle. 3910 |
UNOBTAINABLE Orcish Battlesickle Common Sword |
26 Slashing Damage |
Energy: -10 Skills Energy Cost: +50% Spells Energy Cost: +50% Durability: 50/50
|
Orc zealots are capable of cleaving a grown man in two with a single swing of their battlesickles. 650 |