Difference between revisions of "Template:HirelingCommand"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude>{{Template:TemplateDocumentation |name = HirelingCommand |description = Template for a consistent appearance of commands in hirelings |category = Shared Templates |usesnamedparameters = no |example1 = <nowiki>{{HirelingCommand|Cure Moderate Wounds|Spell Cure Moderate Wounds}}</nowiki> |example1output = {{HirelingCommand|Cure Moderate Wounds|Spell Cure Moderate Wounds}} |example2 = <nowiki>{{HirelingCommand|Rogue Damage Boost I|Enhancement Rogue Damage Boost|Ac...") |
MNDeveloper (talk | contribs) |
||
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>{{#ifexist: File:{{#if: {{{2|}}}|{{{2|}}}|{{{1}}}}}_Icon.png | {{IconImage|{{{1}}}|{{{2|}}}|{{{1|}}}}} | }} {{PageLink|{{{1|}}}|{{{3|}}}}}</onlyinclude> | }}</noinclude><onlyinclude>{{#ifexist: File:{{#if: {{{2|}}}|{{{2|}}}|{{{1}}}}}_Icon.png | {{IconImage|{{{1}}}|{{{2|}}}|{{#if: {{{3|}}}|{{{3}}}|{{{1|}}}}}}} | }} {{PageLink|{{{1|}}}|{{{3|}}}}}</onlyinclude> |
Revision as of 19:45, 12 March 2022
HirelingCommand[edit]
Template for a consistent appearance of commands in hirelings
Example Usage | |
{{HirelingCommand|Cure Moderate Wounds|Spell Cure Moderate Wounds}} | Cure Moderate Wounds |
{{HirelingCommand|Rogue Damage Boost I|Enhancement Rogue Damage Boost|Action Boost (Power)}} | Rogue Damage Boost I |
Usage[edit]
Parameter Documentation | |
Name | The name of the command |
Icon | The icon to use if the default doesn't work |
Page Name | The 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.
[[]]