添加的内容 删除的内容
(修改自此处;原许可:CC BY-SA 3.0[网站升级迁移]) |
(修改自此处;原许可:CC BY-SA 3.0[网站升级迁移]) 标签:已被回退 |
||
第13行: | 第13行: | ||
textstyle = 'padding-top: 0.9em; padding-bottom: 0.9em;' |
textstyle = 'padding-top: 0.9em; padding-bottom: 0.9em;' |
||
} |
} |
||
local wt = '[[File:Symbol redirect arrow with gradient.svg|25px|link=]] <b>本頁面是一個[[ |
local wt = '[[File:Symbol redirect arrow with gradient.svg|25px|link=]] <b>本頁面是一個[[Wikipedia:重定向|-{zh-hans:重定向; zh-hant:重新導向;}-]]:</b>\n' |
||
if (mw.text.trim(template) == "") then |
if (mw.text.trim(template) == "") then |
||
wt = wt .. "[[Category:其他重定向]]" |
wt = wt .. "[[Category:其他重定向]]" |
||
else |
else |
||
wt = wt .. template |
|||
wt = wt .. template .. '{{Redirect template\n|name=多種類型重定向\n|from=帶有多種類型\n|all category=带有多种类型的重定向\n}}' |
|||
end |
end |
||
if ((effectiveProtectionLevel('edit') == 'sysop') or |
if ((effectiveProtectionLevel('edit') == 'sysop') or |
||
第32行: | 第32行: | ||
mboxargslist.text = wt .. endtext |
mboxargslist.text = wt .. endtext |
||
else |
else |
||
mboxargslist.text = wt .. '<small>适当时会自动检测、描述与分类[[ |
mboxargslist.text = wt .. '<small>适当时会自动检测、描述与分类[[Wikipedia:保護方針|保护级别]]使用模板。</small>' |
||
end |
end |
||
return mMessageBox.main('mbox', mboxargslist) |
return mMessageBox.main('mbox', mboxargslist) |