「模組:Navbar」:修訂間差異

增加 253 位元組 、​ 2022年10月21日 (星期五)
無編輯摘要
imported>DC
(建立內容為「local p = {} local getArgs function p._navbar(args) local titleArg = 1 if args.collapsible then titleArg = 2 if not args.plain then args.mini = 1 en…」的新頁面)
 
imported>DC
無編輯摘要
 
(未顯示同一使用者於中間所作的 1 次修訂)
第49行: 第49行:
:css('margin-right', '-0.125em')
:css('margin-right', '-0.125em')
:cssText(args.fontstyle)
:cssText(args.fontstyle)
:wikitext('[ ')
:wikitext('[ ')
end
end


第65行: 第65行:
:wikitext(']]')
:wikitext(']]')
:done()
:done()
:tag('li')
:addClass('nv-talk')
:wikitext('[[' .. talkpage .. '|')
:tag(args.mini and 'abbr' or 'span')
:attr('title', '討論該模板')
:cssText(args.fontstyle)
:wikitext(args.mini and '論' or '討論')
:done()
:wikitext(']]');


if not args.noedit then
if not args.noedit then
第84行: 第93行:
:css('margin-left', '-0.125em')
:css('margin-left', '-0.125em')
:cssText(args.fontstyle)
:cssText(args.fontstyle)
:wikitext(' ]')
:wikitext(' ]')
end
end


匿名用戶