Difference between revisions of "Template:UndeadGuard"

From DDO Compendium
Line 7: Line 7:
|example2 = <nowiki>{{UndeadGuard|Lesser}}</nowiki>
|example2 = <nowiki>{{UndeadGuard|Lesser}}</nowiki>
|example2output = {{UndeadGuard|Lesser}}
|example2output = {{UndeadGuard|Lesser}}
|example3 = <nowiki>{{UndeadGuard|Custom|2}}</nowiki>
|example3output = {{UndeadGuard|Custom|2}}
|parameter1name=Type
|parameter1name=Type
|parameter1description = The type of undead guard, blank is the normal.
|parameter1description = The type of undead guard, blank is the normal.
Line 13: Line 15:
* Lesser
* Lesser
* Superior
* Superior
* Custom - Specify the number of dice
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{EnchTitle|Guard|{{{1|}}} Undead Guard}}{{EnchBody|This item burns those Undead that attack the wearer, causing {{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{EnchTitle|Guard|{{#ifeq: {{lc:{{{1|}}}}}|custom||{{{1|}}}}} Undead Guard}}{{EnchBody|This item burns those Undead that attack the wearer, causing {{#switch: {{lc:{{{1}}}}}
|lesser={{Dice||1|8}}
|lesser={{Dice||1|8}}
|superior={{Dice||7|8}}
|superior={{Dice||7|8}}
|greater={{Dice||5|8}}
|greater={{Dice||5|8}}
|#default={{Dice||3|8}}}} Good damage on a successful melee attack.}}{{EnchCat|UndeadGuard|Items with {{{1|}}} Undead Guard|Guard Items}}</onlyinclude>
|custom={{Dice||{{{2|}}}|8}}
|#default={{Dice||3|8}}}} Good damage on a successful melee attack.}}{{EnchCat|UndeadGuard|Items with {{#ifeq: {{lc:{{{1|}}}}}|custom||{{{1|}}}}} Undead Guard|Guard Items}}</onlyinclude>

Revision as of 19:11, 5 April 2022

UndeadGuard[edit]

This template is used on equipment for the Undead Guard enchantment.

Example Usage
{{UndeadGuard}}Undead Guard: This item burns those Undead that attack the wearer, causing 3d8 Good damage on a successful melee attack.
{{UndeadGuard|Lesser}}Lesser Undead Guard: This item burns those Undead that attack the wearer, causing 1d8 Good damage on a successful melee attack.
{{UndeadGuard|Custom|2}}Undead Guard: This item burns those Undead that attack the wearer, causing 2d8 Good damage on a successful melee attack.

Usage[edit]

{{UndeadGuard|(Type)}}

Parameter Documentation
TypeThe type of undead guard, blank is the normal.
Possible Values:
  • Basic - default
  • Lesser
  • Superior
  • Custom - Specify the number of dice

Template

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


Undead Guard: This item burns those Undead that attack the wearer, causing 3d8 Good damage on a successful melee attack.