Difference between revisions of "Template:Weapon/doc"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(Modified doc to reflect changes in template)
old>Realpsojed
(Removed inclusion of Tooltip hover template)
Line 1: Line 1:
This is weapon template created for use as an infobox on a specific weapon's tooltip page (for example [[Templar Sword/Tooltip]]).
This is weapon template created for use as an infobox on a specific weapon's page (for example [[Templar Sword]]).


Usage: Copy this code to any <itemname>/Tooltip page and replace/fill in the values:
Usage: Copy this code to any <itemname>/Tooltip page and replace/fill in the values:


  <nowiki>
  <nowiki>
{{ {{{1|Tooltip hover box}}}
{{Weapon
|title= {{Weapon
|WeaponType=Gun
|WeaponType=Gun
|Damage=50 Piercing<br> 5 Fire
|Damage=50 Piercing<br> 5 Fire
Line 13: Line 12:
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
|Price=6500
|Price=6500
}}}}
}}</nowiki>
</nowiki>
It will produce this result:
It will produce this result:


{{ {{{1|Tooltip hover box}}}
{{Weapon
|title= {{Weapon
|WeaponType=Gun
|WeaponType=Gun
|Damage=50 Piercing<br> 5 Fire
|Damage=50 Piercing<br> 5 Fire
Line 26: Line 23:
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
|Price=6500
|Price=6500
}}}}
}}

Revision as of 02:18, 28 March 2020

This is weapon template created for use as an infobox on a specific weapon's page (for example Templar Sword).

Usage: Copy this code to any <itemname>/Tooltip page and replace/fill in the values:

{{Weapon
|WeaponType=Gun
|Damage=50 Piercing<br> 5 Fire
|Properties=Armor Penetration<br> Block Power
|Values= +10%<br> +5
|Durability=150
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
|Price=6500
}}

It will produce this result:

Weapon
Common

Durability: /

Weapon
Price

Weapon