Jump to content

Module:Infobox: Difference between revisions

12 bytes removed ,  9 years ago
call navbar via module rather than template
m>Mr. Stradivarius
m>WOSlinker
(call navbar via module rather than template)
Line 4: Line 4:
   
   
local p = {}
local p = {}
local navbar = require('Module:Navbar')._navbar


local args = {}
local args = {}
Line 199: Line 201:
                 :attr('colspan', '2')
                 :attr('colspan', '2')
                 :css('text-align', 'right')
                 :css('text-align', 'right')
                 :wikitext(mw.getCurrentFrame():expandTemplate({  
                 :wikitext(navbar{
                     title = 'navbar',
                     args.name,
                    args = { args.name, mini = 1 }
                    mini = 1,
                 }))
                 })
end
end


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