Difference between revisions of "Template:ItemMultipleVersion"

From DDO Compendium
Line 74: Line 74:
<table class="item-image-table background-color fullwidth">
<table class="item-image-table background-color fullwidth">
{{#switch: {{#dplvar:visible}}  
{{#switch: {{#dplvar:visible}}  
| true = <tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|upright|center]]</td></tr>|
| true = <tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|300px|center]]</td></tr>|
|#default={{#if: {{{image|}}}|<tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|upright|center]]</td></tr>}}
|#default={{#if: {{{image|}}}|<tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|300px|center]]</td></tr>}}
}}
}}
<tr>
<tr>

Revision as of 16:40, 2 April 2020

{{Template:ItemMultipleVersion
|itemname =
|type =
|binding = 
|droplocation = 
|icon=
|image=
}}

ItemMultipleML[edit]

This template is used to generate a table of items that have the same name, but are different based on the character retrieving them

Usage[edit]

Parameter Documentation
itemnameThis is the name of the item that has multiple versions
typeThis is the type of the item
bindingThis is the binding
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
droplocationThis is the drop location for the item, use Template:DropLocation, Template:ItemIconicReceived, Template:StorePurchase, Template:CollectablePurchase, Template:RaidRunePurchase
iconThe icon to use if it isn't based on the item name
imageImage file, use if the image doesn't change between heroic and epic types. Do not include extension.

Template

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


[[File:{{{itemname}}}_Icon.png|link=|36px|x36px|]]

{{{itemname}}}
[[:Category:{{{type}}}|{{{type}}}]]

Unbound

[[File:{{{itemname}}}.png|300px|center]]
 
DetailsEnchantments