Difference between revisions of "Template:ItemMultipleVersion"

From DDO Compendium
Line 10: Line 10:
</pre>
</pre>
{{TemplateDocumentation
{{TemplateDocumentation
|name = ItemMultipleML
|name =ItemMultipleVersion
|description = This template is used to generate a table of items that have the same name, but are different based on the character retrieving them
|description = This template is used to generate a table of items that have the same name, but are different based on the character retrieving them
|category = Item Templates
|category = Item Templates
Line 41: Line 41:
| small shield | medium shield | large shield | orb | tower shield | buckler= {{#dplvar:set|dpltype|shield}}{{#dplvar:set|visible|true}}
| small shield | medium shield | large shield | orb | tower shield | buckler= {{#dplvar:set|dpltype|shield}}{{#dplvar:set|visible|true}}
| rune arm = {{#dplvar:set|dpltype|rune arm}}{{#dplvar:set|visible|true}}
| rune arm = {{#dplvar:set|dpltype|rune arm}}{{#dplvar:set|visible|true}}
| wand = {{#dplvar:set|dpltype|wand}}{{#dplvar:set|visible|true}}
| potion | wand = {{#dplvar:set|dpltype|spellcaster}}{{#dplvar:set|visible|true}}
| quiver = {{#dplvar:set|dpltype|quiver}}
| quiver = {{#dplvar:set|dpltype|quiver}}
| handwraps = {{#dplvar:set|dpltype|weapon}}
| handwraps = {{#dplvar:set|dpltype|weapon}}
Line 119: Line 119:
|noresultsheader=&nbsp;
|noresultsheader=&nbsp;
|include={Item¦MultipleVerItemCombineDPL}
|include={Item¦MultipleVerItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|wand|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|spellcaster|{{#DPL:
|titlematch={{{itemname}}} (% Version)
|titlematch={{{itemname}}} (% Version)
|uses=Template:Wand
|uses=Template:Spellcaster
|mode=userformat
|mode=userformat
|ordermethod=title
|ordermethod=title
|format=,<tr>,</tr>,
|format=,<tr>,</tr>,
|noresultsheader=&nbsp;
|noresultsheader=&nbsp;
|include={Wand¦MultipleVerItemCombineDPL}
|include={SPellcaster¦MultipleVerItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|runearm|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|runearm|{{#DPL:
|titlematch={{{itemname}}} (% Version)
|titlematch={{{itemname}}} (% Version)

Revision as of 19:56, 13 October 2020

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

ItemMultipleVersion[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|center|300px|]]
 
DetailsEnchantments