Anonymous

Template:Equipment/Recommended/doc: Difference between revisions

From Melvor Idle
m
no edit summary
m (Added missing params new header# param)
mNo edit summary
Line 10: Line 10:
* <code>showall</code> - Optional. If <code>true</code>, shows all item slots in the table even if the slot is empty
* <code>showall</code> - Optional. If <code>true</code>, shows all item slots in the table even if the slot is empty
* <code>setname</code> - Optional. Specifies the custom text above the table's header; 'Recommended equipment for <setname>'
* <code>setname</code> - Optional. Specifies the custom text above the table's header; 'Recommended equipment for <setname>'
* <code>header#</code> - Optional. Specifies the custom header text for headers 1 through 5


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.