Difference between revisions of "Template:CompanionTrick"

From DDO Compendium
(Created page with "<noinclude>{{Template:TemplateDocumentation |name = CompanionTrick |description = Template for a consistent appearance of tricks in companions. |category = Shared Templates |u...")
 
Line 12: Line 12:
|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>
}}</noinclude><onlyinclude>{{#ifexist: File:{{#if: {{{3|}}}|{{{3|}}}|{{{1}}}}}_Icon.png | {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | }} {{PageLink|{{{1|}}}|{{{4|}}}}}</onlyinclude>
{{#ifexist: File:{{#if: {{{3|}}}|{{{3|}}}|{{{1}}}}}_Icon.png | {{IconImage|{{{1}}}|{{{3|}}}|{{{1|}}}}} | }} {{PageLink|{{{1|}}}|{{{4|}}}}}</onlyinclude>

Revision as of 18:40, 28 January 2021

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

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.


[[]]