Difference between revisions of "Template:Cosmetic"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 88: | Line 88: | ||
<td class="item-image-side"> | <td class="item-image-side"> | ||
<table class="item-image-table background-color" > | <table class="item-image-table background-color" > | ||
<tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]]</td></tr> | <tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|center]]</td></tr> | ||
<tr> | <tr> | ||
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}}{{#if: {{{storedescription|}}} |<br><br>}}|[[Category:Items without a Drop Location]]}}{{#if: {{{storedescription|}}} | '''Store Description:''' {{{storedescription}}}<br>}} | <td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}}{{#if: {{{storedescription|}}} |<br><br>}}|[[Category:Items without a Drop Location]]}}{{#if: {{{storedescription|}}} | '''Store Description:''' {{{storedescription}}}<br>}} |
Revision as of 16:46, 2 April 2020
{{Template:Cosmetic |name = |type = |binding = |description = |droplocation = |storedescription = |restriction = |icon= |image= |bug= |weight= |basevalue= }}
Item[edit]
This template is used to render information about a cosmetic.
Usage[edit]
Parameter Documentation | |
name | The name of the item. |
type | What type of item is it. Possible Values:
|
binding | How is this item bound - leave blank it is unbound. Possible Values:
|
description | Enter the description that is on the examine window at the bottom. |
droplocation | This specifies information on where this drops. Use Template:DropLocation, Template:ItemIconicReceived, Template:StorePurchase, Template:CollectablePurchase, Template:RaidRunePurchase to specify it. IF there is more than one, put each on its own line starting with an asterisk. |
storedescription | This is the description of the item found in the store. |
restriction | This is used when there is some kind of restriction. If it is a trait (Lawful, Good, etc), use Template:ItemRequiredTrait. If there is a race restriction, use Template:ItemRestrictedRace. |
icon | The icon to use for this item, overrides the image using the item name |
image | Image file, use if the image doesn't change between heroic and epic types. Do not include extension. |
bug | Contains any information about a bug related to the item. Use Template:Bug |
weight | This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. |
basevalue | This is the base value as shown in the examine window. Use Template:Price. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.