Difference between revisions of "Template:HirelingCommand"

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 command name
|parameter3description = The name of the page to link to if different than the command name
}}</noinclude><onlyinclude>{{IconImage|{{{1}}}|{{{2|}}}|{{#if: {{{3|}}}|{{{3}}}|{{{1|}}}}}}} | }} {{PageLink|{{{1|}}}|{{{3|}}}</onlyinclude>
}}</noinclude><onlyinclude>{{IconImage|{{{1}}}|{{{2|}}}|{{#if: {{{3|}}}|{{{3}}}|{{{1|}}}}}}} {{PageLink|{{{1|}}}|{{{3|}}}}}</onlyinclude>

Revision as of 19:54, 12 March 2022

HirelingCommand[edit]

Template for a consistent appearance of commands in hirelings

Example Usage
{{HirelingCommand|Cure Moderate Wounds|Spell Cure Moderate Wounds}}Spell Cure Moderate Wounds Icon.png Cure Moderate Wounds
{{HirelingCommand|Rogue Damage Boost I|Enhancement Rogue Damage Boost|Action Boost (Power)}}Enhancement Rogue Damage Boost Icon.png Rogue Damage Boost I

Usage[edit]

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

Template

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


[[File:{{{1}}}_Icon.png|link=|36px|x36px|]] [[]]