模組討論:InfoboxImage
外观
Willy1018在话题“追加 class 参数”中的最新留言:2年前
新代码
请求已处理--1=0,欢迎河北维基人加入QQ群331736133 2016年2月7日 (日) 08:07 (UTC)
我从 en:Module:InfoboxImage 搬运过来新的代码,里面多了 |page=
参数,现在就在这个模块的沙盒页里面。--⚞★⚟ 2016年2月2日 (二) 13:26 (UTC)
- @Great_Brightstar:以后编辑请求要用{{Editprotected|patch=}}这个版本,方便管理员更新。--1=0,欢迎河北维基人加入QQ群331736133 2016年2月7日 (日) 08:12 (UTC)
暴露 Lua 接口,变成元模块
{{editprotected}} 道理类似Module talk:Infobox提出来的那个。另外我这个模板并不是说被保护了,而是说我看到了文档不敢…… --Artoria2e5 更改·工具 2016年5月29日 (日) 21:12 (UTC)
- 目前未有保护。--Jimmy Xu 论 2016年6月11日 (六) 04:29 (UTC)
編輯請求 2022-07-13
请求已拒绝
@@ -6,7 +6,6 @@
-- sizedefault - 如果size参数留空,默认显示图像大小 - 如果size參數留空,預設顯示影像大小
-- alt - 图像替换文本 - 影像替換文字
-- title - 图像标题文本 - 影像標題文字
--- border - 有边框则设为yes - 有邊框則設為yes
-- center - 图像需居中则设为yes - 影像需居中則設為yes
-- upright - 垂直图像参数 - 垂直影像參數
-- suppressplaceholder - 设为yes则检查图像是否为占位符并停用 - 設為yes則檢查影像是否為佔位符並停用
@@ -187,7 +186,6 @@
local alt = frame.args["alt"];
local link = frame.args["link"];
local title = frame.args["title"];
- local border = frame.args["border"];
local upright = frame.args["upright"] or "";
local thumbtime = frame.args["thumbtime"] or "";
local center= frame.args["center"];
@@ -246,9 +244,6 @@
if link ~= "" and link ~= nil then
result = result .. "|link=" .. link;
end
- if border == "yes" then
- result = result .. "|border";
- end
if upright == "yes" then
result = result .. "|upright";
elseif upright ~= "" then
border
参数已失效。 Stang★ 2022年7月13日 (三) 00:23 (UTC)
未完成border沒有失效。--Xiplus#Talk 2022年8月20日 (六) 09:45 (UTC)
追加 class 参数
![]() | 正在請求他人代為編輯受保護的頁面(連鎖保護 编辑:仅允许管理员 移动:仅允许管理员) 注意:本模板不是用於請求開放頁面給予編輯,相關請求請至请求解除保护頁申請;本模板是用於請求可以編輯的用户幫忙修改內容。 請求時請列明理由及內容,確保修改有共識基礎及沒有爭議,否則請先在受保護頁面的討論頁進行討論。(工具:處理、申請解除保護) 如果您想直接展示给管理员修改后的页面及清楚地列出编辑差异,请将本模板改为 {{Editprotected|patch=}} ,点击「显示预览」并按照提示进一步操作。 |
英文维基已经追加这个参数来设置图像的 HTML class 属性,还有其他多个改进,效果见 Module talk:InfoboxImage/testcases--⚞︎★⚟︎ 2022年10月31日 (一) 12:03 (UTC)
- @Great Brightstar,將關閉此請求。看了一眼Module_talk:InfoboxImage/testcases中[[File:Abbey Rd Studios.jpg|frameless|alt=[http:test.com]|[http:test.com]]]這些明顯有一些錯誤。-- Willy1018(留言) 2022年11月5日 (六) 11:16 (UTC)