Jump to content

Module:Sandbox/ChaoticShadow/InfoboxBuilder: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 23:
paramnames = {},
args = {},
final_args = {},
proto_infobox = {},
infobox = mw.html.create('table'):addClass('infobox'),
finished = false
Line 181 ⟶ 183:
end
local arg = self.args[param] or self.params[param].default or ''
if arg == nil then
error("Error")
end
if argparams['type'] == 'function' then
Line 245 ⟶ 251:
local _cell = self.infobox:tag('tr'):tag('td')
local content = '?'
-- local actual_args = {}
-- for i,v in ipairs(argt) do
-- local c = v.content
-- if v.tag == 'argtd' then
-- c = self:getContent(c)
-- end
-- if c == nil then
-- end
-- table.insert(actual_args, i, c)
-- end
if #argt < 2 then
439

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.