Difference between revisions of "Template:Companion"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 10: | Line 10: | ||
|othertricks= | |othertricks= | ||
|certificate= | |certificate= | ||
|droplocation= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 31: | Line 32: | ||
|parameter7name = othertricks | |parameter7name = othertricks | ||
|parameter7description = Contains a bulleted list of tricks that are only available separately. | |parameter7description = Contains a bulleted list of tricks that are only available separately. | ||
|parameter8name = droplocation | |||
|parameter8description = This specifies information on where this drops. Use one of the drop location templates to specify it. The list of templates can be found here: [[:Category:DropLocation Templates]]. If there is more than one, put each on its own line starting with an asterisk. ONLY USE IF THERE IS NOT A CERTIFICATE | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 76: | Line 79: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>'''Added to Stable Using:''' {{#if: {{{certificate|}}}|{{RenderLink|{{{certificate|}}}}}|{{#if: {{{droplocation|}}}|{{WrapMultiLine|{{{droplocation}}}}}|[[{{{name}}} Certificate]]}}}}</td> | ||
'''Added to Stable Using:''' {{#if: {{{certificate|}}}|{{RenderLink|{{{certificate|}}}}}|[[{{{name}}} Certificate]]}} | |||
</td> | |||
</tr> | </tr> | ||
{{#if: {{{bug|}}}|<tr> | {{#if: {{{bug|}}}|<tr> |
Latest revision as of 00:41, 15 June 2024
{{Template:Companion |name = |description = |icon= |image= |bug= |tricks= |othertricks= |certificate= |droplocation= }}
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, default is 'name Certificate' |
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. |
droplocation | This specifies information on where this drops. Use one of the drop location templates to specify it. The list of templates can be found here: Category:DropLocation Templates. If there is more than one, put each on its own line starting with an asterisk. ONLY USE IF THERE IS NOT A CERTIFICATE |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.