Module:Redirect hatnote:修订间差异
小 导入1个版本 |
无编辑摘要 |
||
| 第64行: | 第64行: | ||
local formattedRedirect = {} | local formattedRedirect = {} | ||
for k,v in pairs(redirect) do | for k,v in pairs(redirect) do | ||
formattedRedirect[k] = mHatnote.quote('<b> | formattedRedirect[k] = mHatnote.quote('<b>' .. v .. '</b>') | ||
end | end | ||
local image = '[[File:Disambig gray.svg|25px|class=noviewer hatnote-notice-img|alt=|link=Wikipedia:消歧义]]' | local image = '[[File:Disambig gray.svg|25px|class=noviewer hatnote-notice-img|alt=|link=Wikipedia:消歧义]]' | ||
local text = { | local text = { | ||
mHatList.andList(formattedRedirect) .. (#redirect == 1 and '' or '均') .. ' | mHatList.andList(formattedRedirect) .. (#redirect == 1 and '' or '均') .. '重定向至此。', | ||
mHatList._forSee(args, #redirect + 1, {title = redirect[1], extratext = args.text}) | mHatList._forSee(args, #redirect + 1, {title = redirect[1], extratext = args.text}) | ||
} | } | ||