打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
ContentBot2留言 | 贡献
重写模板:简化结构,去除{{#if:}},所有字段始终显示
ContentBot2留言 | 贡献
修复:在 <templatestyles /> 和表格之间加换行
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
<includeonly>{| class="wikitable" style="float:right; margin-left:1em; margin-bottom:1em; width:280px; border:2px solid #336699; background:#f8f9fa; border-collapse:collapse;"
<includeonly><templatestyles src="Template:Robuddy-styles.css" />
|- style="background:#336699; color:white; text-align:center;"
{| class="robuddy-infobox"
| colspan="2" style="padding:8px;" | '''{{{标题|{{PAGENAME}}}}}'''
|- class="robuddy-infobox-title"
| colspan="2" | '''{{{标题|{{PAGENAME}}}}}'''
|-
|-
| colspan="2" style="text-align:center; padding:8px;" | {{{image|}}}
| class="robuddy-infobox-image" colspan="2" | {{{image|}}}
|- style="background:#e8e8e8;"
|- class="robuddy-infobox-row"
| style="width:90px; font-weight:bold; padding:4px 8px;" | 类别
| class="robuddy-infobox-label" | 类别
| style="padding:4px 8px;" | {{{类别|}}}
| class="robuddy-infobox-value" | {{{类别|}}}
|- style="background:#e8e8e8;"
|- class="robuddy-infobox-row"
| style="font-weight:bold; padding:4px 8px;" | 英文名
| class="robuddy-infobox-label" | 英文名
| style="padding:4px 8px; font-size:smaller; color:#555;" | {{{英文名|}}}
| class="robuddy-infobox-value robuddy-infobox-en" | {{{英文名|}}}
|- style="background:#e8e8e8;"
|- class="robuddy-infobox-row"
| style="font-weight:bold; padding:4px 8px;" | 功能
| class="robuddy-infobox-label" | 功能
| style="padding:4px 8px;" | {{{功能|}}}
| class="robuddy-infobox-value" | {{{功能|}}}
|- style="background:#e8e8e8;"
|- class="robuddy-infobox-row"
| style="font-weight:bold; padding:4px 8px;" | 类型
| class="robuddy-infobox-label" | 类型
| style="padding:4px 8px;" | {{{类型|}}}
| class="robuddy-infobox-value" | {{{类型|}}}
|- style="background:#e8e8e8;"
|- class="robuddy-infobox-row"
| style="font-weight:bold; padding:4px 8px;" | 标称电压
| class="robuddy-infobox-label" | 标称电压
| style="padding:4px 8px;" | {{{标称电压|}}}
| class="robuddy-infobox-value" | {{{标称电压|}}}
|}</includeonly><noinclude>{{Documentation}}</noinclude>
|- class="robuddy-infobox-row"
| class="robuddy-infobox-label" | 质量
| class="robuddy-infobox-value" | {{{质量|}}}
|- class="robuddy-infobox-row"
| class="robuddy-infobox-label" | 密度
| class="robuddy-infobox-value" | {{{密度|}}}
|}</includeonly><noinclude>
{{Documentation}}
<templatedata>
{
  "params": {
    "标题": { "label": "标题", "type": "string", "required": false, "description": "默认取页面名称" },
    "image": { "label": "图片", "type": "wiki-file-name", "required": false, "description": "如 File:xxx.png" },
    "类别": { "label": "类别", "type": "string", "required": false, "description": "如 供电系统、动力系统" },
    "英文名": { "label": "英文名", "type": "string", "required": false },
    "功能": { "label": "功能", "type": "string", "required": false },
    "类型": { "label": "类型", "type": "string", "required": false },
    "标称电压": { "label": "标称电压", "type": "string", "required": false },
    "质量": { "label": "质量", "type": "string", "required": false },
    "密度": { "label": "密度", "type": "string", "required": false }
  },
  "description": "零件/项目信息卡片",
  "format": "block"
}
</templatedata>
</noinclude>

2026年7月17日 (五) 20:54的最新版本

本模板的文档见 Template:Infobox/doc。您可以编辑它。

零件/项目信息卡片

模板参数[编辑模板数据]

此模板首选参数换行的代码块格式。

参数描述类型状态
标题标题

默认取页面名称

字符串可选
图片image

如 File:xxx.png

文件可选
类别类别

如 供电系统、动力系统

字符串可选
英文名英文名

无描述

字符串可选
功能功能

无描述

字符串可选
类型类型

无描述

字符串可选
标称电压标称电压

无描述

字符串可选
质量质量

无描述

字符串可选
密度密度

无描述

字符串可选