Difference between revisions of "Template:Weapon/doc"

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


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


  <nowiki>
  <nowiki>
{{Weapon
{{ {{{1|Tooltip hover box}}}
|title= {{Weapon
|WeaponType=Gun
|WeaponType=Gun
|Damage=50 Piercing
|Damage=50 Piercing<br> 5 Fire
 
|Properties=Armor Penetration<br> Block Power
5 Fire
|Values= +10%<br> +5
|Properties=Armor Penetration +10%
 
Block Power +5
 
|Durability=150
|Durability=150
|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:
{{Weapon
 
{{ {{{1|Tooltip hover box}}}
|title= {{Weapon
|WeaponType=Gun
|WeaponType=Gun
|Damage=50 Piercing
|Damage=50 Piercing<br> 5 Fire
 
|Properties=Armor Penetration<br> Block Power
5 Fire
|Values= +10%<br> +5
|Properties=Armor Penetration +10%
 
Block Power +5
 
|Durability=150
|Durability=150
|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 01:16, 28 March 2020

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

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

{{ {{{1|Tooltip hover box}}}
|title= {{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