Difference between revisions of "Template:Smiting"

From DDO Compendium
m (added dice template)
Line 1: Line 1:
<noinclude>
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
 
|name = Smiting
To insert Smiting, use Smiting
|description = This template is used on equipment for the Smiting enchantment.  Smiting will slay a construct when under a specific hit point level.
<br>{{Smiting}}<br>
|example1 = <nowiki>{{Smiting}}</nowiki>
 
|example1output = {{Smiting}}
To insert Improved Smiting, use Smiting|improved
|example2 = <nowiki>{{Smiting|Improved}}</nowiki>
<br>{{Smiting|improved}}<br>
|example2output = {Smiting|Improved}}
 
|example3 = <nowiki>{{Smiting|Weapons}}</nowiki>
To insert Smiting Weapons, use Smiting|weapons
|example3output = {{Smiting|Weapons}}
<br>{{Smiting|weapons}}<br>
|parameter1name = Style
 
|parameter1description = This is the which style of smiting this covers. If this is not specified, the basic smiting is used.
|parameter1values =
* Improved
* Weapons
* Basic
}}
</noinclude>
</noinclude>
== The Template ==
<onlyinclude>
<onlyinclude>
{{#switch: {{{1}}}  
{{#switch: {{lc:{{{1}}}}}
| improved = [[Category:Items with Improved Smiting]][[Smiting#Improved Smiting|'''Improved Smiting''':]] On Hit: {{Dice||4|6}} {{DamageType|Bane}} damage to [[Construct|Constructs]]. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.  
| improved = [[Category:Items with Improved Smiting]][[Smiting#Improved Smiting|'''Improved Smiting''':]] On Hit: {{Dice||4|6}} {{DamageType|Bane}} damage to [[Construct|Constructs]]. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.  
| weapons = [[Category:Items with Smiting Weapons]][[Smiting#Smiting Weapons|'''Smiting Weapons''':]] While wearing this item, your melee and ranged weapons gain Vorpal effect: If an [[Construct]] struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.
| weapons = [[Category:Items with Smiting Weapons]][[Smiting#Smiting Weapons|'''Smiting Weapons''':]] While wearing this item, your melee and ranged weapons gain Vorpal effect: If an [[Construct]] struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.

Revision as of 00:07, 6 May 2018

Smiting[edit]

This template is used on equipment for the Smiting enchantment. Smiting will slay a construct when under a specific hit point level.

Example Usage
{{Smiting}}Smiting: On Hit: 4d6 Bane damage to Constructs. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1000 Hit Points, it is instantly slain. If an Construct has above 1000 Hit Points, it takes 100 damage.
{{Smiting|Improved}}{Smiting

Usage[edit]

{{Smiting}} |example3 = {{Smiting|Weapons}} |example3output =Smiting Weapons: While wearing this item, your melee and ranged weapons gain Vorpal effect: If an Construct struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.

|parameter1name = Style |parameter1description = This is the which style of smiting this covers. If this is not specified, the basic smiting is used. |parameter1values =

  • Improved
  • Weapons
  • Basic

}}Smiting: On Hit: 4d6 Bane damage to Constructs. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1000 Hit Points, it is instantly slain. If an Construct has above 1000 Hit Points, it takes 100 damage.