Difference between revisions of "Template:Companion"

From DDO Compendium
 
(2 intermediate revisions by the same user not shown)
Line 98: Line 98:
|description=
|description=
Type: Companion
Type: Companion
Added to Stable Using: {{#if: {{{certificate|}}}|{{{certificate|}}}|{{#if: {{{droplocation|}}}|{{#dplvar:seodroplocation}}|[[{{{name}}} Certificate]]}}}}
Added to Stable Using: {{#if: {{{certificate|}}}|{{#replace:{{#replace:{{{certificate}}}|[|}}|]|}}|{{#if: {{#dplvar:seodroplocation}}|{{#dplvar:seodroplocation}}|{{{name}}} Certificate}}}}
|site_name={{SITENAME}}
|site_name={{SITENAME}}
|published_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
|published_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}

Latest revision as of 21:40, 21 December 2024

{{Template:Companion
|name =
|description =
|icon=
|image=
|bug=
|tricks=
|othertricks=
|certificate=
|droplocation=
|update=
}}

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, default is 'name Certificate'
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.
droplocationThis 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
updateWhich update was this item added to the game in.

Template

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