Difference between revisions of "Template:Weapon/doc"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(documentation now uses doc template)
old>Realpsojed
(updated to show border and include tooltip hover box template)
Line 1: Line 1:
{{Doc/start}}
{{Doc/start}}
This is weapon template created for use as an infobox on a specific weapon's page (for example [[Templar Sword]]).
This is weapon template created for use as an infobox on a specific weapon's tooltip page.


Usage: Copy this code to any <itemname> page 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}}}
|WeaponType=Gun
|title= {{Weapon
|Damage=50 Piercing<br> 5 Fire
|WeaponType=Sword
|Properties=Armor Penetration<br> Block Power
|Damage=37 Slashing<br> 2 Sacred
|Values= +10%<br> +5
|Properties=Armor Damage:<br> Armor Piercing:<br> Bodypart Damage:<br> Block Chance:<br> Fumble Chance:<br> Accuracy:<br> Crit Chance:<br> Skills Energy Cost:
|Values= <span style="color:green;">'''+15%'''</span><br> <span style="color:green;">'''+20%'''</span><br> <span style="color:green;">'''+15%'''</span><br> <span style="color:green;">'''+10%'''</span><br> <span style="color:green;">'''-5%'''</span><br> <span style="color:green;">'''+5%'''</span><br> <span style="color:green;">'''+5%'''</span><br> <span style="color:darkred;">'''+15%'''</span>
|Durability=150
|Durability=150
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
|Description=There is a faint etching on the surface of the blade, pledging loyalty to the Host and the court... the common kind of court.
|Price=6500
|Price=6500
}}
}}</nowiki>
}}</nowiki>
It will produce this result:
It will produce this result:


{{Weapon
{{ {{{1|Tooltip hover box}}}
|WeaponType=Gun
|title= {{Weapon
|Damage=50 Piercing<br> 5 Fire
|WeaponType=Sword
|Properties=Armor Penetration<br> Block Power
|Damage=37 Slashing<br> 2 Sacred
|Values= +10%<br> +5
|Properties=Armor Damage:<br> Armor Piercing:<br> Bodypart Damage:<br> Block Chance:<br> Fumble Chance:<br> Accuracy:<br> Crit Chance:<br> Skills Energy Cost:
|Values= <span style="color:green;">'''+15%'''</span><br> <span style="color:green;">'''+20%'''</span><br> <span style="color:green;">'''+15%'''</span><br> <span style="color:green;">'''+10%'''</span><br> <span style="color:green;">'''-5%'''</span><br> <span style="color:green;">'''+5%'''</span><br> <span style="color:green;">'''+5%'''</span><br> <span style="color:darkred;">'''+15%'''</span>
|Durability=150
|Durability=150
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
|Description=There is a faint etching on the surface of the blade, pledging loyalty to the Host and the court... the common kind of court.
|Price=6500
|Price=6500
}}
}}
}}
{{Doc/end}}
{{Doc/end}}

Revision as of 05:38, 4 April 2020

Template-info.png Documentation

This is weapon template created for use as an infobox on a specific weapon's tooltip page.

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

{{ {{{1|Tooltip hover box}}}
|title= {{Weapon
|WeaponType=Sword
|Damage=37 Slashing<br> 2 Sacred
|Properties=Armor Damage:<br> Armor Piercing:<br> Bodypart Damage:<br> Block Chance:<br> Fumble Chance:<br> Accuracy:<br> Crit Chance:<br> Skills Energy Cost:
|Values= <span style="color:green;">'''+15%'''</span><br> <span style="color:green;">'''+20%'''</span><br> <span style="color:green;">'''+15%'''</span><br> <span style="color:green;">'''+10%'''</span><br> <span style="color:green;">'''-5%'''</span><br> <span style="color:green;">'''+5%'''</span><br> <span style="color:green;">'''+5%'''</span><br> <span style="color:darkred;">'''+15%'''</span>
|Durability=150
|Description=There is a faint etching on the surface of the blade, pledging loyalty to the Host and the court... the common kind of court.
|Price=6500
}}
}}

It will produce this result:

Weapon
Common

Durability: /

Weapon
Price

Weapon