Difference between revisions of "Template:ItemMultipleML"

From DDO Compendium
Line 4: Line 4:
|category = Item Templates
|category = Item Templates
|usesnamedparameters=true
|usesnamedparameters=true
|parameter1name = Item Name
|parameter1name = itemname
|parameter1description = This is the name of the item that has multiple versions
|parameter1description = This is the name of the item that has multiple versions
|parameter2name = Drop Location
|parameter2name = droplocation
|parameter2description = This is the drop location for the item, use [[Template:DropLocation]]
|parameter2description = This is the drop location for the item, use [[Template:DropLocation]]
|parameter3name = Type
|parameter3name = type
|parameter3description = This is the type of the item
|parameter3description = This is the type of the item
|parameter4name = binding
|parameter4name = binding
Line 21: Line 21:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#dplvar:set|displaystyle|TitleOnly}}<p>{{{2}}}</p><p><strong>{{{1}}}</strong> - [[{{{3}}}]] - {{ItemBinding|{{{4}}}}}</p><table class="compendiumtable compendiumtablenonsortable"><tr class="header"><th style="white-space: nowrap;">Minimum Level</th><th>Enchantments</th></tr>{{#DPL:
<onlyinclude>{{#dplvar:set|displaystyle|TitleOnly}}<p>{{{droplocation}}}</p><p><strong>{{{itemname}}}</strong> - [[{{{type}}}]] - {{ItemBinding|{{{binding}}}}}</p><table class="compendiumtable compendiumtablenonsortable"><tr class="header"><th style="white-space: nowrap;">Minimum Level</th><th>Enchantments</th></tr>{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{1}}}/s
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|uses=Template:Weapon
|uses=Template:Weapon
|mode=userformat
|mode=userformat
Line 29: Line 29:
|include={Weapon¦MultipleItemCombineDPL}
|include={Weapon¦MultipleItemCombineDPL}
}}{{#DPL:
}}{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{1}}}/s
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|uses=Template:Armor
|uses=Template:Armor
|mode=userformat
|mode=userformat
Line 36: Line 36:
|include={Armor¦MultipleItemCombineDPL}
|include={Armor¦MultipleItemCombineDPL}
}}{{#DPL:
}}{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{1}}}/s
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|uses=Template:Shield
|uses=Template:Shield
|mode=userformat
|mode=userformat
Line 43: Line 43:
|include={Shield¦MultipleItemCombineDPL}
|include={Shield¦MultipleItemCombineDPL}
}}{{#DPL:
}}{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{1}}}/s
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|uses=Template:Item
|uses=Template:Item
|mode=userformat
|mode=userformat
Line 50: Line 50:
|include={Item¦MultipleItemCombineDPL}
|include={Item¦MultipleItemCombineDPL}
}}{{#DPL:
}}{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{1}}}/s
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|uses=Template:Wand
|uses=Template:Wand
|mode=userformat
|mode=userformat
Line 57: Line 57:
|include={Wand¦MultipleItemCombineDPL}
|include={Wand¦MultipleItemCombineDPL}
}}{{#DPL:
}}{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{1}}}/s
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|uses=Template:RuneArm
|uses=Template:RuneArm
|mode=userformat
|mode=userformat
Line 64: Line 64:
|include={RuneArm¦MultipleItemCombineDPL}
|include={RuneArm¦MultipleItemCombineDPL}
}}{{#DPL:
}}{{#DPL:
|includematch=/\{{!}}\s*name\s*=\s*{{{1}}}/s
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s
|uses=Template:Quiver
|uses=Template:Quiver
|mode=userformat
|mode=userformat

Revision as of 02:27, 19 September 2018

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
droplocationThis is the drop location for the item, use Template:DropLocation
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

Template

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


{{{droplocation}}}

{{{itemname}}} - [[{{{type}}}]] - Unbound

 Template:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.default    
Minimum LevelEnchantments