Difference between revisions of "Template:Companion"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 7: | Line 7: | ||
|image | |image | ||
|bug= | |bug= | ||
|tricks= | |||
|othertricks= | |||
}} | }} | ||
</pre> | </pre> | ||
{{TemplateDocumentation | {{TemplateDocumentation | ||
|name = Companion | |name = Companion | ||
|description = This template is used to render information about a | |description = This template is used to render information about a companion. | ||
|category=Companion Templates | |category=Companion Templates | ||
|usesnamedparameters = true | |usesnamedparameters = true | ||
|parameter1name = name | |parameter1name = name | ||
|parameter1description = The name of the | |parameter1description = The name of the companion. | ||
|parameter2name = description | |parameter2name = description | ||
|parameter2description = Enter the description that is on the examine window at the bottom. | |parameter2description = Enter the description that is on the examine window at the bottom. | ||
Line 24: | Line 26: | ||
|parameter5name = bug | |parameter5name = bug | ||
|parameter5description = Contains any information about a bug related to the item. Use [[Template:Bug]] | |parameter5description = Contains any information about a bug related to the item. Use [[Template:Bug]] | ||
|parameter6name = tricks | |||
|parameter6description = Contains a bulleted list of tricks that are included when you get the companion | |||
|parameter7name = othertricks | |||
|parameter7description = Contains a bulleted list of tricks that are only available separately. | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 46: | Line 52: | ||
<tr> | <tr> | ||
<td>'''Description:''' ''{{{description}}}''</td> | <td>'''Description:''' ''{{{description}}}''</td> | ||
</tr> | |||
}} | |||
{{#if: {{{tricks|}}}| | |||
<tr> | |||
<td>'''Included Tricks:''' {{WrapMultiLine|{{{tricks}}}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{othertricks|}}}| | |||
<tr> | |||
<td>'''Other Tricks:''' {{WrapMultiLine|{{{othertricks}}}}}</td> | |||
</tr> | </tr> | ||
}} | }} |
Revision as of 18:23, 28 January 2021
{{Template:Companion |name = |description = |icon= |image |bug= |tricks= |othertricks= }}
Companion[edit]
This template is used to render information about a companion.
Usage[edit]
Parameter Documentation | |
name | The name of the companion. |
description | Enter the description that is on the examine window at the bottom. |
icon | The icon to use for this item, overrides the icon using the item name |
image | The image for the companion, if the default named one doesn't work. |
bug | Contains any information about a bug related to the item. Use Template:Bug |
tricks | Contains a bulleted list of tricks that are included when you get the companion |
othertricks | Contains a bulleted list of tricks that are only available separately. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.