Difference between revisions of "Template:Container"

From DDO Compendium
 
(8 intermediate revisions by the same user not shown)
Line 13: Line 13:
|details =
|details =
|upgradeable =
|upgradeable =
|upgradedfrom =
|restriction =  
|restriction =  
|icon=
|icon=
Line 19: Line 20:
|weight=
|weight=
|basevalue=
|basevalue=
|link=
}}
}}
</pre>
</pre>
{{TemplateDocumentation
{{TemplateDocumentation
|name = Continaer
|name = Container
|description = This template is used to render information about an item that is a container.
|description = This template is used to render information about an item that is a container.
|category=Item Templates
|category=Item Templates
Line 71: Line 73:
|parameter17name = basevalue
|parameter17name = basevalue
|parameter17description = This is the base value as shown in the examine window.  Use [[Template:Price]].
|parameter17description = This is the base value as shown in the examine window.  Use [[Template:Price]].
|parameter18name = image
|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.
|parameter22name = upgradedfrom
|parameter22description = A list of items this was upgraded from.
}}
}}
</noinclude>
</noinclude>
<includeonly><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">
<table class="background-color">
<table class="background-color fullwidth">
<tr>
<tr>
<td>
<td>
<table class="background-color fullwidth">
<table class="background-color fullwidth">
<tr>
<tr><td class="icon">{{IconImage|{{{name}}}|{{{icon|}}}}}</td><td class="title">{{{name}}}<br>[[:Category:Container|{{{type}}}]]</td>
<td class="icon">
<!-- Icon Image -->
{{IconImage|{{{name}}}|{{{icon|}}}}}
</td>
<td class="title">
'''{{{name}}}'''<br>[[:Category:Container|{{{type}}}]]
</td>
</tr>
</tr>
</table>
</table>
Line 106: Line 107:
<td class="item-image-side">
<td class="item-image-side">
<table class="item-image-table background-color" >
<table class="item-image-table background-color" >
<tr>
{{#if: {{{image|}}}|
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
<tr style="background: rgb(0,0,0)">
<br>|[[Category:Items without a Drop Location]]}}{{#if: {{{details|}}} | '''Extra Details:'''&nbsp;
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td>
{{{details}}}<br>}}{{#if: {{{upgradeable|}}} | '''Upgradeable:'''&nbsp;
</tr>}}{{#if: {{{droplocation|}}} | <tr><td class="extra-details">'''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}</td></tr>|[[Category:Items without a Drop Location]]}}{{#if: {{{upgradeable|}}} | <tr><td class="extra-details">'''Upgradeable:'''&nbsp;{{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{upgradedfrom|}}} | <tr><td class="extra-details">'''Upgraded From:'''&nbsp;{{WrapMultiLine|{{{upgradedfrom}}}}}</td></tr>}}{{#if: {{{details|}}} |<tr><td class="extra-details"> '''Extra Details:'''&nbsp;{{WrapMultiLine|{{{details}}}}}</td></tr>}}{{#if: {{{bug|}}} | <tr><td class="extra-details">'''Bugs:'''&nbsp;{{WrapMultiLine|{{{bug}}}}}</td></tr>}}{{#if: {{{replaced|}}} | <tr><td class="extra-details highlighted">{{{replaced}}}</td></tr>}}
{{{upgradeable}}}<br>}}{{#if: {{{bug|}}} | '''Bugs:'''&nbsp;
{{{bug}}}<br>}}</td></tr>
{{#if: {{{replaced|}}} | <tr><td class="extra-details topborder">{{{replaced}}}</td></tr>}}
</table>
</table>
</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]]}}</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>

Latest revision as of 00:49, 12 November 2023

{{Template:Container
|type = 
|name = 
|exclusive = 
|maxstacksize = 
|uniqueitemcapacity = 
|binding = 
|description =
|droplocation = 
|update =
|details =
|upgradeable =
|upgradedfrom =
|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
typeThe type of container. Use one of
Possible Values:
  • Bag
  • Jar
  • Case
nameThe name of the item.
exclusiveLeave empty if the item is not exclusive.
maxstacksizeThe maximum size each stack can be inside the container.
uniqueitemcapacityHow many unique items the container can hold
bindingHow the container binds
Possible Values:
  • 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
descriptionEnter the description that is on the examine window at the bottom.
droplocationThis 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.
updateWhich update was this item added to the game in.
detailsEnter any details that a player may need to know about this (i.e. if not working correctly, etc).
upgradeableIf 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.
restrictionThis 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.
iconThe icon to use for this item, overrides the image using the item name
bugContains any information about a bug related to the item. Use Template:Bug
replacedContains information about any replacement that SSG did of this weapon. Use Template:ItemReplacement
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.
imageThis is an image to display on the right side.
linkThe link to this page, if it isn't the same as the name.
upgradedfromA list of items this was upgraded from.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.