Difference between revisions of "Template:Weapon/doc"
Jump to navigation
Jump to search
old>Realpsojed (modify example so that DamageType doesn't include color. Color is added by template.) |
m (add unobtainable example) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Doc/start}} | {{Doc/start}} | ||
This is weapon template created for use together with the [[Template:Tooltip hover box]] template | This is weapon template created for use together with the [[Template:Tooltip hover box]] template to display tooltip with item attributes for weapons. | ||
Usage: | Usage: Copy this code to any page where you want to display the item tooltip: | ||
<nowiki> | |||
<nowiki> | {{{{{1|Tooltip hover box}}}|title={{Weapon}}}}</nowiki> | ||
| | |||
}} | |||
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 <code>Category: Bow</code>). | |||
If you don't want to add this category to a page, add the <code>category</code> parameter: | |||
<nowiki> | <nowiki> | ||
{{ {{{1|Tooltip hover box}}} | {{{{{1|Tooltip hover box}}}|title={{Weapon|Heavy Aldorian Bow|category=no}}}}</nowiki> | ||
|title= {{Weapon}} | Examples: | ||
}}</nowiki> | {{{{{1|Tooltip hover box}}}|title={{Weapon|Heavy Aldorian Bow|category=no}}}} | ||
{{{{{1|Tooltip hover box}}}|title={{Weapon|Orcish Battlesickle|category=no}}}} | |||
{{Doc/end}} | {{Doc/end}} |
Latest revision as of 13:30, 11 February 2024
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
|
Heavy Aldorian Bow 3910 |
UNOBTAINABLE Orcish Battlesickle Common Sword |
26 Slashing Damage |
Energy: -10 Skills Energy Cost: +50% Spells Energy Cost: +50% Durability: 50/50
|
Orcish Battlesickle 650 |