Difference between revisions of "Template:ItemMultipleML"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(24 intermediate revisions by the same user not shown) | |||
Line 35: | Line 35: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude> | <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"> | <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 71: | Line 68: | ||
{{#switch: {{#dplvar:visible}} | {{#switch: {{#dplvar:visible}} | ||
| 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| | <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| | <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:''' {{WrapMultiLine|{{{droplocation}}}}} | ||
{{#if: {{{ | |{{#ifeq: {{FULLPAGENAME}} |Template:ItemMultipleML||[[Category:Items without a Drop Location]]}}}} | ||
</td></tr> | |||
{{{ | |||
}} | |||
{{# | |||
}} | |||
</td> | |||
</tr> | |||
</table> | </table> | ||
</div> | </div> | ||
Line 117: | 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 | ||
|format=, | |format=, | ||
<tr>,</tr> | <tr>,</tr> | ||
Line 129: | 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 | ||
|format=, | |format=, | ||
<tr>,</tr> | <tr>,</tr> | ||
Line 139: | 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 | ||
|format=, | |format=, | ||
<tr>,</tr> | <tr>,</tr> | ||
Line 149: | 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 | ||
|format=, | |format=, | ||
<tr>,</tr> | <tr>,</tr> | ||
Line 159: | 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 | ||
|format=, | |format=, | ||
<tr>,</tr> | <tr>,</tr> | ||
Line 169: | 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 | ||
|format=, | |format=, | ||
<tr>,</tr> | <tr>,</tr> | ||
Line 179: | 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 | ||
|format=, | |format=, | ||
<tr>,</tr> | <tr>,</tr> | ||
Line 189: | 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 | ||
|format=, | |format=, | ||
<tr>,</tr> | <tr>,</tr> | ||
Line 199: | Line 168: | ||
|include={RuneArm¦MultipleItemCombineDPL} | |include={RuneArm¦MultipleItemCombineDPL} | ||
}}}} | }}}} | ||
</table> | </table></div></div></onlyinclude> | ||
</div> | |||
</div> | |||
</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 | |
itemname | This is the name of the item that has multiple versions |
type | This is the type of the item |
binding | This is the binding Possible Values:
|
droplocation | This is the drop location for the item, use Template:DropLocation, Template:ItemIconicReceived, Template:StorePurchase, Template:CollectablePurchase, Template:RaidRunePurchase |
icon | The icon to use if it isn't based on the item name |
image | Image 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}}}.png|center|300px|]] |
Minimum Level | Enchantments | Augments | Item Sets |
---|