Difference between revisions of "Template:CompanionTrick"

From DDO Compendium
Line 14: Line 14:
|parameter3name = Page Name
|parameter3name = Page Name
|parameter3description = The name of the page to link to if different than the trick name
|parameter3description = The name of the page to link to if different than the trick name
}}</noinclude><onlyinclude>{{#ifexist: File:{{#if: {{{3|}}}|{{{3|}}}|{{{1}}}}}_Icon.png | {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | }} {{PageLink|{{{1|}}}|{{{4|}}}}}</onlyinclude>
}}</noinclude><onlyinclude>{{#ifexist: File:{{#if: {{{3|}}}|{{{3|}}}|{{{1}}}}}_Icon.png | {{IconImageWithLink|{{{1}}}|{{{3|}}}|{{{1|}}}}} | }} {{PageLink|{{{1|}}}|{{{4|}}}}}</onlyinclude>

Revision as of 00:06, 19 March 2022

CompanionTrick[edit]

Template for a consistent appearance of tricks in companions.

Example Usage
{{CompanionTrick|Crayfish Trick - Attack}}Crayfish Trick - Attack Icon.png Crayfish Trick - Attack
{{CompanionTrick|Crayfish Trick - Attack}}Crayfish Trick - Attack Icon.png Crayfish Trick - Attack

Usage[edit]

Parameter Documentation
NameThe name of the trick
IconThe icon to use if the default doesn't work
Page NameThe name of the page to link to if different than the trick name

Template

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


[[]]