匿名用戶
無編輯摘要
imported>DC 無編輯摘要 |
imported>DC 無編輯摘要 |
||
第21行: | 第21行: | ||
if not title then | if not title then | ||
error(' | 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', ' | :attr('title', '檢視該模板') | ||
:cssText(args.fontstyle) | :cssText(args.fontstyle) | ||
:wikitext(args.mini and ' | :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 ' | :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 ' | :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 | ||