Difference between revisions of "Template:FeatItemEnchantment"

From DDO Compendium
 
Line 5: Line 5:
|example1 = <nowiki>{{FeatItemEnchantment|Fortification}}</nowiki>
|example1 = <nowiki>{{FeatItemEnchantment|Fortification}}</nowiki>
|example1output = {{FeatItemEnchantment|Fortification}}
|example1output = {{FeatItemEnchantment|Fortification}}
|example2 = <nowiki>{{FeatItemEnchantment|Fortification||Different Title}}</nowiki>
|example2output = {{FeatItemEnchantment|Fortification||Different Title}}
|parameter1name = Page
|parameter1name = Page
|parameter1description = This is the page to link to
|parameter1description = This is the page to link to
Line 12: Line 14:
|parameter3description = This is the link text, if different than the page
|parameter3description = This is the link text, if different than the page
}}
}}
</noinclude><onlyinclude>{{PageLink|{{{1|}}}|{{{3|}}}}}{{EnchCat|FeatItemEnchantment|Feats that Modify {{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}}}</onlyinclude>
</noinclude><onlyinclude>[[{{{1}}}|{{#if:{{{3|}}}|{{{3}}}|{{{1}}}}}]]{{EnchCat|FeatItemEnchantment|Feats that Modify {{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}}}</onlyinclude>

Latest revision as of 13:17, 27 May 2022

FeatItemEnchantment[edit]

This template is used on feats when it links to an item enchantment, i.e. Fortification.

Example Usage
{{FeatItemEnchantment|Fortification}}Fortification
{{FeatItemEnchantment|Fortification||Different Title}}Different Title

Usage[edit]

{{FeatItemEnchantment|(Page)|(Category)|(Title)}}

Parameter Documentation
PageThis is the page to link to
CategoryThis is the part category this needs to be in, if not "Feats that Modify <page>". This replaces the <page> part.
TitleThis is the link text, if different than the page

Template

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


[[{{{1}}}|{{{1}}}]]