由FrzHrzn提出的对Template:Album Infobox的编辑请求:
增加以下内容:
|class = {{{class|}}}
|align = {{{align|}}}
|text-align = {{{text-align|}}}
|width = {{{width|}}}
|max-width = {{{max-width|}}}
|float = {{{float|}}}补全Template:Infobox中可用参数,用于禁用暗色模式颜色反转以及更改float位置、文字对齐方式等——Frz(查 · 论 · 编) 2025年3月15日 (六) 00:44 (CST)回复
|class = {{{class|infobox}}}
|align = {{{align|right}}}
|text-align = {{{text-align|text-align:center}}}
|width = {{{width|260px}}}
|max-width = {{{max-width|100%}}}
|float = {{{float|right}}}——Frz(查 · 论 · 编) 2025年3月21日 (五) 12:53 (CST)回复由FrzHrzn提出的对Template:Album Infobox的编辑请求:
将以下内容:
|left-column-color = {{{左欄顏色|{{{左栏颜色|#E0FFFF}}} }}}
|Row titlestyle = style="min-width: 80px; color: {{{左欄字體顏色|{{{左栏字体颜色|inherit}}}}}};"
修改为:
|Row titlestyle = style="min-width: 80px; background: {{{左欄顏色|{{{左栏颜色|#E0FFFF}}} }}}; color: {{{左欄字體顏色|{{{左栏字体颜色|inherit}}}}}};"
{{Infobox}}参数left-column-color使用的是20多年前就已经废弃的bgColor属性,只支持十六进制颜色值(如#AABBCC),不支持rgb()、hsl()等css颜色值,也不支持带透明度的颜色(如#AABBCC11、#ABC1)。虽然bgColor的推荐代替是background-color,但background-color不支持linear-gradient()等渐变色效果。
修改前:
| 标题1 | 内容1 |
{{Infobox
|bg-color = transparent
|left-column-color = #11451419
|Row 1 title = 标题1
|Row 1 info = 内容1
}}
修改后
| 标题1 | 内容1 |
{{Infobox
|bg-color = transparent
|Row titlestyle = style="background: #11451419"
|Row 1 title = 标题1
|Row 1 info = 内容1
}}
——Frz(查 · 论 · 编) 2025年4月24日 (四) 00:19 (CST)回复