Difference between revisions of "Template:ItemFeat"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|description = This template is used on equipment to grant a feat. | |description = This template is used on equipment to grant a feat. | ||
|category=Item Enchantment Template | |category=Item Enchantment Template | ||
|example1 = <nowiki>{{ItemFeat|Augment Summoning|which gives your summoned creatures +4 to all ability scores, increased health, and increased fortification}}</nowiki> | |example1 = <nowiki>{{ItemFeat|Augment Summoning|which gives your summoned creatures +4 to all ability scores, increased health, and increased fortification||Augment Summoning (Feat)}}</nowiki> | ||
|example1output = {{ItemFeat|Augment Summoning|which gives your summoned creatures +4 to all ability scores, increased health, and increased fortification}} | |example1output = {{ItemFeat|Augment Summoning|which gives your summoned creatures +4 to all ability scores, increased health, and increased fortification||Augment Summoning (Feat)}} | ||
|parameter1name = Feat | |parameter1name = Feat | ||
|parameter1description = Which feat is being added. | |parameter1description = Which feat is being added. | ||
Line 11: | Line 11: | ||
|parameter3name = title | |parameter3name = title | ||
|parameter3description = The title of the enchantment, if it is different than the feat name | |parameter3description = The title of the enchantment, if it is different than the feat name | ||
|parameter4name = link | |||
|parameter4description = The link to the feat, if the name doesn't match the page name | |||
}} | }} | ||
<onlyinclude>{{EnchTitle|{{{1}}}|Feat: {{{1}}}|{{{3|}}}}}{{EnchBody|While equipped, this item grants you the feat | <onlyinclude>{{EnchTitle|{{#if: {{{4|}}}|{{{4}}}|{{{1}}}}}|Feat: {{{1}}}|{{{3|}}}}}{{EnchBody|While equipped, this item grants you the feat {{PageLink|{{{1}}}|{{{4|}}}}}{{#if: {{{2|}}}|, {{{2|}}}|}}.}}{{EnchCat|ItemFeat|Items that grant the {{{1}}} Feat|Items that grant a Feat}}</onlyinclude> |
Latest revision as of 18:20, 14 May 2021
ItemFeat[edit]
This template is used on equipment to grant a feat.
Example Usage | |
{{ItemFeat|Augment Summoning|which gives your summoned creatures +4 to all ability scores, increased health, and increased fortification||Augment Summoning (Feat)}} | Feat: Augment Summoning: While equipped, this item grants you the feat Augment Summoning, which gives your summoned creatures +4 to all ability scores, increased health, and increased fortification. |
Usage[edit]
{{ItemFeat|(Feat)|(bonus)|(title)|(link)}}
Parameter Documentation | |
Feat | Which feat is being added. |
bonus | What is gained by the feat. The first clause of the sentence is automatically included. |
title | The title of the enchantment, if it is different than the feat name |
link | The link to the feat, if the name doesn't match the page name |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[{{{1}}}|Feat: {{{1}}}:]] While equipped, this item grants you the feat [[{{{1}}}]].