Difference between revisions of "Template:Guard"

From DDO Compendium
Line 1: Line 1:
<noinclude>[[Category:Template]]
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
This template is for damaging guards. If you would like to make a new guard, such as Nightmare Guard, please use a new template.<br>
|name = Guard
 
|description = This template is used on equipment for the Guard enchantment. Guard is an enchantment that adds damage when the defender is successfully hit.
Where the damage is in format (a '''d''' b) like 1d4
|example1 = <nowiki>{{Guard|Fire|3}}</nowiki>
<nowiki>{{Guard|(Element)|a|b (Optional, default is 6)}}</nowiki><br>
|example1output = {{Guard|Fire|3}}
<br>Example: <nowiki>{{Guard|Fire|3}}</nowiki><br>
|parameter1name = Damage Type
{{Guard|Fire|3}}
|parameter1description = The type of damage that is added.
 
|parameter1values =
 
|parameter2name = Additional Dice
</noinclude><onlyinclude>[[Category:Items with {{{1}}} Guard]]{{#switch: {{lc:{{{1}}}}}
|parameter2description = This is the number of dice of damage that is done
| earthen = '''[[Guard|{{{1}}} Guard:]]''' When you are successfully attacked, there is a chance that a [[Stone Skin]] will be cast on you.
|parameter2values =
| invisiblity = '''[[Guard|{{{1}}} Guard:]]''' This item has a chance of granting you temporary invisibility when you are hit by foes. The invisibility will not be removed when you attack or take damage, but it will wear off after 10 seconds.
|parameter3name = Die Side
| #default = '''[[Guard|{{{1}}} Guard +{{{2}}}d{{{3|6}}}:]]''' When hit or missed in Melee: Deals  {{Dice||{{{2}}}|{{{3|6}}}}} damage to your attacker.}}</onlyinclude>
|parameter3description = This is the number of sides the dice that are rolled have.  If you leave this off it defaults to a d6.
|parameter3values =
}}
</noinclude>
<onlyinclude>[[Category:Items with {{{1}}} Guard]]'''[[Guard|{{{1}}} Guard +{{{2}}}d{{{3|6}}}:]]''' When hit or missed in Melee: Deals  {{Dice||{{{2}}}|{{{3|6}}}}} damage to your attacker.</onlyinclude>

Revision as of 20:19, 5 May 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 +3d6: When hit or missed in Melee: Deals 3d6 damage to your attacker.

Usage[edit]

{{Guard|(Damage Type)|(Additional Dice)|(Die Side)}}

Parameter Documentation
Damage TypeThe type of damage that is added.
Additional DiceThis is the number of dice of damage that is done
Die SideThis 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 +{{{2}}}d6: When hit or missed in Melee: Deals {{{2}}}d6 damage to your attacker.