Toggle menu
Toggle preferences menu
Toggle personal menu
Administrator Login Only
Access is restricted to site administrators.

Template:ProductInfo: Difference between revisions

Template page
m Wikiadmin moved page Template:产品信息 to Template:ProductInfo without leaving a redirect: Rename to English
Replace spec wikitable with free text field {{{specs|...}}} (fix: correct section boundary matching)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#ifeq:{{{显示模式|详情}}}|卡片
{{#ifeq:{{{displayMode|Detail}}}|Card
|{{#ifeq:{{{状态|草稿}}}|已发布
|{{#ifeq:{{{status|Draft}}}|Published
|<div class="lcd-card">
|<div class="lcd-card">
<div class="lcd-card__media">[[File:{{{主图}}}|800px|link={{{卡片页面|{{PAGENAME}}}}}|alt={{{标题|{{PAGENAME}}}}}]]</div>
<div class="lcd-card__media">[[File:{{{image1}}}|800px|link={{{cardPage|{{PAGENAME}}}}}|alt={{{title|{{PAGENAME}}}}}]]</div>
<div class="lcd-card__body">
<div class="lcd-card__body">
<div class="lcd-card__title">[[{{{卡片页面|{{PAGENAME}}}}}|{{{标题|{{PAGENAME}}}}}]]</div>
<div class="lcd-card__title">[[{{{cardPage|{{PAGENAME}}}}}|{{{title|{{PAGENAME}}}}}]]</div>
<div class="lcd-card__model">{{{型号|未填写型号}}}</div>
<div class="lcd-card__model">{{{model|No model}}}</div>
</div>
</div>
<div class="techdocs-catalog-control">[[Special:FormEdit/产品二级页/{{{卡片页面|{{PAGENAME}}}}}|编辑产品]]</div>
<div class="techdocs-catalog-control">[[Special:FormEdit/ProductPage/{{{cardPage|{{PAGENAME}}}}}|Edit Product]]</div>
</div>
</div>
|}}
|}}
|{{DISPLAYTITLE:{{{标题|{{PAGENAME}}}}}}}
|{{DISPLAYTITLE:{{{title|{{PAGENAME}}}}}}}
<div class="techdocs-product-edit">[[Special:FormEdit/产品二级页/{{FULLPAGENAME}}|编辑产品]]</div>
<div class="techdocs-product-edit">[[Special:FormEdit/ProductPage/{{FULLPAGENAME}}|Edit Product]]</div>
<div class="lcd-product">
<div class="lcd-product">
<div class="lcd-product__hero">
<div class="lcd-product__hero">
<div class="lcd-product__summary">
<div class="lcd-product__summary">
<span class="lcd-product__kicker">{{{所属模块|产品文档}}}</span>
<span class="lcd-product__kicker">{{{module|Product Docs}}}</span>
<div class="lcd-product__model">{{{型号|未填写型号}}}</div>
<div class="lcd-product__model">{{{model|No model}}}</div>
<div class="lcd-product__status">{{文档状态|状态={{{状态|草稿}}}}}</div>
<div class="lcd-product__status">{{DocStatus|status={{{status|Draft}}}}}</div>
<div class="lcd-product__intro">{{{简介|暂无产品简介。}}}</div>
<div class="lcd-product__intro">{{{intro|No product intro available.}}}</div>
</div>
</div>
<div class="lcd-product__gallery">
<div class="lcd-product__gallery">
<div>[[File:{{{主图}}}|900px|alt={{{标题|{{PAGENAME}}}}} 主视图]]</div>
<div>[[File:{{{image1}}}|900px|alt={{{title|{{PAGENAME}}}}} Main View]]</div>
{{#if:{{{副图|}}}|<div>[[File:{{{副图}}}|900px|alt={{{标题|{{PAGENAME}}}}} 辅助视图]]</div>|}}
{{#if:{{{image2|}}}|<div>[[File:{{{image2}}}|900px|alt={{{title|{{PAGENAME}}}}} Auxiliary View]]</div>|}}
</div>
</div>
</div>
</div>


== 产品介绍 ==
== Introduction ==
{{{产品要点|* 产品资料待管理员补充。}}}
{{{highlights|* Product details to be added by admin.}}}


== 产品参数 ==
== Specifications ==
{{{!}} class="wikitable lcd-spec-table"
{{{specs|Specifications to be added.}}}
! 项目
! 参数
{{!}}-
! 型号
{{!}} {{{型号|未填写}}}
{{!}}-
! 所属模块
{{!}} {{{所属模块|未填写}}}
{{!}}-
! 显示尺寸
{{!}} {{{显示尺寸|未填写}}}
{{!}}-
! 分辨率
{{!}} {{{分辨率|未填写}}}
{{!}}-
! 显示接口
{{!}} {{{显示接口|未填写}}}
{{!}}-
! 触控方式
{{!}} {{{触控方式|未填写}}}
{{!}}-
! 供电
{{!}} {{{供电|未填写}}}
{{!}}-
! 外形尺寸
{{!}} {{{外形尺寸|未填写}}}
{{!}}}


== 硬件说明 ==
== Hardware ==
{{{硬件说明|硬件接口与结构说明待补充。}}}
{{{hardware|Hardware interface and structure details to be added.}}}


== 使用说明 ==
== Size ==
{{{使用说明|# 连接硬件。<br># 上电并检查显示。<br># 按产品资料完成软件配置。}}}
{{{usage|# Connect the hardware.<br># Power on and check the display.<br># Configure software per product documentation.}}}


== 常见问题 ==
== FAQ ==
{{{常见问题|; 页面内容是否为真实产品参数?<br>: 当前为原创演示数据,请由管理员替换为实际资料。}}}
{{{faq|; Is the page content real product data?<br>: Currently demo data; please replace with actual specs.}}}


== 资源下载 ==
== Downloads ==
{{#if:{{{下载文件|}}}{{{下载2文件|}}}{{{下载3文件|}}}{{{下载4文件|}}}{{{下载5文件|}}}{{{下载6文件|}}}{{{下载7文件|}}}{{{下载8文件|}}}{{{下载9文件|}}}{{{下载10文件|}}}
{{#if:{{{dl1File|}}}{{{dl2File|}}}{{{dl3File|}}}{{{dl4File|}}}{{{dl5File|}}}{{{dl6File|}}}{{{dl7File|}}}{{{dl8File|}}}{{{dl9File|}}}{{{dl10File|}}}
|<div class="lcd-download-list">
|<div class="lcd-download-list">
{{#if:{{{下载文件|}}}|{{下载项
{{#if:{{{dl1File|}}}|{{DownloadItem
  |类型={{{下载类型|FILE}}}
  |type={{{dl1Type|FILE}}}
  |名称={{{下载名称|产品资料}}}
  |name={{{dl1Name|Product Resource}}}
  |文件={{{下载文件}}}
  |file={{{dl1File}}}
}}}}
}}}}
{{#if:{{{下载2文件|}}}|{{下载项
{{#if:{{{dl2File|}}}|{{DownloadItem
  |类型={{{下载2类型|FILE}}}
  |type={{{dl2Type|FILE}}}
  |名称={{{下载2名称|产品资料}}}
  |name={{{dl2Name|Product Resource}}}
  |文件={{{下载2文件}}}
  |file={{{dl2File}}}
}}}}
}}}}
{{#if:{{{下载3文件|}}}|{{下载项
{{#if:{{{dl3File|}}}|{{DownloadItem
  |类型={{{下载3类型|FILE}}}
  |type={{{dl3Type|FILE}}}
  |名称={{{下载3名称|产品资料}}}
  |name={{{dl3Name|Product Resource}}}
  |文件={{{下载3文件}}}
  |file={{{dl3File}}}
}}}}
}}}}
{{#if:{{{下载4文件|}}}|{{下载项
{{#if:{{{dl4File|}}}|{{DownloadItem
  |类型={{{下载4类型|FILE}}}
  |type={{{dl4Type|FILE}}}
  |名称={{{下载4名称|产品资料}}}
  |name={{{dl4Name|Product Resource}}}
  |文件={{{下载4文件}}}
  |file={{{dl4File}}}
}}}}
}}}}
{{#if:{{{下载5文件|}}}|{{下载项
{{#if:{{{dl5File|}}}|{{DownloadItem
  |类型={{{下载5类型|FILE}}}
  |type={{{dl5Type|FILE}}}
  |名称={{{下载5名称|产品资料}}}
  |name={{{dl5Name|Product Resource}}}
  |文件={{{下载5文件}}}
  |file={{{dl5File}}}
}}}}
}}}}
{{#if:{{{下载6文件|}}}|{{下载项
{{#if:{{{dl6File|}}}|{{DownloadItem
  |类型={{{下载6类型|FILE}}}
  |type={{{dl6Type|FILE}}}
  |名称={{{下载6名称|产品资料}}}
  |name={{{dl6Name|Product Resource}}}
  |文件={{{下载6文件}}}
  |file={{{dl6File}}}
}}}}
}}}}
{{#if:{{{下载7文件|}}}|{{下载项
{{#if:{{{dl7File|}}}|{{DownloadItem
  |类型={{{下载7类型|FILE}}}
  |type={{{dl7Type|FILE}}}
  |名称={{{下载7名称|产品资料}}}
  |name={{{dl7Name|Product Resource}}}
  |文件={{{下载7文件}}}
  |file={{{dl7File}}}
}}}}
}}}}
{{#if:{{{下载8文件|}}}|{{下载项
{{#if:{{{dl8File|}}}|{{DownloadItem
  |类型={{{下载8类型|FILE}}}
  |type={{{dl8Type|FILE}}}
  |名称={{{下载8名称|产品资料}}}
  |name={{{dl8Name|Product Resource}}}
  |文件={{{下载8文件}}}
  |file={{{dl8File}}}
}}}}
}}}}
{{#if:{{{下载9文件|}}}|{{下载项
{{#if:{{{dl9File|}}}|{{DownloadItem
  |类型={{{下载9类型|FILE}}}
  |type={{{dl9Type|FILE}}}
  |名称={{{下载9名称|产品资料}}}
  |name={{{dl9Name|Product Resource}}}
  |文件={{{下载9文件}}}
  |file={{{dl9File}}}
}}}}
}}}}
{{#if:{{{下载10文件|}}}|{{下载项
{{#if:{{{dl10File|}}}|{{DownloadItem
  |类型={{{下载10类型|FILE}}}
  |type={{{dl10Type|FILE}}}
  |名称={{{下载10名称|产品资料}}}
  |name={{{dl10Name|Product Resource}}}
  |文件={{{下载10文件}}}
  |file={{{dl10File}}}
}}}}
}}}}
</div>
</div>
|<div class="lcd-empty-resource">暂无已发布资源,管理员可在产品表单中添加下载文件。</div>
|<div class="lcd-empty-resource">暂无Published资源,管理员可在产品表单中添加下载文件。</div>
}}
}}
</div>
</div>




