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}}
|example2 = <nowiki>{{LifeShield|Weapon}}</nowiki>
|example2output = {{LifeShield|Weapon}}
|parameter1name=Type
|parameter1name=Type
|parameter1description=What type of lifeshield is this
|parameter1description=What type of lifeshield is this
Line 12: Line 14:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1|}}}
<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}}
| 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}}
| #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>
}}</onlyinclude>

Latest revision as of 20:46, 28 April 2020

LifeShield[edit]

This template adds Life Shield to an item.

Example Usage
{{LifeShield}}Life Shield: 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.
{{LifeShield|Weapon}}Life Shield (Weapon): 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.

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.


Life Shield: 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.