Difference between revisions of "Template:Weapon"

From Stoneshard wiki
Jump to navigation Jump to search
(update for RtR)
m
Line 35: Line 35:
-->{{#if:{{#var:Unobtainable}}|{{Unobtainable}}<br />}}<!--
-->{{#if:{{#var:Unobtainable}}|{{Unobtainable}}<br />}}<!--
--- TEMP - display weapon Tier ---
--- TEMP - display weapon Tier ---
-->{{#if:{{#var:Tier}}|{{#var:Tier}}<br />}}<!--
-->{{#if:{{#var:Tier}}|Tier {{#var:Tier}}<br />}}<!--
--- Check if item is of better rarity than common ---
--- Check if item is of better rarity than common ---
-->{{#if: {{#var:Rarity}} | <span style="font-size: 20px;">{{c|{{#var:Rarity}}|{{#var:TranslateName}}}}</span> <br /> <span style="color:#9d9a9a;">{{Translate|{{#var:Rarity}}|Properties}} | <span style="font-size: 20px;">{{#var:TranslateName}}</span> <br /> <span style="color:#9d9a9a;">{{Translate|Common|Properties}} }} {{Translate|{{#var:WeaponType}}|Properties}}</span>{{Tooltip rule}}
-->{{#if: {{#var:Rarity}} | <span style="font-size: 20px;">{{c|{{#var:Rarity}}|{{#var:TranslateName}}}}</span> <br /> <span style="color:#9d9a9a;">{{Translate|{{#var:Rarity}}|Properties}} | <span style="font-size: 20px;">{{#var:TranslateName}}</span> <br /> <span style="color:#9d9a9a;">{{Translate|Common|Properties}} }} {{Translate|{{#var:WeaponType}}|Properties}}</span>{{Tooltip rule}}

Revision as of 20:09, 25 December 2024

Template-info.png Documentation

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:

Tier 5
Aldorian Bow
Common Bow
27 Piercing Damage

Armor Penetration: +15%
 
Knockback Chance: +20%
Stagger Chance: +30%
 
Accuracy: -50%
Fumble Chance: -12%
Range: 9
 
Skills Energy Cost: +35%
 
Durability: 85/85

Has enough power to knock a charging knight from his saddle.
Price5100

Aldorian Bow
Tier 5
Templar Sword
Common Sword
28 Slashing Damage

Armor Penetration: +15%
 
Bleed Chance: +18%
 
Block Chance: +10%
Accuracy: +7%
Fumble Chance: -1%
 
Skills Energy Cost: +5%
 
Durability: 110/110

There is an etching on the blade's surface, pledging loyalty to the Host and the court... the usual kind of court.
Price6125

Templar Sword