Difference between revisions of "Template:TomeFeat"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 23: | Line 23: | ||
<onlyinclude>{{EnchTitle||Feat Grant - {{{1}}}|{{{5|}}}}}{{EnchBody|Upon usage, this item {{#switch: {{lc:{{{2|}}}}} | <onlyinclude>{{EnchTitle||Feat Grant - {{{1}}}|{{{5|}}}}}{{EnchBody|Upon usage, this item {{#switch: {{lc:{{{2|}}}}} | ||
|upgrade=increases the number of {{RenderLink|{{{1}}}}} feats granted from {{{4}}} to {{{3}}}. | |upgrade=increases the number of {{RenderLink|{{{1}}}}} feats granted from {{{4}}} to {{{3}}}. | ||
|#default=grants the feat {{RenderLink|{{{1}}}}} {{#if:{{{3|}}}|{{{3}}} times|once}}.}}}}{{EnchCat| | |#default=grants the feat {{RenderLink|{{{1}}}}} {{#if:{{{3|}}}|{{{3}}} times|once}}.}}}}{{EnchCat|TomeFeat|Items that grant the {{{1}}} Feat|Items that grant a Feat}}</onlyinclude> |
Latest revision as of 17:42, 11 November 2021
TomeFeat[edit]
This template is used on equipment to grant a feat when used (like a tome).
Example Usage | |
{{TomeFeat|Inherent Magical Resistance}} | Feat Grant - Inherent Magical Resistance: Upon usage, this item grants the feat Inherent Magical Resistance once. |
{{TomeFeat|Inherent Magical Resistance|Upgrade|2|1}} | Feat Grant - Inherent Magical Resistance: Upon usage, this item increases the number of Inherent Magical Resistance feats granted from 1 to 2. |
Usage[edit]
{{TomeFeat|(Feat)|(type)|(new count)|(old count)|(title)}}
Parameter Documentation | |
Feat | Which feat is being added. |
type | What type of grant is it Possible Values:
|
new count | The number of times this is granted, defaults to one |
old count | The number that this upgrades from |
title | The title if 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.
Feat Grant - {{{1}}}: Upon usage, this item grants the feat [[{{{1}}}]] once.