Difference between revisions of "Template:ItemMultipleML"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 6: | Line 6: | ||
|droplocation = | |droplocation = | ||
|icon= | |icon= | ||
|image= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 30: | Line 31: | ||
|parameter5name = icon | |parameter5name = icon | ||
|parameter5description = The icon to use if it isn't based on the item name | |parameter5description = The icon to use if it isn't based on the item name | ||
|parameter6name = image | |||
|parameter6description = Image file, use if the image doesn't change between heroic and epic types. Do not include extension. | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 72: | Line 75: | ||
<table class="item-image-table background-color fullwidth"> | <table class="item-image-table background-color fullwidth"> | ||
{{#switch: {{#dplvar:visible}} | {{#switch: {{#dplvar:visible}} | ||
| true = <tr><td class="item-image">[[File:{{{itemname}}}.png|300px|]]</td></tr>|}} | | true = <tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|300px|]]</td></tr>|}} | ||
|#default={{#if: {{{image|}}}|<tr><td class="item-image">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{itemname}}}}}.png|300px|]]</td></tr>}} | |||
<tr> | <tr> | ||
<td class="extra-details"> | <td class="extra-details"> |
Revision as of 17:05, 4 February 2019
{{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.
|
|#default=
|
Minimum Level | Enchantments |
---|