Difference between revisions of "Template:ItemMultipleML"

From DDO Compendium
(testing)
 
(28 intermediate revisions by 2 users not shown)
Line 35: Line 35:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#dplvar:set|displaystyle|TitleOnly}}{{#switch: {{lc:{{{type}}}}}
<onlyinclude>{{#switch: {{lc:{{{type}}}}}
| goggles | helmet | cloak = {{#dplvar:set|dpltype|item}}{{#dplvar:set|visible|true}}
| goggles | helmet | cloak = {{#dplvar:set|dpltype|item}}{{#dplvar:set|visible|true}}
| necklace | trinket | belt | ring | gloves | boots | bracers = {{#dplvar:set|dpltype|item}}
| necklace | trinket | belt | ring | gloves | boots | bracers = {{#dplvar:set|dpltype|item}}
Line 45: Line 45:
| handwraps = {{#dplvar:set|dpltype|weapon}}
| handwraps = {{#dplvar:set|dpltype|weapon}}
|#default = {{#dplvar:set|dpltype|weapon}}{{#dplvar:set|visible|true}}
|#default = {{#dplvar:set|dpltype|weapon}}{{#dplvar:set|visible|true}}
}}
}}<div class="row"><div class="col-sm-6"><table class="table table-bordered table-striped table-striped">
<div class="row">
<div class="col-sm-6">
<table class="table table-bordered table-striped table-striped">
<tr>
<tr>
<td>
<td>
<table class="table">
<table class="table table-condensed">
<tr>
<tr>
<td class="col-sm-1">{{IconImage|{{{itemname}}}|{{{icon|}}}}}</td>
<td class="col-sm-1">{{IconImage|{{{itemname}}}|{{{icon|}}}}}</td>
<td class="col-sm-11 center">'''{{{itemname}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]]</td>
<td class="col-sm-11 center"><span class="big">{{{itemname}}}</span>[[:Category:{{{type}}}|<br><span class="small">{{{type}}}</span>]]</td>
</tr>
</tr>
<tr>
<tr>
<td class="col-sm-12">{{ItemBinding|{{{binding}}}}}</td>
<td colspan="2" class="col-sm-12">{{ItemBinding|{{{binding}}}}}</td>
</tr>
</tr>
</table>
</table>
Line 71: Line 68:
{{#switch: {{#dplvar:visible}}
{{#switch: {{#dplvar:visible}}
| true =
| true =
<tr>
<tr style="background: rgb(0,0,0);">
<td class="center">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|300px|]]</td>
<td class="center">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|center|300px|]]</td>
</tr>
</tr>
|
|
|#default={{#if: {{{image|}}}|
|#default={{#if: {{{image|}}}|
<tr>
<tr style="background: rgb(0,0,0);">
<td class="center">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|300px|]]</td>
<td class="center">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|center|300px|]]</td>
</tr>
</tr>
}}
}}
}}
}}
<tr>
<tr>
<td>
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
{{#if: {{{purchaselocation|}}}|
&nbsp;|{{#ifeq: {{FULLPAGENAME}} |Template:ItemMultipleML||[[Category:Items without a Drop Location]]}}}}
<table class="table table-striped table-condensed">
</td></tr>
<caption>'''Where to Purchase:'''</caption>
<tr>
<th scope="col">Vendor</th>
<th scope="col">Location</th>
<th scope="col">Qty</th>
<th scope="col">Price</th>
</tr>
{{{purchaselocation}}}
</table>
}}
{{#if: {{{droplocation|}}}|
<table class="table table-striped table-condensed">
<caption>'''Where to Loot:'''</caption>
<tr>
<th scope="col">Location</th>
<th scope="col">Chest/Reward</th>
</tr>
{{{droplocation}}}
</table>
}}
</td>
</tr>
</table>
</table>
</div>
</div>
</div>
</div>
<hr>
<div class="row">
<div class="row">
<div class="col-sm-12">
<div class="col-sm-12">
Line 116: Line 92:
<th>Minimum Level</th>
<th>Minimum Level</th>
<th>Enchantments</th>
<th>Enchantments</th>
<th>Augments</th>
<th>Item Sets</th>
</tr>
</tr>
{{#ifeq: {{#dplvar:dpltype}}|weapon|{{#DPL:
{{#ifeq: {{#dplvar:dpltype}}|weapon|{{#DPL:
|titlematch={{{itemname}}} (ML %)
|titlematch={{{itemname}}} (ML _){{!}}{{{itemname}}} (ML __)
|uses=Template:Weapon
|uses=Template:Weapon
|mode=userformat
|mode=userformat
|ordermethod=title
|format=,
|format=,
<tr>,</tr>
<tr>,</tr>
Line 128: Line 105:
|include={Weapon¦MultipleItemCombineDPL}
|include={Weapon¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|armor|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|armor|{{#DPL:
|titlematch={{{itemname}}} (ML %)
|titlematch={{{itemname}}} (ML _){{!}}{{{itemname}}} (ML __)
|uses=Template:Armor
|uses=Template:Armor
|mode=userformat
|mode=userformat
|ordermethod=title
|format=,
|format=,
<tr>,</tr>
<tr>,</tr>
Line 138: Line 114:
|include={Armor¦MultipleItemCombineDPL}
|include={Armor¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|shield|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|shield|{{#DPL:
|titlematch={{{itemname}}} (ML %)
|titlematch={{{itemname}}} (ML _){{!}}{{{itemname}}} (ML __)
|uses=Template:Shield
|uses=Template:Shield
|mode=userformat
|mode=userformat
|ordermethod=title
|format=,
|format=,
<tr>,</tr>
<tr>,</tr>
Line 148: Line 123:
|include={Shield¦MultipleItemCombineDPL}
|include={Shield¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|item|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|item|{{#DPL:
|titlematch={{{itemname}}} (ML %)
|titlematch={{{itemname}}} (ML _){{!}}{{{itemname}}} (ML __)
|uses=Template:Item
|uses=Template:Item
|mode=userformat
|mode=userformat
|ordermethod=title
|format=,
|format=,
<tr>,</tr>
<tr>,</tr>
Line 158: Line 132:
|include={Item¦MultipleItemCombineDPL}
|include={Item¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|wand|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|wand|{{#DPL:
|titlematch={{{itemname}}} (ML %)
|titlematch={{{itemname}}} (ML _){{!}}{{{itemname}}} (ML __)
|uses=Template:Wand
|uses=Template:Wand
|mode=userformat
|mode=userformat
|ordermethod=title
|format=,
|format=,
<tr>,</tr>
<tr>,</tr>
Line 168: Line 141:
|include={Wand¦MultipleItemCombineDPL}
|include={Wand¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|runearm|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|runearm|{{#DPL:
|titlematch={{{itemname}}} (ML %)
|titlematch={{{itemname}}} (ML _){{!}}{{{itemname}}} (ML __)
|uses=Template:RuneArm
|uses=Template:RuneArm
|mode=userformat
|mode=userformat
|ordermethod=title
|format=,
|format=,
<tr>,</tr>
<tr>,</tr>
Line 178: Line 150:
|include={RuneArm¦MultipleItemCombineDPL}
|include={RuneArm¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|quiver|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|quiver|{{#DPL:
|titlematch={{{itemname}}} (ML %)
|titlematch={{{itemname}}} (ML _){{!}}{{{itemname}}} (ML __)
|uses=Template:Quiver
|uses=Template:Quiver
|mode=userformat
|mode=userformat
|ordermethod=title
|format=,
|format=,
<tr>,</tr>
<tr>,</tr>
Line 188: Line 159:
|include={Quiver¦MultipleItemCombineDPL}
|include={Quiver¦MultipleItemCombineDPL}
}}}}{{#ifeq: {{#dplvar:dpltype}}|rune arm|{{#DPL:
}}}}{{#ifeq: {{#dplvar:dpltype}}|rune arm|{{#DPL:
|titlematch={{{itemname}}} (ML %)
|titlematch={{{itemname}}} (ML _){{!}}{{{itemname}}} (ML __)
|uses=Template:RuneArm
|uses=Template:RuneArm
|mode=userformat
|mode=userformat
|ordermethod=title
|format=,
|format=,
<tr>,</tr>
<tr>,</tr>
Line 198: Line 168:
|include={RuneArm¦MultipleItemCombineDPL}
|include={RuneArm¦MultipleItemCombineDPL}
}}}}
}}}}
</table>
</table></div></div></onlyinclude>
</div>
</div>
{{#ifeq: {{FULLPAGENAME}} |Template:ItemMultipleML||[[Category:Loot]]}}
</onlyinclude>

Latest revision as of 12:27, 8 October 2021

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

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

 
Minimum Level Enchantments Augments Item Sets