Difference between revisions of "Template:ItemFoodAndDrink"

From DDO Compendium
m
Line 109: Line 109:
<table class="table table-bordered table-striped table-condensed">
<table class="table table-bordered table-striped table-condensed">
<tr>
<tr>
<td>
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
{{#if: {{{droplocation|}}}|'''Where To Find:'''<br>
&nbsp;|[[Category:Items without a Drop Location]]}}</td></tr></table></div>
<div class="table-responsive">
<table class="table table-striped table-condensed sortable">
<tr>
<th scope="col" class="col-sm-4">Vendor</th>
<th scope="col" class="col-sm-5">Location</th>
<th scope="col" class="col-sm-1">Qty</th>
<th scope="col" class="col-sm-2">Price</th>
</tr>
{{{droplocation}}}
</table></div>
|[[Category:Items without a Drop Location]]}}
</td>
</td>
</tr>
</tr>

Revision as of 20:39, 5 March 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
nameThis is the material item.
typeWhat type of item is it.
Possible Values:
  • Food
  • Drink
minlevelThe minimum level needed to be to use this item.
descriptionThe description as found in the Examine window.
restrictionRaces/classes/etc that cannot (or only can) use this item. Template:ItemRestrictedRace
droplocationWhere is this item found? Use Template:VendorPurchase
enchantmentsWhat does this item do? See Enchantment Templates.
materialEnter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
hardnessEnter the hardness shown in the examine window.
durabilityEnter the maximum durability value shown in the examine window.
iconThis is an icon to use, instead of the name
weightThis is the weight, in lbs, as shown on the examine window. The "lbs" will be added.
basevalueThis is the base value as shown in the examine window. Use Template:Price.
notesAny notes about this material.
inventorystacksizeThis 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.