Difference between revisions of "Template:Material"
From DDO Compendium
m |
m |
||
Line 105: | Line 105: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}'''Binding:''' {{ItemBinding|{{{binding}}}}}<br>{{#if: {{{bagstacksize|}}}|'''Bag Maximum Stack Size:''' {{formatnum:{{{bagstacksize}}}}}<br>}}{{#if: {{{inventorystacksize|}}}|'''Inventory Maximum Stack Size:''' {{formatnum:{{{inventorystacksize}}}}}<br>}}{{#if: {{{rarity|}}}|'''Rarity:''' {{{rarity}}}<br>}}{{#switch: {{lc:{{{type|}}}}}|augment=|potion='''Enchantments:''' {{{enchantments|}}}}}{{#if: {{{description|}}}|<br>''{{{description}}}''}} | <td>{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}'''Binding:''' {{ItemBinding|{{{binding}}}}}<br>{{#if: {{{bagstacksize|}}}|'''Bag Maximum Stack Size:''' {{formatnum:{{{bagstacksize}}}}}<br>}}{{#if: {{{inventorystacksize|}}}|'''Inventory Maximum Stack Size:''' {{formatnum:{{{inventorystacksize}}}}}<br>}}{{#if: {{{rarity|}}}|'''Rarity:''' {{{rarity}}}<br>}}{{#switch: {{lc:{{{type|}}}}}|augment=|potion='''Enchantments:''' {{{enchantments|}}}}}{{#if: | ||
{{{description|}}}|<br>''{{{description}}}''}} | |||
</td> | </td> | ||
</tr> | </tr> | ||
Line 130: | Line 131: | ||
{{#if: {{{purchaselocation|}}}| | {{#if: {{{purchaselocation|}}}| | ||
<tr> | <tr> | ||
<td> | |||
<table class="table table-striped table-condensed"> | <table class="table table-striped table-condensed"> | ||
<caption>'''Where to Purchase:'''</caption> | <caption>'''Where to Purchase:'''</caption> | ||
Line 139: | Line 141: | ||
</tr> | </tr> | ||
{{{purchaselocation}}} | {{{purchaselocation}}} | ||
</table></tr> | </table> | ||
</td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{droplocation|}}}| | {{#if: {{{droplocation|}}}| | ||
<tr> | <tr> | ||
<td> | |||
<table class="table table-striped table-condensed"> | <table class="table table-striped table-condensed"> | ||
<caption>'''Where to Loot:'''</caption> | <caption>'''Where to Loot:'''</caption> | ||
Line 150: | Line 155: | ||
</tr> | </tr> | ||
{{{droplocation}}} | {{{droplocation}}} | ||
</table></tr> | </table> | ||
</td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{collectors|}}}| | {{#if: {{{collectors|}}}| | ||
<tr> | <tr> | ||
<td> | |||
<table class="table table-striped table-condensed"> | <table class="table table-striped table-condensed"> | ||
<tr> | <tr> | ||
<td>'''Collectors:''' {{WrapMultiLine|{{{collectors}}}}}</td> | <td>'''Collectors:''' {{WrapMultiLine|{{{collectors}}}}}</td> | ||
</tr></table></tr> | </tr> | ||
</table> | |||
</td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{use|}}}| | {{#if: {{{use|}}}| | ||
<tr> | <tr> | ||
<td> | |||
<table class="table table-striped table-condensed"> | <table class="table table-striped table-condensed"> | ||
<tr> | <tr> | ||
<td>'''Used In:''' {{WrapMultiLine|{{{use}}}}}</td> | <td>'''Used In:''' {{WrapMultiLine|{{{use}}}}}</td> | ||
</tr></table></tr> | </tr> | ||
</table> | |||
</td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{notes|}}} | | {{#if: {{{notes|}}} | | ||
<tr> | <tr> | ||
<td> | |||
<table class="table table-striped table-condensed"> | <table class="table table-striped table-condensed"> | ||
<tr> | <tr> | ||
<td>{{{notes}}}</td> | <td>{{{notes}}}</td> | ||
</tr></table></tr> | </tr> | ||
</table> | |||
</td> | |||
</tr> | |||
}} | }} | ||
</table> | </table> |
Revision as of 02:31, 24 February 2020
{{Template:Material |name = |type = |minlevel = |binding= |bagtype = |use= |rarity = |collectors = |description = |droplocation = |enchantments= |icon= |weight= |basevalue= |notes= |bagstacksize= |inventorystacksize= }}
Material[edit]
This template is used to render information about an ingredient, collectable, gem or any other material.
Usage[edit]
Parameter Documentation | |
name | This is the material name. |
type | What type of item is it. Possible Values:
|
minlevel | The minimum level needed to be to use this item. |
binding | How is this item bound - leave blank it is unbound. Possible Values:
|
bagtype | Type of the bag/container that this goes in, leave blank if it doesn't go in anything. Possible Values:
|
use | List what this can be used for - be detailed with links |
rarity | How common/uncommon/rare is this to get. If it always drops from some location, don't include this. |
collectors | List collectors who take this. |
description | Enter the description that is on the examine window at the bottom. |
droplocation | This specifies information on where this drops. Use one of the drop location templates to specify it. The list of templates can be found here: Category:DropLocation Templates. If there is more than one, put each on its own line starting with an asterisk. |
enchantments | This specifies the enchantments when the type is augment. |
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. |
bagstacksize | This is the maximum number of items that can stack in the bag |
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.