Difference between revisions of "Template:Elemental"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 6: | Line 6: | ||
|example2 = <nowiki>{{Elemental|Fire|Effect|9}}</nowiki> | |example2 = <nowiki>{{Elemental|Fire|Effect|9}}</nowiki> | ||
|example2output = {{Elemental|Fire|Effect|9}} | |example2output = {{Elemental|Fire|Effect|9}} | ||
|example3 = <nowiki>{{Elemental|Fire|Critical|2}}</nowiki> | |||
|example3output = {{Elemental|Fire|Critical|2}} | |||
|parameter1name = Element | |parameter1name = Element | ||
|parameter1description = Defines which element is being added for damage. | |parameter1description = Defines which element is being added for damage. |
Revision as of 18:21, 5 May 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. |
Usage[edit]
{{Elemental|(Element)|(Type)|(Damage Amount)}}
Parameter Documentation | |
Element | Defines which element is being added for damage. |
Type | This specifies which type of effect is added. This is optional, and if missing it will assume you meant the basic effect. Possible Values:
|
Damage Amount | This specifies how much damage is added. It is only used when the type is Effect or Critical. |
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.