模块:设定页v2:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第62行: | 第62行: | ||
local parent, name | local parent, name | ||
base, sub = PageName.split(pagename) | base, sub = PageName.split(pagename) | ||
local | local out = "" | ||
if isIndexPage or not base then | if isIndexPage or not base then | ||
if type == "世界观设定" then | if type == "世界观设定" then | ||
out = out .. (renderLiteInfoBox(frame, "WorldItem.svg", "世界观介绍页")) | |||
elseif type == "联动设定" then | elseif type == "联动设定" then | ||
local text = "" | local text = "" | ||
out = out .. (renderLiteInfoBox(frame, "联动.svg", "联动介绍页")) | |||
else -- 公共设定 | else -- 公共设定 | ||
out = out .. (renderLiteInfoBox(frame, "SharedItem.svg", "公共设定页")) | |||
end | end | ||
else | else | ||
if type == "世界观设定" then | if type == "世界观设定" then | ||
out = out .. (renderLiteInfoBox(frame, "WorldItem.svg", "本页面属于世界观: [[" .. base .. "]]")) | |||
elseif type == "联动设定" then | elseif type == "联动设定" then | ||
local text = "" | local text = "" | ||
out = out .. (renderLiteInfoBox(frame, "联动.svg", "本页面属于联动: [["..base.."]")) | |||
else -- 公共设定 | else -- 公共设定 | ||
out = out .. (renderLiteInfoBox(frame, "SharedItem.svg", "公共设定页")) | |||
end | end | ||
end | end | ||
return | return out | ||
end | end | ||