Module:Sprite: Difference between revisions

typo
(Change of plans)
(typo)
Line 87: Line 87:
function Sprite:GenerateHTML (html)
function Sprite:GenerateHTML (html)
if html then
if html then
local sprite = html.tag("div")
local sprite = html:tag("div")
else
else
local sprite = mw.html.create("div")
local sprite = mw.html.create("div")
end
end
 
sprite:addClass("sprite")
sprite:addClass("sprite")


Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154

edits