Difference between revisions of "Template:Consumable"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 133: | Line 133: | ||
{{#if: {{{droplocation|}}} | '''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}} | {{#if: {{{droplocation|}}} | '''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}} | ||
|[[Category:Items without a Drop Location]]}}{{#if: {{{details|}}} | {{#if: {{{droplocation|}}}|<br><br>}}'''Extra Details:''' {{WrapMultiLine|{{{details}}}}}}}{{#if: {{{bug|}}} |{{#if: {{{droplocation|}}}{{{details|}}}{{{upgradeable|}}}|<br><br>}} '''Bugs:''' {{WrapMultiLine|{{{bug}}}}}}}{{#if: {{{patchnotes|}}} |{{#if: {{{droplocation|}}}{{{details|}}}{{{patchnotes|}}}|<br><br>}} Patch Notes:''' {{WrapMultiLine|{{{patchnotes}}}}}}}</td></tr> | |[[Category:Items without a Drop Location]]}}{{#if: {{{details|}}} | {{#if: {{{droplocation|}}}|<br><br>}}'''Extra Details:''' {{WrapMultiLine|{{{details}}}}}}}{{#if: {{{bug|}}} |{{#if: {{{droplocation|}}}{{{details|}}}{{{upgradeable|}}}|<br><br>}} '''Bugs:''' {{WrapMultiLine|{{{bug}}}}}}}{{#if: {{{patchnotes|}}} |{{#if: {{{droplocation|}}}{{{details|}}}{{{patchnotes|}}}|<br><br>}} Patch Notes:''' {{WrapMultiLine|{{{patchnotes}}}}}}}</td></tr> | ||
</table> | </table></div></div>{{#if: {{{type|}}}|[[Category:{{{type}}}]]}}{{#if:{{{update|}}}|[[Category:Update {{{update}}} Loot]]|[[Category:Items without an Update]]}}</includeonly> | ||
</div> | |||
</div> | |||
{{#if: {{{type|}}}|[[Category:{{{type}}}]]}} | |||
{{#if:{{{update|}}}|[[Category:Update {{{update}}} Loot]]|[[Category:Items without an Update]]}} | |||
</includeonly> |
Revision as of 22:44, 14 March 2020
{{Template:Consumable |name = |type = |minlevel= |binding= |material = |hardness = |durability = |description = |droplocation = |enchantments= |icon= |weight= |basevalue= |details = |bug= |update= |patchnotes= }}
Consumable[edit]
This template is used to render information about an potion, food, teleportation device or other consumable.
Usage[edit]
Parameter Documentation | |
name | This is the consumable name. |
type | What type of item is it. Possible Values:
|
minlevel | Enter the minimum level required for the item, or leave blank if there is none. |
binding | How is this item bound - leave blank it is unbound. Possible Values:
|
material | Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron), if this is blank then this whole session is not included. |
hardness | Enter the hardness shown in the examine window. |
durability | Enter the maximum durability value shown in the examine window. |
stacksize | Enter the number of items in a single stack |
description | Enter the description that is on the examine window at the bottom. |
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. |
enchantments | This specifies the enchantments if it has any. Unlike items, this should be a single one. |
icon | This is an icon to use, instead of the name |
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. |
details | Enter any details that a player may need to know about this (i.e. if not working correctly, etc). |
bug | Contains any information about a bug related to the item. Use Template:Bug |
update | Which update was this introduced |
patchnotes | Relevant patch notes about how this item has changed over time |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.