Difference between revisions of "Template:Guard"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{Guard|Fire|3}}</nowiki> | |example1 = <nowiki>{{Guard|Fire|3}}</nowiki> | ||
|example1output = {{Guard|Fire|3}} | |example1output = {{Guard|Fire|3}} | ||
|parameter1name = Damage Type | |parameter1name = Damage Type | ||
|parameter1description = The type of damage that is added, or effect that occurs | |parameter1description = The type of damage that is added, or effect that occurs | ||
|parameter2name = Additional Dice | |parameter2name = Additional Dice | ||
|parameter2description = This is the number of dice of damage that is done | |parameter2description = This is the number of dice of damage that is done | ||
Line 22: | Line 14: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>[[Category:Items with {{{1}}} Guard]] | <onlyinclude>[[Category:Items with {{{1}}} Guard]]'''[[Guard|{{{1}}} Guard:]]''' When hit or missed in Melee: Deals {{Dice||{{{2}}}|{{{3|6}}}}} {{{1}}} damage to your attacker. | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 17:05, 27 November 2018
Guard[edit]
This template is used on equipment for the Guard enchantment. Guard is an enchantment that adds damage when the defender is successfully hit.
Example Usage | |
{{Guard|Fire|3}} | Fire Guard: When hit or missed in Melee: Deals 3d6 Fire damage to your attacker. }} |
Usage[edit]
{{Guard|(Damage Type)|(Additional Dice)|(Die Side)}}
Parameter Documentation | |
Damage Type | The type of damage that is added, or effect that occurs |
Additional Dice | This is the number of dice of damage that is done |
Die Side | This is the number of sides the dice that are rolled have. If you leave this off it defaults to a d6. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[Category:Items with {{{1}}} Guard]]{{{1}}} Guard: When hit or missed in Melee: Deals {{{2}}}d6 {{{1}}} damage to your attacker. }}