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
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. 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|Aldorian Bow|category=no}}}}
Examples:
| Aldorian Bow Bow bow07 |
| 27 Slashing Damage -50 Psionic Damage |
Armor Penetration: +15% Knockback Chance: +20% Stagger Chance: +30% Accuracy: -50% Fumble Chance: -12% Range: 9 Skills Energy Cost: +35% Durability: wood/wood
|
Has enough power to knock a charging knight from his saddle. |
| Templar Sword Sword sword17 |
| 7 Psionic Damage |
Armor Penetration: +15% Bleed Chance: +18% Block Chance: +10% Accuracy: +7% Fumble Chance: -1% Skills Energy Cost: +5% Durability: metal/metal
|
There is an etching on the blade's surface, pledging loyalty to the Host and the court... the usual kind of court. |