Template:Infobox:修订间差异
模板页面
更多语言
更多操作
ContentBot2(留言 | 贡献) 修复:将 |} 移到所有 {{#if:}} 之外,确保表格始终正确关闭 |
ContentBot2(留言 | 贡献) 重写模板:简化结构,去除{{#if:}},所有字段始终显示 |
||
| 第1行: | 第1行: | ||
{| class="wikitable" style="float:right; margin-left:1em; margin-bottom:1em; width:280px; border: | <includeonly>{| class="wikitable" style="float:right; margin-left:1em; margin-bottom:1em; width:280px; border:2px solid #336699; background:#f8f9fa; border-collapse:collapse;" | ||
|- style="background:#336699; color:white; text-align:center;" | |- style="background:#336699; color:white; text-align:center;" | ||
| colspan="2" | '''{{{标题|{{PAGENAME}}}}}''' | | colspan="2" style="padding:8px;" | '''{{{标题|{{PAGENAME}}}}}''' | ||
|- | |- | ||
| colspan="2" style="text-align:center; padding:8px;" | | | colspan="2" style="text-align:center; padding:8px;" | {{{image|}}} | ||
|- style="background:#e8e8e8;" | |||
| style="width:90px; font-weight:bold; padding:4px 8px;" | 类别 | |||
|- | | style="padding:4px 8px;" | {{{类别|}}} | ||
| style="width:90px | |- style="background:#e8e8e8;" | ||
| {{{类别 | | style="font-weight:bold; padding:4px 8px;" | 英文名 | ||
| style="padding:4px 8px; font-size:smaller; color:#555;" | {{{英文名|}}} | |||
|- style="background:#e8e8e8;" | |||
|- | | style="font-weight:bold; padding:4px 8px;" | 功能 | ||
| style="padding:4px 8px;" | {{{功能|}}} | |||
| style="font-size:smaller; color:#555;" | {{{英文名 | |- style="background:#e8e8e8;" | ||
| style="font-weight:bold; padding:4px 8px;" | 类型 | |||
| style="padding:4px 8px;" | {{{类型|}}} | |||
|- | |- style="background:#e8e8e8;" | ||
| style="font-weight:bold; padding:4px 8px;" | 标称电压 | |||
| {{{功能 | | style="padding:4px 8px;" | {{{标称电压|}}} | ||
|}</includeonly><noinclude>{{Documentation}}</noinclude> | |||
|- | |||
| {{{类型 | |||
|- | |||
| {{{标称电压}}} | |||
}} | |||
2026年7月16日 (四) 18:29的版本
本模板的文档见 Template:Infobox/doc。您可以编辑它。