Content deleted Content added
create a new module |
m fix |
||
Line 8:
:attr('colspan', '2')
:wikitext(text)
end
local function edit(frame, pagename)
return frame:expandTemplate{ title='edit', args = { pagename } }
end
Line 40 ⟶ 44:
end
if right == nil then
right = edit(frame
end
toolbox_row(frame, tbl, a, text, right)
Line 54 ⟶ 58:
toolbox_header_row(frame, tbl, 'Main portal page')
local rootTitle = mw.title.getCurrentTitle().rootPageTitle.subjectPageTitle
toolbox_section(frame, args, tbl, rootTitle, 'Static subpages', 'static')
|