Changes
call navbar via module rather than template
local p = {}
local navbar = require('Module:Navbar')._navbar
local args = {}
:attr('colspan', '2')
:css('text-align', 'right')
:wikitext(mw.getCurrentFrame():expandTemplate(navbar{ title = 'navbar', args = { args.name, mini = 1 }, }))
end
Anonymous user