Difference between revisions of "Template:ItemFoodAndDrink"
From DDO Compendium
(tweak) |
(add material, hardness, and durability) |
||
Line 9: | Line 9: | ||
|droplocation = | |droplocation = | ||
|enchantments= | |enchantments= | ||
|material = | |||
|hardness = | |||
|durability = | |||
|icon= | |icon= | ||
|weight= | |weight= | ||
Line 38: | Line 41: | ||
|parameter7name = enchantments | |parameter7name = enchantments | ||
|parameter7description = What does this item do? See [[:Category:Item_Enchantment_Template|Enchantment Templates]]. | |parameter7description = What does this item do? See [[:Category:Item_Enchantment_Template|Enchantment Templates]]. | ||
|parameter8name=icon | |parameter8name = material | ||
| | |parameter8description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). | ||
| | |parameter9name = hardness | ||
| | |parameter9description = Enter the hardness shown in the examine window. | ||
| | |parameter10name = durability | ||
| | |parameter10description = Enter the maximum durability value shown in the examine window. | ||
| | |parameter11name=icon | ||
| | |parameter11description=This is an icon to use, instead of the name | ||
| | |parameter12name = weight | ||
| | |parameter12description = This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. | ||
|parameter13name = basevalue | |||
|parameter13description = This is the base value as shown in the examine window. Use [[Template:Price]]. | |||
|parameter14name = notes | |||
|parameter14description = Any notes about this material. | |||
|parameter15name = inventorystacksize | |||
|parameter15description = This is the maximum number of items that can stack in the inventory | |||
}}[[Category:Template]] | }}[[Category:Template]] | ||
</noinclude><includeonly><table class="item-table background-color"> | </noinclude><includeonly><table class="item-table background-color"> | ||
Line 73: | Line 82: | ||
{{#switch: {{lc:{{{type|}}}}} | {{#switch: {{lc:{{{type|}}}}} | ||
|food=|drink='''Enchantments:''' | |food=|drink='''Enchantments:''' | ||
{{{enchantments|}}} | {{{enchantments|}}}<br>}} | ||
{{ItemMaterial|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}} | |||
{{#if: {{{description|}}}| | |||
'''Description:''' ''{{{description}}} ''}} | '''Description:''' ''{{{description}}} ''}} | ||
</td> | </td> |
Revision as of 22:09, 14 February 2020
{{Template:ItemFoodAndDrink |name = |type = |minlevel = |description = |exception = |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. |
exception | 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.