Difference between revisions of "Template:ItemMultipleML"

From DDO Compendium
 
(22 intermediate revisions by the same user 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>
Line 72: Line 69:
| true =
| true =
<tr style="background: rgb(0,0,0);">
<tr style="background: rgb(0,0,0);">
<td class="center">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|upright|center]]</td>
<td class="center">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|center|300px|]]</td>
</tr>
</tr>
|
|
|#default={{#if: {{{image|}}}|
|#default={{#if: {{{image|}}}|
<tr style="background: rgb(0,0,0);">
<tr style="background: rgb(0,0,0);">
<td class="center">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|upright|center]]</td>
<td class="center">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|center|300px|]]</td>
</tr>
</tr>
}}
}}
Line 83: Line 80:
<tr>
<tr>
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
&nbsp;|[[Category:Items without a Drop Location]]}}
&nbsp;|{{#ifeq: {{FULLPAGENAME}} |Template:ItemMultipleML||[[Category:Items without a Drop Location]]}}}}
</td></tr>
</td></tr>
</table>
</table>
Line 95: 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 107: 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 117: 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 127: 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 137: 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 147: 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 157: 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 167: 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 177: 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