Difference between revisions of "Template:ItemFoodAndDrink"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 4: | Line 4: | ||
|name = | |name = | ||
|type = | |type = | ||
|binding= | |||
|minlevel = | |minlevel = | ||
|description = | |description = | ||
Line 31: | Line 32: | ||
* Food | * Food | ||
* Drink | * Drink | ||
|parameter3name = minlevel | |parameter3name = binding | ||
| | |parameter3description = How is this item bound - leave blank it is unbound. | ||
| | * 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 | ||
| | |parameter4name = minlevel | ||
| | |parameter4description = The minimum level needed to be to use this item. | ||
| | |parameter5name = description | ||
| | |parameter5description = The description as found in the Examine window. | ||
| | |parameter6name = restriction | ||
| | |parameter6description = Races/classes/etc that cannot (or only can) use this item. [[Template:ItemRestrictedRace]] | ||
| | |parameter7name = droplocation | ||
| | |parameter7description = Where is this item found? Use [[Template:VendorPurchase]] | ||
| | |parameter8name = enchantments | ||
| | |parameter8description = What does this item do? See [[:Category:Item_Enchantment_Template|Enchantment Templates]]. | ||
| | |parameter9name = material | ||
| | |parameter9description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). | ||
| | |parameter10name = hardness | ||
| | |parameter10description = Enter the hardness shown in the examine window. | ||
| | |parameter11name = durability | ||
| | |parameter11description = Enter the maximum durability value shown in the examine window. | ||
| | |parameter12name=icon | ||
| | |parameter12description=This is an icon to use, instead of the name | ||
|parameter13name = weight | |||
|parameter13description = This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. | |||
|parameter14name = basevalue | |||
|parameter14description = This is the base value as shown in the examine window. Use [[Template:Price]]. | |||
|parameter15name = notes | |||
|parameter15description = Any notes about this material. | |||
|parameter16name = inventorystacksize | |||
|parameter16description = This is the maximum number of items that can stack in the inventory | |||
}}[[Category:Template]] | }}[[Category:Template]] | ||
</noinclude> | </noinclude> | ||
Line 71: | Line 80: | ||
{{#if:{{{restriction|}}}|{{{restriction}}}<br>}} | {{#if:{{{restriction|}}}|{{{restriction}}}<br>}} | ||
{{#if:{{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}} | {{#if:{{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}} | ||
{{#if:{{{binding|}}}|{{ItemBinding|{{{binding}}}}}<br>}} | |||
{{#if:{{{inventorystacksize|}}}|'''Inventory Maximum Stack Size:''' {{formatnum:{{{inventorystacksize}}}}}}} | {{#if:{{{inventorystacksize|}}}|'''Inventory Maximum Stack Size:''' {{formatnum:{{{inventorystacksize}}}}}}} | ||
</td></tr><tr><td>{{#switch:{{lc:{{{type|}}}}}|food|drink='''Enchantments:''' | </td></tr><tr><td>{{#switch:{{lc:{{{type|}}}}}|food|drink='''Enchantments:''' |
Revision as of 20:52, 20 October 2021
{{Template:ItemFoodAndDrink |name = |type = |binding= |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:
|
binding | How is this item bound - leave blank it is unbound.
|
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.