Template:EquipmentTableFromList: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Created new template) |
m (Amend example wording) |
||
Line 1: | Line 1: | ||
Function for creating a stat table with a given list of items. Items are sent in as a comma separated list. For example, {{T|EquipmentTableFromList| | Function for creating a stat table with a given list of items. Items are sent in as a comma separated list. 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}} | ||
<onlyinclude><includeonly>{{#invoke:Items/ComparisonTables|getTableForList|{{{1|}}}}}</includeonly></onlyinclude> | <onlyinclude><includeonly>{{#invoke:Items/ComparisonTables|getTableForList|{{{1|}}}}}</includeonly></onlyinclude> |
Revision as of 00:25, 30 May 2024
Function for creating a stat table with a given list of items. Items are sent in as a comma separated list. For example, {{EquipmentTableFromList|(G) Ancient Helmet,(G) Ancient Platebody,(G) Ancient Platelegs}}
gives:
ERROR: Some items not found in database: '(G) Ancient Helmet,(G) Ancient Platebody,(G) Ancient Platelegs'