Anonymous

Template:Equipment/Recommended/doc: Difference between revisions

From Melvor Idle
m
Add omitted details
(Update docs for imgSize/showDR parameters)
m (Add omitted details)
Line 7: Line 7:
* <code>style</code> - Optional. Specifies the relevant combat style: Melee, Ranged, or Magic.
* <code>style</code> - Optional. Specifies the relevant combat style: Melee, Ranged, or Magic.
* <code>imgSize</code> - Optional. Specifies the slot image's dimensions in pixels. Defaults to 36 if not specified.
* <code>imgSize</code> - Optional. Specifies the slot image's dimensions in pixels. Defaults to 36 if not specified.
* <code>showDR</code> - Optional. Adds another column listing the equipments' damage reduction statistic. Only supported if at most one item of equipment is specified for each equipment slot
* <code>showDR</code> - Optional. If <code>true</code>, adds another column listing the equipments' damage reduction statistic. Only supported if at most one item of equipment is specified for each equipment slot


For all other parameters, the value passed will be the name of an item of equipment by default. If required, plain text may also be passed by prefixing the value with <code>!</code>. For example, specifying <code>passive1 = !Any Master Slayer armour piece</code> will result in the text following the prefix to be displayed in the table as is.
For all other parameters, the value passed will be the name of an item of equipment by default. If required, plain text may also be passed by prefixing the value with <code>!</code>. For example, specifying <code>passive1 = !Any Master Slayer armour piece</code> will result in the text following the prefix to be displayed in the table as is.
Line 15: Line 15:
<pre>{{Equipment/Recommended
<pre>{{Equipment/Recommended
|style =
|style =
|imgSize =
|showDR = true|false
|helm# =
|helm# =
|neck# =
|neck# =