Difference between revisions of "Template:Weapon"
Jump to navigation
Jump to search
m |
m (swap unholy and sacred) |
||
| Line 18: | Line 18: | ||
-->{{#vardefine:Caustic Damage|{{#explode: {{#var:Datastring}}|;|21}}}}<!-- | -->{{#vardefine:Caustic Damage|{{#explode: {{#var:Datastring}}|;|21}}}}<!-- | ||
-->{{#vardefine:Arcane Damage|{{#explode: {{#var:Datastring}}|;|22}}}}<!-- | -->{{#vardefine:Arcane Damage|{{#explode: {{#var:Datastring}}|;|22}}}}<!-- | ||
-->{{#vardefine: | -->{{#vardefine:Unholy Damage|{{#explode: {{#var:Datastring}}|;|23}}}}<!-- | ||
-->{{#vardefine: | -->{{#vardefine:Sacred Damage|{{#explode: {{#var:Datastring}}|;|24}}}}<!-- | ||
-->{{#vardefine:Psionic Damage|{{#explode: {{#var:Datastring}}|;|25}}}}<!-- | -->{{#vardefine:Psionic Damage|{{#explode: {{#var:Datastring}}|;|25}}}}<!-- | ||
-->{{#vardefine:Durability|{{#explode: {{#var:Datastring}}|;|4}}}}<!-- | -->{{#vardefine:Durability|{{#explode: {{#var:Datastring}}|;|4}}}}<!-- | ||
Revision as of 21:44, 20 June 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. |