Module:Item table and Module:Item table/sandbox: Difference between pages
(Difference between pages)
Elderofwoe (talk | contribs) (Undo revision 58709 by Elderofwoe (talk)) Tag: Undo |
Mefisto1029 (talk | contribs) mNo edit summary |
||
Line 804: | Line 804: | ||
args = {'stat'}, | args = {'stat'}, | ||
header = i18n.item_table.stats, | header = i18n.item_table.stats, | ||
fields = {'items.stat_text'}, | fields = {'inherent_skills.inherent_skills_text', 'items.stat_text'}, | ||
display = | display = function (tr, data) | ||
tr | |||
:tag('td') | |||
:attr('class', 'tc -mod') | |||
:wikitext(data['inherent_skills.inherent_skills_text'] .. '<br>') | |||
:wikitext(data['items.stat_text']) | |||
end, | |||
sort_type = 'text', | sort_type = 'text', | ||
}, | }, |