[[Category:产品文档]][[Category:{{{所属模块|未分类产品}}}]]
[[Category:Product Docs]][[Category:{{{module|Uncategorized}}}]]
}}
}}
</includeonly>
</includeonly>
Line 134: Line 107:
<templatedata>
<templatedata>
{
{
   "description": "完整产品二级页模板,包含图库、介绍、参数、硬件、使用、FAQ 和下载区。",
   "description": "完整产品二级页模板,包含图库、介绍、Spec、硬件、使用、FAQ 和下载区。",
   "params": {
   "params": {
     "标题": {"label": "产品标题", "type": "string", "required": true},
     "标题": {"label": "产品标题", "type": "string", "required": true},
     "型号": {"label": "型号", "type": "string", "required": true},
     "Model": {"label": "Model", "type": "string", "required": true},
     "状态": {"label": "文档状态", "type": "string", "suggestedvalues": ["已发布", "草稿", "已归档"]},
     "状态": {"label": "文档状态", "type": "string", "suggestedvalues": ["Published", "Draft", "Archived"]},
     "所属模块": {"label": "所属模块", "type": "string", "required": true},
     "Module": {"label": "Module", "type": "string", "required": true},
     "主图": {"label": "主图", "type": "wiki-file-name", "required": true},
     "主图": {"label": "主图", "type": "wiki-file-name", "required": true},
     "副图": {"label": "副图", "type": "wiki-file-name"},
     "副图": {"label": "副图", "type": "wiki-file-name"},
     "简介": {"label": "简介", "type": "content"},
     "简介": {"label": "简介", "type": "content"},
     "产品要点": {"label": "产品要点", "type": "content"},
     "产品要点": {"label": "产品要点", "type": "content"},
     "显示尺寸": {"label": "显示尺寸", "type": "string"},
     "Display Size": {"label": "Display Size", "type": "string"},
     "分辨率": {"label": "分辨率", "type": "string"},
     "Resolution": {"label": "Resolution", "type": "string"},
     "显示接口": {"label": "显示接口", "type": "string"},
     "Interface": {"label": "Interface", "type": "string"},
     "触控方式": {"label": "触控方式", "type": "string"},
     "Touch": {"label": "Touch", "type": "string"},
     "供电": {"label": "供电", "type": "string"},
     "Power": {"label": "Power", "type": "string"},
     "外形尺寸": {"label": "外形尺寸", "type": "string"},
     "Dimensions": {"label": "Dimensions", "type": "string"},
     "硬件说明": {"label": "硬件说明", "type": "content"},
     "硬件说明": {"label": "硬件说明", "type": "content"},
     "使用说明": {"label": "使用说明", "type": "content"},
     "使用说明": {"label": "使用说明", "type": "content"},

Latest revision as of 21:32, 1 August 2026


完整产品二级页模板,包含图库、介绍、Spec、硬件、使用、FAQ 和下载区。

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
产品标题标题

no description

Stringrequired
ModelModel

no description

Stringrequired
文档状态状态

no description

Suggested values
Published Draft Archived
Stringoptional
ModuleModule

no description

Stringrequired
主图主图

no description

Filerequired
副图副图

no description

Fileoptional
简介简介

no description

Contentoptional
产品要点产品要点

no description

Contentoptional
Display SizeDisplay Size

no description

Stringoptional
ResolutionResolution

no description

Stringoptional
InterfaceInterface

no description

Stringoptional
TouchTouch

no description

Stringoptional
PowerPower

no description

Stringoptional
DimensionsDimensions

no description

Stringoptional
硬件说明硬件说明

no description

Contentoptional
使用说明使用说明

no description

Contentoptional
常见问题常见问题

no description

Contentoptional
下载类型下载类型

no description

Stringoptional
下载名称下载名称

no description

Stringoptional
下载说明下载说明

no description

Stringoptional
下载版本下载版本

no description

Stringoptional
下载文件下载文件

no description

Fileoptional