跳至內容

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

移除 89 位元組 、​ 2022年10月21日 (星期五)
無編輯摘要
imported>DC
無編輯摘要
imported>DC
無編輯摘要
 
第21行: 第21行:


if not title then
if not title then
error('页面不存在 ' .. titleText)
error('頁面不存在 ' .. titleText)
end
end


第49行: 第49行:
:css('margin-right', '-0.125em')
:css('margin-right', '-0.125em')
:cssText(args.fontstyle)
:cssText(args.fontstyle)
:wikitext('[ ')
:wikitext('[ ')
end
end


第59行: 第59行:
:wikitext('[[' .. title.fullText .. '|')
:wikitext('[[' .. title.fullText .. '|')
:tag(args.mini and 'abbr' or 'span')
:tag(args.mini and 'abbr' or 'span')
:attr('title', '-{zh-hans:查看;zh-hant:檢視;}-该模板')
:attr('title', '檢視該模板')
:cssText(args.fontstyle)
:cssText(args.fontstyle)
:wikitext(args.mini and '-{zh-hans:查;zh-hant:;}-' or '-{zh-hans:查看;zh-hant:檢視;}-')
:wikitext(args.mini and '閱' or '檢視')
:done()
:done()
:wikitext(']]')
:wikitext(']]')
第69行: 第69行:
:wikitext('[[' .. talkpage .. '|')
:wikitext('[[' .. talkpage .. '|')
:tag(args.mini and 'abbr' or 'span')
:tag(args.mini and 'abbr' or 'span')
:attr('title', '讨论该模板')
:attr('title', '討論該模板')
:cssText(args.fontstyle)
:cssText(args.fontstyle)
:wikitext(args.mini and '' or '讨论')
:wikitext(args.mini and '' or '討論')
:done()
:done()
:wikitext(']]');
:wikitext(']]');
第81行: 第81行:
:wikitext('[' .. title:fullUrl('action=edit') .. ' ')
:wikitext('[' .. title:fullUrl('action=edit') .. ' ')
:tag(args.mini and 'abbr' or 'span')
:tag(args.mini and 'abbr' or 'span')
:attr('title', '编辑该模板')
:attr('title', '編輯該模板')
:cssText(args.fontstyle)
:cssText(args.fontstyle)
:wikitext(args.mini and '' or '编辑')
:wikitext(args.mini and '' or '編輯')
:done()
:done()
:wikitext(']');
:wikitext(']');
第93行: 第93行:
:css('margin-left', '-0.125em')
:css('margin-left', '-0.125em')
:cssText(args.fontstyle)
:cssText(args.fontstyle)
:wikitext(' ]')
:wikitext(' ]')
end
end


匿名用戶