LLWiki正在建设中,欢迎加入我们

“模块:Link”的版本间差异

跳转到导航 跳转到搜索
删除45字节 、​ 2021年10月12日 (二) 12:43
无编辑摘要
(// 使用Wikiplus小工具快速编辑)
标签移动版网页编辑 移动版编辑
标签移动版网页编辑 移动版编辑
 
 
p.main = function(frame)
local s = getArgs(frame)[1]
local t, n = s:gsub('(<span%s?.->%-{%|?(.+)}%-</span>)', '[[:%2|%1]]')
if n > 0 then
return t
end
t, n = s:gsub('(<span%s?.->(.+)</span>)', '[[:%2|%1]]')
if n > 0 then
return t
end
t, n = s:gsub('%-{%|?(.+)}%-', '-{[[:%1]]}-')
if n > 0 then
return t
end
return '[[:'..s..']]'
end
 
16,874

个编辑

导航菜单