Difference between revisions of "Template:ItemFoodAndDrink"
From DDO Compendium
m (tweak) |
m (formatting) |
||
Line 82: | Line 82: | ||
{{#if:{{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}} | {{#if:{{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}} | ||
{{#if:{{{inventorystacksize|}}}|'''Inventory Maximum Stack Size:''' {{formatnum:{{{inventorystacksize}}}}}<br>}} | {{#if:{{{inventorystacksize|}}}|'''Inventory Maximum Stack Size:''' {{formatnum:{{{inventorystacksize}}}}}<br>}} | ||
{{#switch:{{lc:{{{type|}}}}}|food|drink='''Enchantments:''' | {{#switch:{{lc:{{{type|}}}}}|food|drink='''Enchantments:''' | ||
{{{enchantments|}}}<br>}} | |||
{{ItemMaterial|{{{material}}}|{{#if:{{{hardness|}}}|{{{hardness}}}|}}|{{#if: {{{durability|}}}|{{{durability}}}|}}<br>}} | {{ItemMaterial|{{{material}}}|{{#if:{{{hardness|}}}|{{{hardness}}}|}}|{{#if: {{{durability|}}}|{{{durability}}}|}}<br>}} | ||
{{#if:{{{description|}}}|''{{{description}}}''}} | {{#if:{{{description|}}}|''{{{description}}}''}} |
Revision as of 11:39, 18 February 2020
{{Template:ItemFoodAndDrink |name = |type = |minlevel = |description = |restriction = |droplocation = |enchantments= |material = |hardness = |durability = |icon= |weight= |basevalue= |notes= |inventorystacksize= }}
FoodAndDrink[edit]
This template is used to render information about an food and drink items commonly sold in taverns across the game.
Usage[edit]
Parameter Documentation | |
name | This is the material item. |
type | What type of item is it. Possible Values:
|
minlevel | The minimum level needed to be to use this item. |
description | The description as found in the Examine window. |
restriction | Races/classes/etc that cannot (or only can) use this item. Template:ItemRestrictedRace |
droplocation | Where is this item found? Use Template:VendorPurchase |
enchantments | What does this item do? See Enchantment Templates. |
material | Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). |
hardness | Enter the hardness shown in the examine window. |
durability | Enter the maximum durability value shown in the examine window. |
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. |
notes | Any notes about this material. |
inventorystacksize | This is the maximum number of items that can stack in the inventory |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.