Module:Infobox: Difference between revisions
Slowly starting a bit of cleanup
(Copying RSC version for now) |
(Slowly starting a bit of cleanup) |
||
Line 81:
removal = { name = releaseUpdate, params = { 'removal', 'removalupdate' }, flag = 'p' },
has_content = hasContent,
image = image,
numbers = numbers,
Line 91 ⟶ 90:
-- (including inside switchfo box data)
-- report it
local nil_param = '
-- In case the nil_param is needed outside of this module
Line 150 ⟶ 149:
paramnames = {}, -- parameter names
dupeable = {}, -- parameters that are allowed to have duplicated switch data
add_infobox_class = true, -- if true, will add the class 'infobox'
switchfo = false, -- switch infobox? or not?
switchfoattr = {}, -- switch data class changes
Line 185 ⟶ 184:
--[[
use before :create()
--]]
function Infobox:
self.add_infobox_class = false
end
Line 283 ⟶ 279:
self.rtable = mw.html.create('table')
:addClass('plainlinks')
if self.
self.rtable:addClass('infobox')
end
|