Difference between revisions of "Template:Consumable"

From DDO Compendium
(2 intermediate revisions by the same user not shown)
Line 70: Line 70:
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly><table class="item-table background-color">
<table class="item-table background-color">
<tr>
<tr>
<td class="item-info-side">
<td class="item-info-side">
Line 91: Line 90:
<tr>
<tr>
<td>{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}'''Binding:''' {{ItemBinding|{{{binding}}}}}<br>
<td>{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}'''Binding:''' {{ItemBinding|{{{binding}}}}}<br>
{{#if: {{{enchantements|}}}|
{{#if: {{{enchantments|}}}|
{{{enchantments|}}}
{{{enchantments|}}}
}}{{#if: {{{material|}}}|{{ItemMaterial|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}}}{{#if: {{{description|}}}|<br>
}}{{#if: {{{material|}}}|{{ItemMaterial|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}}}{{#if: {{{description|}}}|<br>
Line 103: Line 102:
<tr>
<tr>
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
<br>|[[Category:Items without a Drop Location]]}}{{#if: {{{details|}}} | '''Extra Details:'''&nbsp;
<br>}}{{#if: {{{details|}}} | '''Extra Details:'''&nbsp;
{{{details}}}
{{{details}}}
<br>}}{{#if: {{{bug|}}} | '''Bugs:'''&nbsp;
<br>}}{{#if: {{{bug|}}} | '''Bugs:'''&nbsp;

Revision as of 01:19, 26 January 2020

{{Template:Consumable
|name =
|type =
|minlevel=
|binding=
|material =
|hardness =
|durability =
|description =
|droplocation = 
|enchantments=
|icon=
|weight=
|basevalue=
|details =
|bug=
}}

Consumable[edit]

This template is used to render information about an potion, food, teleportation device or other consumable.

Usage[edit]

Parameter Documentation
nameThis is the consumable name.
typeWhat type of item is it.
Possible Values:
  • Potion
  • Teleporation (i.e. Key of Eveningstar, Commemorative D12)
  • Cookie
  • Scroll
minlevelEnter the minimum level required for the item, or leave blank if there is none.
bindingHow is this item bound - leave blank it is unbound.
Possible Values:
  • btc for Bound to Character
  • bta for Bound to Account
  • btcoe for Bound to Character on Equip
  • btcoa for Bound to Character on Acquire
  • btaoe for Bound to Account on Equip
  • btaoa for Bound to Account on Acquire
materialEnter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron), if this is blank then this whole session is not included.
hardnessEnter the hardness shown in the examine window.
durabilityEnter the maximum durability value shown in the examine window.
stacksizeEnter the number of items in a single stack
descriptionEnter the description that is on the examine window at the bottom.
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.
enchantmentsThis specifies the enchantments if it has any. Unlike items, this should be a single one.
iconThis is an icon to use, instead of the name
weightThis is the weight, in lbs, as shown on the examine window. The "lbs" will be added.
basevalueThis is the base value as shown in the examine window. Use Template:Price.
detailsEnter any details that a player may need to know about this (i.e. if not working correctly, etc).
bugContains any information about a bug related to the item. Use Template:Bug

Template

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