Difference between revisions of "Template:Weapon"
Jump to navigation
Jump to search
(load data from Weapon_data page, for performance reasons) |
(removing old float and clear) |
||
Line 46: | Line 46: | ||
|<!-- | |<!-- | ||
--- 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% | --><div style="width:100%;color:#9d9a9a;">{{Test|{{ROOTPAGENAME}}}}</div> | ||
<div style=" | <div style="color:#9d9a9a;">{{Translate|Durability|Properties}}: <span style="color:white;">{{#var:Durability}}/{{#var:Durability}}</span></div> | ||
|- | |- | ||
|style="color:#9d7969;text-align:justify"|<!-- | |style="color:#9d7969;text-align:justify"|<!-- |
Revision as of 14:01, 21 June 2022
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:
UNOBTAINABLE Weapon Data does not exist. Data does not exist. |
Data does not exist. Slashing Damage Data does not exist. Piercing Damage Data does not exist. Crushing Damage Data does not exist. Rending Damage Data does not exist. Fire Damage Data does not exist. Frost Damage Data does not exist. Shock Damage Data does not exist. Poison Damage Data does not exist. Caustic Damage Data does not exist. Arcane Damage Data does not exist. Sacred Damage Data does not exist. Unholy Damage Data does not exist. Psionic Damage |
Durability: Data does not exist./Data does not exist.
|
Data does not exist. Data does not exist. |
Weapon |
UNOBTAINABLE Weapon Data does not exist. Data does not exist. |
Data does not exist. Slashing Damage Data does not exist. Piercing Damage Data does not exist. Crushing Damage Data does not exist. Rending Damage Data does not exist. Fire Damage Data does not exist. Frost Damage Data does not exist. Shock Damage Data does not exist. Poison Damage Data does not exist. Caustic Damage Data does not exist. Arcane Damage Data does not exist. Sacred Damage Data does not exist. Unholy Damage Data does not exist. Psionic Damage |
Durability: Data does not exist./Data does not exist.
|
Data does not exist. Data does not exist. |
Weapon |