1,975
次編輯
(新頁面: local p = {} local getArgs local HtmlBuilder = require('Module:HtmlBuilder') local function trim(s) return mw.ustring.match(s, "^%s*(.-)%s*$") end local function htmlError(s) loca...) |
Xiplus-bot(留言 | 貢獻) 小 (繁簡轉換) |
||
(未顯示由 2 位使用者於中間所作的 2 次修訂) | |||
.css('float', 'left')
.css('white-space', 'nowrap')
.wikitext('出
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)
|