Difference between revisions of "Template:ItemMultipleML"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 32: | Line 32: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#dplvar:set|displaystyle|TitleOnly}} | <onlyinclude>{{#dplvar:set|displaystyle|TitleOnly}}{{#switch: {{lc:{{{type}}}}} | ||
| goggles | helmet = {{#dplvar:set|dpltype|item}}{{#dplvar:set|visible|true}} | |||
| necklace | trinket | cloak | belt | ring | gloves | boots | bracers = {{#dplvar:set|dpltype|item}} | |||
| light armor | medium armor | heavy armor | docent | robe = {{#dplvar:set|dpltype|armor}}{{#dplvar:set|visible|true}} | |||
| small shield | medium shield | large shield | orb | tower shield | buckler= {{#dplvar:set|dpltype|shield}}{{#dplvar:set|visible|true}} | |||
| runearm = {{#dplvar:set|dpltype|runearm}}{{#dplvar:set|visible|true}} | |||
| wand = {{#dplvar:set|dpltype|wand}}{{#dplvar:set|visible|true}} | |||
| quiver = {{#dplvar:set|dpltype|quiver}} | |||
|#default = {{#dplvar:set|dpltype|weapon}}{{#dplvar:set|visible|true}} | |||
}} | |||
<table class="item-table background-color"> | <table class="item-table background-color"> | ||
<tr> | <tr> | ||
Line 61: | Line 70: | ||
<td class="item-image-side" style="vertical-align:top"> | <td class="item-image-side" style="vertical-align:top"> | ||
<table class="item-image-table background-color"> | <table class="item-image-table background-color"> | ||
{{#switch: {{ | {{#switch: {{#dplvar:visible}} | ||
| | | true = <tr><td class="item-image">[[File:{{{name}}}.png|300px|]]</td></tr>|}} | ||
<tr> | <tr> | ||
<td class="extra-details"> | <td class="extra-details"> | ||
Line 73: | Line 82: | ||
</tr> | </tr> | ||
</table> | </table> | ||
<table class="compendiumtable compendiumtablenonsortable"><tr class="header"><th style="white-space: nowrap;">Minimum Level</th><th>Enchantments</th></tr>{{# | <table class="compendiumtable compendiumtablenonsortable"><tr class="header"><th style="white-space: nowrap;">Minimum Level</th><th>Enchantments</th></tr>{{#ifeq: {{#dplvar:dpltype}}|weapon| | ||
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s | |includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s | ||
|uses=Template:Weapon | |uses=Template:Weapon | ||
Line 80: | Line 89: | ||
|noresultsheader= | |noresultsheader= | ||
|include={Weapon¦MultipleItemCombineDPL} | |include={Weapon¦MultipleItemCombineDPL} | ||
}}{{#DPL: | }}}}{{#DPL: | ||
|includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s | |includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s | ||
|uses=Template:Armor | |uses=Template:Armor |
Revision as of 21:19, 26 September 2018
{{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 | |
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 |
icon | The 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.
|
|
Minimum Level | Enchantments |
---|---|