Template:EquipmentTableFromList/doc: Difference between revisions

From Melvor Idle
(Update docs)
m (Added a note mentioning a script that can automatically generate these tables)
Line 1: Line 1:
Function for creating a stat table with a given list of items. Items are sent in as one item name per parameter. An optional parameter <code>includeModifiers</code> can also be used - if <code>true</code>, then a modifiers column is also included.
Function for creating a stat table with a given list of items. Items are sent in as one item name per parameter. An optional parameter <code>includeModifiers</code> can also be used - if <code>true</code>, then a modifiers column is also included. A script for automatically generating this template with a given search term, ran through the in-game console, can be found at [[Template:Disambiguation/doc]].


For example, {{T|EquipmentTableFromList|(G) Ancient Helmet|(G) Ancient Platebody|(G) Ancient Platelegs}} gives:
For example, {{T|EquipmentTableFromList|(G) Ancient Helmet|(G) Ancient Platebody|(G) Ancient Platelegs}} gives:
{{EquipmentTableFromList|(G) Ancient Helmet|(G) Ancient Platebody|(G) Ancient Platelegs}}
{{EquipmentTableFromList|(G) Ancient Helmet|(G) Ancient Platebody|(G) Ancient Platelegs}}

Revision as of 12:25, 31 May 2024

Function for creating a stat table with a given list of items. Items are sent in as one item name per parameter. An optional parameter includeModifiers can also be used - if true, then a modifiers column is also included. A script for automatically generating this template with a given search term, ran through the in-game console, can be found at Template:Disambiguation/doc.

For example, {{EquipmentTableFromList|(G) Ancient Helmet|(G) Ancient Platebody|(G) Ancient Platelegs}} gives: