Difference between revisions of "Template:Elemental"

From DDO Compendium
Line 9: Line 9:
|example3 = <nowiki>{{Elemental|Fire|Critical|2}}</nowiki>
|example3 = <nowiki>{{Elemental|Fire|Critical|2}}</nowiki>
|example3output = {{Elemental|Fire|Critical|2}}
|example3output = {{Elemental|Fire|Critical|2}}
|example3 = <nowiki>{{Elemental|Fire|Critical|2}}</nowiki>
|example3output = {{Elemental|Fire|Critical|2}}
|example4 = <nowiki>{{Elemental|Light|Dice|{{Dice||1|10||4}}|Undead}}</nowiki>
|example4output = {{Elemental|Light|Dice|{{Dice||1|10||4}}|Undead}}
|parameter1name = Element
|parameter1name = Element
|parameter1description = Defines which element is being added for damage.
|parameter1description = Defines which element is being added for damage.
Line 29: Line 33:
* Critical (requires damage amount)
* Critical (requires damage amount)
* Basic element
* Basic element
* Dice
|parameter3name = Damage Amount
|parameter3name = Damage Amount
|parameter3description = This specifies how much damage is added specified as the number of d6 dice are rolled. It is only used when the type is Effect or Critical.
|parameter3description = This specifies how much damage is added specified as the number of d6 dice are rolled. It is only used when the type is Effect or Critical or if type is Dice, than the exact dice amount.
|parameter3values =  
|parameter4name = Creature
|parameter4description = This is the creature the extra damage is against (i.e. Undead, Evil, etc)
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
<onlyinclude>[[Category:Items that do {{{1}}} Damage]]{{#switch: {{lc:{{{2}}}}}
|touch=[[Category:Items that do {{{1}}} Damage]]'''[[Elemental#Touch|{{{1}}} Touch:]]''' This weapon is feels like {{{1}}} when touched. The weapon deals an additional 1 {{{1}}} damage each hit.
|touch='''[[Elemental#Touch|{{{1}}} Touch:]]''' This weapon is feels like {{{1}}} when touched. The weapon deals an additional 1 {{{1}}} damage each hit.
|burst=[[Category:Items that do {{{1}}} Damage]]'''[[Elemental#Burst|{{{1}}} Burst:]]''' This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||1|6}} {{{1}}} damage each hit.  In addition, critical hits deal and additional {{Dice||1|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||2|10}} for a x3 critical multiplier and {{Dice||3|10}} for a x4 multiplier.
|burst='''[[Elemental#Burst|{{{1}}} Burst:]]''' This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||1|6}} {{{1}}} damage each hit.  In addition, critical hits deal and additional {{Dice||1|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||2|10}} for a x3 critical multiplier and {{Dice||3|10}} for a x4 multiplier.
|effect=[[Category:Items that do {{{1}}} Damage]]'''[[Elemental#Effect|{{{1}}} +{{{3}}}:]]''' Additional {{Dice||{{{3}}}|6}} {{{1}}} damage per hit.
|effect='''[[Elemental#Effect|{{{1}}} +{{{3}}}:]]''' Additional {{Dice||{{{3}}}|6}} {{{1}}} damage per hit.
|critical=[[Category:Items that do {{{1}}} Damage]]'''[[Elemental#Critical|Critical {{{1}}} +{{{3}}}:]]''' This weapon deals {{Dice||{{{3}}}|6}} {{{1}}} Damage on Critical Hit.
|critical='''[[Elemental#Critical|Critical {{{1}}} +{{{3}}}:]]''' This weapon deals {{Dice||{{{3}}}|6}} {{{1}}} Damage on Critical Hit.
|#default=[[Category:Items that do {{{1}}} Damage]]'''[[Elemental|{{{1}}}:]]''' This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||{{{3|1}}}|6}} {{{1}}} damage each hit.}}</onlyinclude>
|dice='''[[Elemental|{{{1}}}{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}:]]The weapon deals an additional {{{3}}} {{{1}}} damage on each hit{{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}.
|#default='''[[Elemental|{{{1}}}:]]''' This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||{{{3|1}}}|6}} {{{1}}} damage each hit.}}</onlyinclude>

Revision as of 17:00, 21 September 2018

Elemental[edit]

This template is used on equipment for the Elemental damage enchantment. The Elemental enchantment adds extra elemental damage on an attack.

Example Usage
{{Elemental|Fire}}Fire: This weapon is sheathed in Fire. The weapon deals an additional 1d6 Fire damage each hit.
{{Elemental|Fire|Effect|9}}Fire +9: Additional 9d6 Fire damage per hit.
{{Elemental|Fire|Critical|2}}Critical Fire +2: This weapon deals 2d6 Fire Damage on Critical Hit.
{{Elemental|Light|Dice|{{Dice||1|10||4}}|Undead}}Light vs. Undead:The weapon deals an additional 1d10+4 Light damage on each hit{ vs. Undead.

Usage[edit]

{{Elemental|(Element)|(Type)|(Damage Amount)|(Creature)}}

Parameter Documentation
ElementDefines which element is being added for damage.
Possible Values:
  • Acid
  • Cold
  • Electricity
  • Fire
  • Force
  • Light
  • Sonic
  • Negative
  • Poison
TypeThis specifies which type of effect is added. This is optional, and if missing it will assume you meant the basic effect.
Possible Values:
  • Touch
  • Burst
  • Effect (requires damage amount)
  • Critical (requires damage amount)
  • Basic element
  • Dice
Damage AmountThis specifies how much damage is added specified as the number of d6 dice are rolled. It is only used when the type is Effect or Critical or if type is Dice, than the exact dice amount.
CreatureThis is the creature the extra damage is against (i.e. Undead, Evil, etc)

Template

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


[[Category:Items that do {{{1}}} Damage]]{{{1}}}: This weapon is sheathed in {{{1}}}. The weapon deals an additional 1d6 {{{1}}} damage each hit.