Difference between revisions of "Template:FalseLife"

From DDO Compendium
(Created page with "<noinclude>This template is used for False Life.Category:Template Used in this manner: <br><nowiki>{{FalseLife|Type (opt)|ModType (opt)|Modifier (opt)}}</nowiki><br> <br>...")
 
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>This template is used for False Life.[[Category:Template]]
<noinclude>{{TemplateDocumentation
 
|name = FalseLife
Used in this manner:
|description = This template is used on equipment for the FalseLife enchantment.  False Life adds Hit Points to a character, as long as the item is equipped.
<br><nowiki>{{FalseLife|Type (opt)|ModType (opt)|Modifier (opt)}}</nowiki><br>
|category=Item Enchantment Template
<br>Such that <nowiki>{{FalseLife}}</nowiki> results in<br>
|example1 = <nowiki>{{FalseLife}}</nowiki>
<br>{{FalseLife}}
|example1output = {{FalseLife}}
Options for Type
|example2 = <nowiki>{{FalseLife|Improved}}</nowiki>
|example2output = {{FalseLife|Improved}}
|example3 = <nowiki>{{FalseLife|Specific||20}}</nowiki>
|example3output = {{FalseLife|Specific||20}}
|example4 = <nowiki>{{FalseLife|Hit Points||20}}</nowiki>
|example4output = {{FalseLife|Hit Points||20}}
|parameter1name = Type
|parameter1description = This '''optional''' values specifies what type of False Life the enhancement is giving.
|parameter1values =
* None (Basic false life)
* None (Basic false life)
* Lesser
* Lesser
Line 12: Line 20:
* Superior
* Superior
* Epic
* Epic
* Specific (This is the only one that uses the modifier value)
* Lifeforce Need to fill in "Amount"
</noinclude>
* Hit Points - Just HP increase text - Need to fill in "Amount"
* Specific - Need to fill in "Amount"
|parameter2name = Bonus Type
|parameter2description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
|parameter3name = Amount
|parameter3description = This is the amount that the hit point value is increased. 
|parameter4name = Title
|parameter4description = This is the title of the enchantment if it is different than the default
}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
| lesser = {{EnchTitle|False Life (Enchantment)|Lesser {{BonusTypeNameConversion|{{{2|}}}|True}} False Life|{{{4|}}}}}{{EnchBody|This item grants the wearer +5 {{BonusTypeNameConversion|{{{2|}}}}} bonus to maximum hit points.}}{{EnchCat|FalseLife|Items with Lesser False Life}}
 
| improved = {{EnchTitle|False Life (Enchantment)|Improved {{BonusTypeNameConversion|{{{2|}}}|True}} False Life|{{{4|}}}}}{{EnchBody|This item grants the wearer +20 {{BonusTypeNameConversion|{{{2|}}}}} bonus to maximum hit points.}}{{EnchCat|FalseLife|Items with Improved False Life}}
 
| greater = {{EnchTitle|False Life (Enchantment)|Greater {{BonusTypeNameConversion|{{{2|}}}|True}} False Life|{{{4|}}}}}{{EnchBody|This item grants the wearer +30 {{BonusTypeNameConversion|{{{2|}}}}} bonus to maximum hit points.}}{{EnchCat|FalseLife|Items with Greater False Life}}
 
| superior = {{EnchTitle|False Life (Enchantment)|Superior {{BonusTypeNameConversion|{{{2|}}}|True}} False Life|{{{4|}}}}}{{EnchBody|This item grants the wearer +40 {{BonusTypeNameConversion|{{{2|}}}}} bonus to maximum hit points.}}{{EnchCat|FalseLife|Items with Superior False Life}}
 
| epic = {{EnchTitle|False Life (Enchantment)|Epic {{BonusTypeNameConversion|{{{2|}}}|True}} False Life|{{{4|}}}}}{{EnchBody|This item grants the wearer +45 {{BonusTypeNameConversion|{{{2|}}}}} bonus to maximum hit points.}}{{EnchCat|FalseLife|Items with Epic False Life}}


<onlyinclude>[[Category:Items with {{{1}}} False Life]]{{#switch: {{{1}}}
| specific = {{EnchTitle|False Life (Enchantment)|{{BonusTypeNameConversion|{{{2|}}}|True}} False Life +{{{3}}}|{{{4|}}}}}{{EnchBody|This item grants the wearer +{{{3}}} {{#if: {{{2|}}}|{{BonusTypeNameConversion|{{{2|}}}}}|Enhancement}} bonus to maximum hit points.}}
| Lesser = [[False Life#Lesser | '''Lesser {{{3|}}} False Life:''']] This item grants the wearer +5 {{{3|}}} bonus to maximum hit points.
 
| Improved = [[False Life#Improved | '''Improved {{{3|}}} False Life:''']] This item grants the wearer +20 {{{3|}}} bonus to maximum hit points.
| hit points = {{EnchTitle|False Life (Enchantment)|{{BonusTypeNameConversion|{{{2|}}}|True}} Hit Points +{{{3}}}|{{{4|}}}}}{{EnchBody|This item grants you a +{{{3}}} {{BonusTypeNameConversion|{{{2|}}}}} bonus to your maximum hit points.}}
| Greater = [[False Life#Greater | '''Greater {{{3|}}} False Life:''']] This item grants the wearer +30 {{{3|}}} bonus to maximum hit points.
 
| Superior = [[False Life#Superior | '''Superior {{{3|}}} False Life:''']] This item grants the wearer +40 {{{3|}}} bonus to maximum hit points.
| lifeforce = {{EnchTitle|False Life (Enchantment)|{{BonusTypeNameConversion|{{{2|}}}|True}} Lifeforce +{{{3}}}|{{{4|}}}}}{{EnchBody|+{{{3}}} {{BonusTypeNameConversion|{{{2|}}}}} bonus to Hit Points.}}{{EnchCat|FalseLife|Items with Lifeforce}}
| Epic = [[False Life#Epic | '''Epic {{{3|}}} False Life:''']] This item grants the wearer +45 {{{3|}}} bonus to maximum hit points.
 
| Specific = [[False Life | '''{{{3|}}} False Life {{{4}}}:''']] This item grants the wearer {{{4}}} {{{3|}}} bonus to maximum hit points.
| #default = {{EnchTitle|False Life (Enchantment)|{{BonusTypeNameConversion|{{{2|}}}|True}} False Life|{{{4|}}}}}{{EnchBody|This item grants the wearer +10 {{BonusTypeNameConversion|{{{2|}}}}} bonus to maximum hit points.}}
| #default = [[False Life | '''{{{3|}}} False Life:''']] This item grants the wearer +10 {{{3|}}} bonus to maximum hit points.
}}{{EnchCat|FalseLife|Items with False Life|Items that Increase Hit Points}}</onlyinclude>
}}
</onlyinclude>

Latest revision as of 23:34, 27 May 2022

FalseLife[edit]

This template is used on equipment for the FalseLife enchantment. False Life adds Hit Points to a character, as long as the item is equipped.

Example Usage
{{FalseLife}}False Life: This item grants the wearer +10 bonus to maximum hit points.
{{FalseLife|Improved}}Improved False Life: This item grants the wearer +20 bonus to maximum hit points.
{{FalseLife|Specific||20}}False Life +20: This item grants the wearer +20 Enhancement bonus to maximum hit points.
{{FalseLife|Hit Points||20}}Hit Points +20: This item grants you a +20 bonus to your maximum hit points.

Usage[edit]

{{FalseLife|(Type)|(Bonus Type)|(Amount)|(Title)}}

Parameter Documentation
TypeThis optional values specifies what type of False Life the enhancement is giving.
Possible Values:
  • None (Basic false life)
  • Lesser
  • Improved
  • Greater
  • Superior
  • Epic
  • Lifeforce Need to fill in "Amount"
  • Hit Points - Just HP increase text - Need to fill in "Amount"
  • Specific - Need to fill in "Amount"
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
AmountThis is the amount that the hit point value is increased.
TitleThis is the title of the enchantment if it is different than the default

Template

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


False Life: This item grants the wearer +10 bonus to maximum hit points.