Difference between revisions of "Template:Companion"

From DDO Compendium
Line 5: Line 5:
|description =
|description =
|icon=
|icon=
|image
|image=
|bug=
|bug=
|tricks=
|tricks=
Line 71: Line 71:
<div class="col-sm-6">
<div class="col-sm-6">
<table class="table table-bordered table-striped table-condensed">
<table class="table table-bordered table-striped table-condensed">
<tr style="background: rgb(0,0,0)">
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td>
</tr>
{{#if: {{{bug|}}}|<tr>
{{#if: {{{bug|}}}|<tr>
<td>
<td>

Revision as of 18:48, 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
nameThe name of the companion.
descriptionEnter the description that is on the examine window at the bottom.
iconThe icon to use for this item, overrides the icon using the item name
imageThe image for the companion, if the default named one doesn't work.
bugContains any information about a bug related to the item. Use Template:Bug
tricksContains a bulleted list of tricks that are included when you get the companion
othertricksContains 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.