Difference between revisions of "Template:ItemMultipleML"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 5: | Line 5: | ||
|binding = | |binding = | ||
|droplocation = | |droplocation = | ||
|icon= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 27: | Line 28: | ||
|parameter4name = droplocation | |parameter4name = droplocation | ||
|parameter4description = This is the drop location for the item, use [[Template:DropLocation]] | |parameter4description = This is the drop location for the item, use [[Template:DropLocation]] | ||
|parameter5name = icon | |||
|parameter5description = The icon to use if it isn't based on the item name | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<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: | <onlyinclude>{{#dplvar:set|displaystyle|TitleOnly}} | ||
<table class="item-table background-color"> | |||
<tr> | |||
<td class="item-info-side"> | |||
<table class="background-color"> | |||
<tr> | |||
<td> | |||
<table class="background-color"> | |||
<tr> | |||
<td class="icon"> | |||
<!-- Icon Image --> | |||
{{IconImage|{{{itemname}}}|{{{icon|}}}}} | |||
</td> | |||
<td class="title"> | |||
'''{{{itemname}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]] | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<td> | |||
{{ItemBinding|{{{binding}}}}}<br> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
<td class="item-image-side" style="vertical-align:top"> | |||
<table class="item-image-table background-color"> | |||
{{#if: {{{droplocation|}}} | '''Drop Location:''' | |||
<tr> | |||
<td class="extra-details"> | |||
{{{droplocation}}} | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
<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*{{{itemname}}}/s | |includematch=/\{{!}}\s*name\s*=\s*{{{itemname}}}/s | ||
|uses=Template:Weapon | |uses=Template:Weapon |
Revision as of 19:48, 24 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.
|
{{#if: | Drop Location:
|
{{{droplocation}}}
{{{itemname}}} - [[{{{type}}}]] - Unbound
Template:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultTemplate:MultipleItemCombineDPL.defaultMinimum Level | Enchantments |
---|---|