Difference between revisions of "Template:Bane"

From DDO Compendium
Line 1: Line 1:
<noinclude>Usage: <nowiki>{{Bane|(Creature)|(Modifier)|(Weapon Modifier (Opt)}}</nowiki><br>
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
 
|name = Bane
<br>{{Bane|Undead|9}}<br>
|description = This template is used on equipment for the Bane enchantment. 
 
|example1 = <nowiki>{{Bane|Vermin|1|1}}</nowiki>
</noinclude><onlyinclude>[[Category:Items with {{{1}}} Bane]]'''[[Bane|{{{1}}} Bane {{{2}}}:]]''' {{#if: {{{3|}}}|This weapon gains +{{{3}}} Enhancement Bonus versus {{{1}}}, and|This weapon}} deals {{Dice||{{{2}}}|6}} {{DamageType|Bane}} damage {{#if: {{{3|}}}|against them|against {{{1}}}}}.</onlyinclude>
|example1output = {{Bane|Vermin|1|1}}
|example2 = <nowiki>{{Bane|Human|1|1}}</nowiki>
|example2output = {{Bane|Human|1|1}}
|parameter1name = Creature Type
|parameter1description = This is which creature type or sub-type that extra damage is done against.
|parameter1values =
|parameter2name = Dice
|parameter2description = This is the number of d6 dice that are rolled.
|parameter2values =
|parameter3name = Enhancement Bonus
|parameter3description = This is the amount of the enhancement bonus that is increased.
|parameter3values =
}}
</noinclude>
onlyinclude>[[Category:Items with {{{1}}} Bane]]'''[[Bane|{{{1}}} Bane {{{2}}}:]]''' {{#if: {{{3|}}}|This weapon gains +{{{3}}} Enhancement Bonus versus {{{1}}}, and|This weapon}} deals {{Dice||{{{2}}}|6}} {{DamageType|Bane}} damage {{#if: {{{3|}}}|against them|against {{{1}}}}}.</onlyinclude>

Revision as of 00:22, 10 May 2018

Bane[edit]

This template is used on equipment for the Bane enchantment.

Example Usage
{{Bane|Vermin|1|1}}onlyinclude>Vermin Bane 1: This weapon gains +1 Enhancement Bonus versus Vermin, and deals 1d6 Bane damage against them.</onlyinclude>
{{Bane|Human|1|1}}onlyinclude>Human Bane 1: This weapon gains +1 Enhancement Bonus versus Human, and deals 1d6 Bane damage against them.</onlyinclude>

Usage[edit]

{{Bane|(Creature Type)|(Dice)|(Enhancement Bonus)}}

Parameter Documentation
Creature TypeThis is which creature type or sub-type that extra damage is done against.
DiceThis is the number of d6 dice that are rolled.
Enhancement BonusThis is the amount of the enhancement bonus that is increased.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


onlyinclude>[[Category:Items with {{{1}}} Bane]]{{{1}}} Bane {{{2}}}: This weapon deals {{{2}}}d6 Bane damage against {{{1}}}.