Modul:Navbox: Unterschied zwischen den Versionen
use _navbar (copied from sandbox)
(apparently none of the test cases test tracking categories. fix a bunch of script errors) |
(use _navbar (copied from sandbox)) |
||
Zeile 6: | Zeile 6: | ||
local HtmlBuilder = require('Module:HtmlBuilder') | local HtmlBuilder = require('Module:HtmlBuilder') | ||
local | local navbar = require('Module:Navbar')._navbar | ||
local args | local args | ||
Zeile 58: | Zeile 58: | ||
if args.state == 'plain' then spacerSide = 'right' end | if args.state == 'plain' then spacerSide = 'right' end | ||
titleCell.wikitext( | titleCell.wikitext(navbar{ | ||
args.name, | args.name, | ||
mini = 1, | mini = 1, | ||
fontstyle = (args.basestyle or '') .. ';' .. (args.titlestyle or '') .. ';background:none transparent;border:none;' | fontstyle = (args.basestyle or '') .. ';' .. (args.titlestyle or '') .. ';background:none transparent;border:none;' | ||
} | }) | ||
end | end | ||