Difference between revisions of "Template:Fortification"

From DDO Compendium
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
|example1 = <nowiki>{{Fortification|3|Exceptional}}</nowiki>
|example1 = <nowiki>{{Fortification|3|Exceptional}}</nowiki>
|example1output = {{Fortification|3|Exceptional}}
|example1output = {{Fortification|3|Exceptional}}
|example2 = <nowiki>{{Fortification|-25}}</nowiki>
|example2output = {{Fortification|-25}}
|parameter1name = Enhancement Amount
|parameter1name = Enhancement Amount
|parameter1description = This is the amount that fortification is increased.
|parameter1description = This is the amount that fortification is increased.
|parameter1values =
|parameter2name = Bonus Type
|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.
|parameter2description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
|parameter2values =  
|parameter3name = Title
|parameter3description = The title for the enchantment if it doesn't match the default
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category: Items with a Bonus to Fortification]][[Fortification | '''{{BonusTypeNameConversion|{{{2|}}}|True}} Fortification +{{{1}}}%:''']] Passive: +{{{1}}}% {{BonusTypeNameConversion|{{{2|Enhancement}}}}} bonus to Fortification. (Fortification is a chance to negate additional damage incurred from Critical Hit or Sneak Attack. Some enemies can bypass a portion of your Fortification.)</onlyinclude>
<onlyinclude>{{EnchTitle|Fortification|{{BonusTypeNameConversion|{{{2|}}}|True}} Fortification {{#ifexpr: {{{1}}} < 0 |Penalty ({{{1}}}%)|+{{{1}}}%}}|{{{3|}}}}}{{EnchBody|Passive: {{#ifexpr: {{{1}}} < 0 ||+}}{{{1}}}% {{#ifexpr: {{{1}}} < 0 ||{{BonusTypeNameConversion|{{{2|Enhancement}}}}}}} {{#ifexpr: {{{1}}} < 0 |penalty|bonus}} to Fortification. (Fortification is a chance to negate additional damage incurred from Critical Hit or Sneak Attack. Some enemies can bypass a portion of your Fortification.)}}{{EnchCat|Fortification|Items with a Bonus to Fortification|Items with a {{BonusTypeNameConversion|{{{2|Enhancement}}}}} Bonus to Fortification}}</onlyinclude>

Latest revision as of 23:33, 26 May 2022

Fortification[edit]

This template is used on equipment for the Fortification enchantment. Fortification modifies the change that a defender will be hit critically.

Example Usage
{{Fortification|3|Exceptional}}Exceptional Fortification +3%: Passive: +3% Exceptional bonus to Fortification. (Fortification is a chance to negate additional damage incurred from Critical Hit or Sneak Attack. Some enemies can bypass a portion of your Fortification.)
{{Fortification|-25}}Fortification Penalty (-25%): Passive: -25% penalty to Fortification. (Fortification is a chance to negate additional damage incurred from Critical Hit or Sneak Attack. Some enemies can bypass a portion of your Fortification.)

Usage[edit]

{{Fortification|(Enhancement Amount)|(Bonus Type)|(Title)}}

Parameter Documentation
Enhancement AmountThis is the amount that fortification is increased.
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
TitleThe title for the enchantment if it doesn't match the default

Template

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


Fortification Expression error: Unrecognized punctuation character "{".: Passive: Expression error: Unrecognized punctuation character "{".{{{1}}}% Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". to Fortification. (Fortification is a chance to negate additional damage incurred from Critical Hit or Sneak Attack. Some enemies can bypass a portion of your Fortification.)