Difference between revisions of "Template:Incite"

From DDO Compendium
 
(13 intermediate revisions by the same user not shown)
Line 7: Line 7:
|example2 = <nowiki>{{Incite|-10|spell|Anathema}}</nowiki>
|example2 = <nowiki>{{Incite|-10|spell|Anathema}}</nowiki>
|example2output = {{Incite|-10|spell|Anathema}}
|example2output = {{Incite|-10|spell|Anathema}}
|example3 = <nowiki>{{Incite|-15|spellranged|Stealth Strike}}</nowiki>
|example3output = {{Incite|-15|spellranged|Stealth Strike}}
|parameter1name = Enhancement Amount
|parameter1name = Enhancement Amount
|parameter1description = This is the amount that the threat bonus is changed.
|parameter1description = This is the amount that the threat bonus is changed.
Line 15: Line 17:
* Ranged
* Ranged
* Spell
* Spell
* SpellMelee
* SpellRanged
* All
|parameter3name = Title
|parameter3name = Title
|parameter3description = Text to use in place of the default in the title.
|parameter3description = Text to use in place of the default in the title.
|parameter3name = Bonus Type
|parameter4name = Bonus Type
|parameter3description = The type of bonus, if not specified, the amount is a percent
|parameter4description = The type of bonus, if not specified, the amount is a percent
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category: Items with a Change to Threat Generation]][[Incite | {{#if: {{{3|}}}|'''{{{3}}} {{#if: {{{4|}}}||%}}:'''|''' {{{4|}}} Incite {{#ifexpr: {{{1}}} < 0||+}}{{{1}}}{{#if: {{{4|}}}||%}}:'''}}]] {{#ifexpr: {{{1}}} < 0||+}}{{{1}}}{{#if: {{{4|}}}||%}} {{{4|}}} {{#ifexpr: {{{1}}} < 0|reduction of|increase to}} threat generated from {{lc:{{{2|melee}}}}} damage.</onlyinclude>
<onlyinclude>{{EnchTitle|Incite|{{#ifeq: {{lc:{{{4}}}}}|enhancement||{{BonusTypeNameConversion|{{{4|}}}|True}}}} Incite {{#ifexpr: {{{1}}} < 0||+}}{{{1}}}%|{{{3|}}}}}{{EnchBody|{{#ifexpr: {{{1}}} < 0||+}}{{{1}}}% {{BonusTypeNameConversion|{{{4|}}}}} {{#ifexpr: {{{1}}} < 0|reduction of|increase to}} threat generated from {{#switch: {{lc:{{{2}}}}}
|spellmelee= melee and spell
|spellranged=ranged and spell
|#default={{lc:{{{2|melee}}}}}
}} damage.}}{{EnchCat|Incite|Items with a Change to Threat Generation}}</onlyinclude>

Latest revision as of 18:35, 13 December 2019

Incite[edit]

This template is used on equipment for the Incite enchantment.

Example Usage
{{Incite|10}}Incite +10%: +10% increase to threat generated from melee damage.
{{Incite|-10|spell|Anathema}}Anathema: -10% reduction of threat generated from spell damage.
{{Incite|-15|spellranged|Stealth Strike}}Stealth Strike: -15% reduction of threat generated from ranged and spell damage.

Usage[edit]

{{Incite|(Enhancement Amount)|(Attack Type)|(Title)|(Bonus Type)}}

Parameter Documentation
Enhancement AmountThis is the amount that the threat bonus is changed.
Attack TypeThis is the type of attacks the threat bonus is changed for, if not specified it defaults to Melee.
Possible Values:
  • Melee
  • Ranged
  • Spell
  • SpellMelee
  • SpellRanged
  • All
TitleText to use in place of the default in the title.
Bonus TypeThe type of bonus, if not specified, the amount is a percent

Template

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


Incite Expression error: Unrecognized punctuation character "{".{{{1}}}%: Expression error: Unrecognized punctuation character "{".{{{1}}}% Expression error: Unrecognized punctuation character "{". threat generated from melee damage.