Module:Infobox: Difference between revisions
call navbar via module rather than template
m>Mr. Stradivarius (change Category:Articles which use embedded infobox templates with the title parameter to Category:Pages which use embedded infobox templates with the title parameter per protected edit request by User:Frietjes) |
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( | :wikitext(navbar{ | ||
args.name, | |||
mini = 1, | |||
} | }) | ||
end | end | ||