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

跳至導覽 跳至搜尋
大小無變化 、​ 2016年4月10日 (星期日)
繁簡轉換
(移除手工繁簡轉換)
(繁簡轉換)
 
.css('float', 'left')
.css('white-space', 'nowrap')
.wikitext('出:' .. s)
 
return tostring(span)
 
if not title then
return htmlError('面不存在')
end
 
local editurl = title:fullUrl('action=edit');
 
local viewLink, talkLink, editLink = '檢視', '讨论討論', '编辑編輯'
if args.mini then
viewLink, talkLink, editLink = '閱', '', ''
end
 
.wikitext('[[' .. mainpage .. '|')
.tag('span')
.attr('title', '檢視模板')
.cssText(args.fontstyle or '')
.wikitext(viewLink)
.wikitext('[[' .. talkpage .. '|')
.tag('span')
.attr('title', '讨论该討論該模板')
.cssText(args.fontstyle or '')
.wikitext(talkLink)
.wikitext('[' .. editurl .. ' ')
.tag('span')
.attr('title', '编辑该編輯該模板')
.cssText(args.fontstyle or '')
.wikitext(editLink)
1,975

次編輯

導覽選單