添加的内容 删除的内容
(修改自此处;原许可:CC BY-SA 3.0[网站升级迁移]) 标签:已被回退 |
无编辑摘要 |
||
(未显示2个用户的2个中间版本) | |||
第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>本页面是一个[[Qiuwen:重定向|重定向]]:</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 .. '{{Redirect template\n|name=多种类型重定向\n|from=带有多种类型\n|all category=带有多种类型的重定向\n}}' |
|||
wt = wt .. template |
|||
end |
end |
||
if ((effectiveProtectionLevel('edit') == 'sysop') or |
if ((effectiveProtectionLevel('edit') == 'sysop') or |
||
第25行: | 第25行: | ||
(effectiveProtectionLevel('move') == 'templateeditor') |
(effectiveProtectionLevel('move') == 'templateeditor') |
||
) then |
) then |
||
wt = wt ..'\n{{被保 |
wt = wt ..'\n{{被保护的重定向}}\n' |
||
else |
else |
||
wt = wt ..'\n' |
wt = wt ..'\n' |
||
第32行: | 第32行: | ||
mboxargslist.text = wt .. endtext |
mboxargslist.text = wt .. endtext |
||
else |
else |
||
mboxargslist.text = wt .. '<small>适当时会自动检测、描述与分类[[ |
mboxargslist.text = wt .. '<small>适当时会自动检测、描述与分类[[Qiuwen:保护方针|保护级别]]使用模板。</small>' |
||
end |
end |
||
return mMessageBox.main('mbox', mboxargslist) |
return mMessageBox.main('mbox', mboxargslist) |