Difference between revisions of "Template:ItemFoodAndDrink"
From DDO Compendium
m (formatting) |
m (forgot restriction) |
||
Line 6: | Line 6: | ||
|minlevel = | |minlevel = | ||
|description = | |description = | ||
| | |restriction = | ||
|droplocation = | |droplocation = | ||
|enchantments= | |enchantments= | ||
Line 35: | Line 35: | ||
|parameter4name = description | |parameter4name = description | ||
|parameter4description = The description as found in the Examine window. | |parameter4description = The description as found in the Examine window. | ||
|parameter5name = | |parameter5name = restriction | ||
|parameter5description = Races/classes/etc that cannot (or only can) use this item. [[Template:ItemRestrictedRace]] | |parameter5description = Races/classes/etc that cannot (or only can) use this item. [[Template:ItemRestrictedRace]] | ||
|parameter6name = droplocation | |parameter6name = droplocation | ||
Line 78: | Line 78: | ||
<tr> | <tr> | ||
<td> | <td> | ||
{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}} | {{#if: {{{restriction|}}}|{{{restriction}}}<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|}}}}} | {{#switch: {{lc:{{{type|}}}}} |
Revision as of 22:16, 14 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.