Difference between revisions of "Template:ItemFeat"

From DDO Compendium
 
(2 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 14: Line 14:
|parameter4description = The link to the feat, if the name doesn't match the page name
|parameter4description = The link to the feat, if the name doesn't match the page name
}}
}}
<onlyinclude>{{EnchTitle|{{#if: {{{4|}}}|{{{4}}}|{{{1}}}}}|Feat: {{{1}}}|{{{3|}}}}}{{EnchBody|While equipped, this item grants you the feat [[{{{1}}}]]{{#if: {{{2|}}}|, {{{2|}}}|}}.}}{{EnchCat|ItemFeat|Items that grant the {{{1}}} Feat|Items that grant a Feat}}</onlyinclude>
<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
FeatWhich feat is being added.
bonusWhat is gained by the feat. The first clause of the sentence is automatically included.
titleThe title of the enchantment, if it is different than the feat name
linkThe 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}}}]].