Content deleted Content added
m Removed table wrapper |
m Fixed test based on definition updates |
||
Line 4:
local foo = 'Result of tested Lua snippet would be here.'
local bar = mw.loadData('Module:
local foo = mw.html.create("td")
local dtc = "ga" --default test class
Line 13:
styleBasics .. string.format("background-color: %s;", class.colour)
)
local img = class.
"[[File:%s|16px|%s|link=|alt=]] ",
class.icon.file, class. ) or ""
local link = string.format(
"[[:%s|%s]]",
class.category,
class.
)
foo:wikitext(img, link)
|