Template:Weapon/doc


 * Description
 * This template will make a link to the weapon and displaying a tooltip of the weapon when hovered upon. It will only accept the exact name of the weapon.


 * Syntax
 * Type  as a replacement for weapon link.


 * Input examples



Incorrect weapon name gives an error.

The template call p.weaponExists in Module:Weapons to check if the weapon actually exists.
 * If the Weapon exists,  class="weapon-tooltip" data-param=""  tells javascript that this text wants a tooltip, which is made by Tooltip/Weapon.
 * If the weapon doesn't exist, the error is shown instead of a redlink along with Category:Weapon Tooltip error added on that page.