Difference between revisions of "Template:Fortification"
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(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. | ||
|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. | ||
| | |parameter3name = Title | ||
|parameter3description = The title for the enchantment if it doesn't match the default | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<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 Amount | This is the amount that fortification is increased. |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement. |
Title | The 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.)