Module:Sandbox/One Bar: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 67: | Line 67: | ||
local filtered_heroes = filtered_heroes() | local filtered_heroes = filtered_heroes() | ||
for _, hero in ipairs(filtered_heroes) do | for _, hero in ipairs(filtered_heroes) do | ||
local base = hero[property] | local base = hero[property] | ||
| Line 74: | Line 73: | ||
local tableData = mw.html.create("tr") | local tableData = mw.html.create("tr") | ||
tableData | tableData | ||
:tag("td"):wikitext(hero_icon(hero["Name"])):done() | :tag("td"):wikitext(hero_icon(frame, hero["Name"])):done() | ||
:tag("td"):wikitext(base):done() | :tag("td"):wikitext(base):done() | ||
:tag("td"):wikitext("+" .. level):done() | :tag("td"):wikitext("+" .. level):done() | ||