Module:Message box: Difference between revisions
From The Kodiak Republic Wiki
Content added Content deleted
m (Pppery moved page Module:Message box/2 to Module:Message box without leaving a redirect) |
(These can just go, the first for being very Wikipedia-specific, and the second for being almost impossible to import properly) |
||
Line 163:
self.typeClass = typeData.class
self.typeImage = typeData.image
-- Find whether we are using a small message box.
Line 301 ⟶ 298:
end
self.info = args.info
end
Line 433 ⟶ 427:
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
end
end
Line 468 ⟶ 459:
function MessageBox:export()
local root = mw.html.create()
-- Create the box table.
Line 537 ⟶ 518:
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
else
|