Difference between revisions of "Template:ItemMultipleML"

From DDO Compendium
Line 83: Line 83:
</table>
</table>
<table class="compendiumtable compendiumtablenonsortable fullwidth"><tr class="header"><th style="white-space: nowrap;">Minimum Level</th><th>Enchantments</th></tr>{{#ifeq: {{#dplvar:dpltype}}|weapon|{{#DPL:
<table class="compendiumtable compendiumtablenonsortable fullwidth"><tr class="header"><th style="white-space: nowrap;">Minimum Level</th><th>Enchantments</th></tr>{{#ifeq: {{#dplvar:dpltype}}|weapon|{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|titlematch={{{itemname}}} (ML %)
|uses=Template:Weapon
|uses=Template:Weapon
|mode=userformat
|mode=userformat
Line 91: Line 91:
|include={Weapon¦MultipleItemCombineDPL}
|include={Weapon¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|armor|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|armor|{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|titlematch={{{itemname}}} (ML %)
|uses=Template:Armor
|uses=Template:Armor
|mode=userformat
|mode=userformat
Line 99: Line 99:
|include={Armor¦MultipleItemCombineDPL}
|include={Armor¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|shield|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|shield|{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|titlematch={{{itemname}}} (ML %)
|uses=Template:Shield
|uses=Template:Shield
|mode=userformat
|mode=userformat
Line 115: Line 115:
|include={Item¦MultipleItemCombineDPL}
|include={Item¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|wand|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|wand|{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|titlematch={{{itemname}}} (ML %)
|uses=Template:Wand
|uses=Template:Wand
|mode=userformat
|mode=userformat
Line 123: Line 123:
|include={Wand¦MultipleItemCombineDPL}
|include={Wand¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|runearm|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|runearm|{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|titlematch={{{itemname}}} (ML %)
|uses=Template:RuneArm
|uses=Template:RuneArm
|mode=userformat
|mode=userformat
Line 131: Line 131:
|include={RuneArm¦MultipleItemCombineDPL}
|include={RuneArm¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|quiver|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|quiver|{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|titlematch={{{itemname}}} (ML %)
|uses=Template:Quiver
|uses=Template:Quiver
|mode=userformat
|mode=userformat
Line 139: Line 139:
|include={Quiver¦MultipleItemCombineDPL}
|include={Quiver¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|rune arm|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|rune arm|{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|titlematch={{{itemname}}} (ML %)
|uses=Template:RuneArm
|uses=Template:RuneArm
|mode=userformat
|mode=userformat

Revision as of 02:11, 3 January 2019

{{Template:ItemMultipleML
|itemname =
|type =
|binding = 
|droplocation = 
|icon=
}}

ItemMultipleML[edit]

This template is used to generate a table of items that have the same name, and then would be different ML.

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

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|]]
 
Minimum LevelEnchantments