Difference between revisions of "Template:Container"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 19: | Line 19: | ||
|weight= | |weight= | ||
|basevalue= | |basevalue= | ||
|link= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 73: | Line 74: | ||
|parameter18name = image | |parameter18name = image | ||
|parameter18description = This is an image to display on the right side. | |parameter18description = This is an image to display on the right side. | ||
|parameter21name = link | |||
|parameter21description = The link to this page, if it isn't the same as the name. | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#dplvar:set|itembasevalue|{{{basevalue}}}}}<table class="item-table background-color"> | <includeonly>{{#ifeq:{{#dplvar:rendertype}}|ingredient|{{RenderIngredient|{{{name}}}|{{{icon|}}}|{{{link|}}}}}|{{#dplvar:set|itembasevalue|{{{basevalue}}}}}<table class="item-table background-color"> | ||
<tr> | <tr> | ||
<td class="item-info-side"> | <td class="item-info-side"> | ||
Line 115: | Line 118: | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table>{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}{{#if: {{{minlevel|}}}|[[Category:Minimum Level {{{minlevel}}} Items]]|[[Category:Items with No Minimum Level]]}}[[Category:Container]]</includeonly> | </table>{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}{{#if: {{{minlevel|}}}|[[Category:Minimum Level {{{minlevel}}} Items]]|[[Category:Items with No Minimum Level]]}}[[Category:Container]]}}</includeonly> |
Revision as of 13:47, 16 October 2021
{{Template:Container |type = |name = |exclusive = |maxstacksize = |uniqueitemcapacity = |binding = |description = |droplocation = |update = |details = |upgradeable = |restriction = |icon= |bug= |replaced= |weight= |basevalue= |link= }}
Container[edit]
This template is used to render information about an item that is a container.
Usage[edit]
Parameter Documentation | |
type | The type of container. Use one of Possible Values:
|
name | The name of the item. |
exclusive | Leave empty if the item is not exclusive. |
maxstacksize | The maximum size each stack can be inside the container. |
uniqueitemcapacity | How many unique items the container can hold |
binding | How the container binds Possible Values:
|
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. |
update | Which update was this item added to the game in. |
details | Enter any details that a player may need to know about this (i.e. if not working correctly, etc). |
upgradeable | If this item is upgradeable, use Template:ItemUpgrade. If there is more than one (i.e. it is in the middle of a crafting chain), include multiple templates in a bulleted list. |
restriction | This is used when there is some kind of restriction. If it is a trait (Lawful, Good, etc), use Template:ItemRequiredTrait. If there is a race restriction, use Template:ItemRestrictedRace. |
icon | The icon to use for this item, overrides the image using the item name |
bug | Contains any information about a bug related to the item. Use Template:Bug |
replaced | Contains information about any replacement that SSG did of this weapon. Use Template:ItemReplacement |
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. |
image | This is an image to display on the right side. |
link | The link to this page, if it isn't the same as the name. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.