Module:Sidebar: Difference between revisions
all test cases look good - merge from sandbox |
if args.name isn't specified, let Module:Navbar try to guess the name (it does a slightly better job than the current page's title, which is almost always wrong) |
||
Line 210: | Line 210: | ||
.cssText(args.navbarstyle or args.tnavbarstyle) | .cssText(args.navbarstyle or args.tnavbarstyle) | ||
.wikitext(navbar{ | .wikitext(navbar{ | ||
args.name | args.name, | ||
mini = 1, | mini = 1, | ||
fontstyle = args.navbarfontstyle or args.tnavbarfontstyle | fontstyle = args.navbarfontstyle or args.tnavbarfontstyle |