Difference between revisions of "Template:LifeShield"

From DDO Compendium
Line 5: Line 5:
|example1 = <nowiki>{{LifeShield}}</nowiki>
|example1 = <nowiki>{{LifeShield}}</nowiki>
|example1output = {{LifeShield}}
|example1output = {{LifeShield}}
|parameter1name=Type
|parameter1description=What type of lifeshield is this
|parameter1values=
* Default (blank) - non-weapons
* Weapon - Weapons.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{EnchTitle|Life Shield|Life Shield}}{{EnchBody|Every time you are hit while wearing a Life Shield item there is a 10% chance you gain 15 temporary hitpoints that last for up to 1 minute.}}{{EnchCat|LifeShield|Items with Life Shield}}</onlyinclude>
<onlyinclude>{{#switch: {{lc:{{{1|}}}
| weapon={{EnchTitle|Life Shield#Weapon|Life Shield (Weapon)}}{{EnchBody|Every time you are hit while wielding a Life Shield weapon there is a 10% chance you gain 15 temporary hitpoints that last for up to 1 minute.}}{{EnchCat|LifeShield|Items with Life Shield}}
 
| #default={{EnchTitle|Life Shield|Life Shield}}{{EnchBody|Every time you are hit while wearing a Life Shield item there is a 10% chance you gain 15 temporary hitpoints that last for up to 1 minute.}}{{EnchCat|LifeShield|Items with Life Shield}}
}}</onlyinclude>

Revision as of 20:45, 28 April 2020

LifeShield[edit]

This template adds Life Shield to an item.

Example Usage
{{LifeShield}}{{#switch:

Usage[edit]

{{LifeShield|(Type)}}

Parameter Documentation
TypeWhat type of lifeshield is this
Possible Values:
  • Default (blank) - non-weapons
  • Weapon - Weapons.

Template

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


{{#switch: