更多操作
因为以下原因,您没有权限编辑该页面:
您可以查看和复制此页面的源代码。
-- <nowiki>
local p = {}
function p.make()
local frame = mw.getCurrentFrame()
local parent = frame:getParent()
local arg = parent.args['image']
local gallery_mark_index = arg:find('gallery:')
if gallery_mark_index ~= 1 then --< 单张图片
if string.byte(arg, 1) == 127 then
return '<span style="font-size: 24px; font-weight: bold; color: red">'
.. '请更新画廊的语法: "<gallery>(换行)文件名|标签页名(换行)…</gallery>" '
.. '→ "gallery:(换行)文件名 :: 标签页名(换行)…" </span>'
.. '[[Category:含有在信息框中使用了不正确的画廊语法的页面]]'
end
return frame:expandTemplate{ title = 'Infobox/item/single image', args = {
image = arg, caption = parent.args['caption']
} }
end
000
1:0
该页面使用的模板: