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

Template:ProductInfo: Difference between revisions

Template page
Full English rewrite: English params, headings, status logic
Replace spec wikitable with free text field {{{specs|...}}} (fix: correct section boundary matching)
 
(6 intermediate revisions by the same user not shown)
Line 27: Line 27:
</div>
</div>


== Product Introduction ==
== Introduction ==
{{{highlights|* Product details to be added by admin.}}}
{{{highlights|* Product details to be added by admin.}}}


== Specifications ==
== Specifications ==
{{{!}} class="wikitable lcd-spec-table"
{{{specs|Specifications to be added.}}}
! Item
! Spec
{{!}}-
! Model
{{!}} {{{model|N/A}}}
{{!}}-
! Module
{{!}} {{{module|N/A}}}
{{!}}-
! Display Size
{{!}} {{{displaySize|N/A}}}
{{!}}-
! Resolution
{{!}} {{{resolution|N/A}}}
{{!}}-
! Interface
{{!}} {{{interface|N/A}}}
{{!}}-
! Touch
{{!}} {{{touch|N/A}}}
{{!}}-
! Power
{{!}} {{{power|N/A}}}
{{!}}-
! Dimensions
{{!}} {{{dimensions|N/A}}}
{{!}}}


== Hardware ==
== Hardware ==
{{{hardware|Hardware interface and structure details to be added.}}}
{{{hardware|Hardware interface and structure details to be added.}}}


== Usage ==
== Size ==
{{{usage|# Connect the hardware.<br># Power on and check the display.<br># Configure software per product documentation.}}}
{{{usage|# Connect the hardware.<br># Power on and check the display.<br># Configure software per product documentation.}}}


== FAQ ==
== FAQ ==
{{{faq|; Is the page content real product data?<br>: Currently demo data; please replace with actual specs.}}}
{{{faq|; Is the page content real product data?<br>: Currently demo data; please replace with actual specs.}}}


== Downloads ==
== Downloads ==
Line 123: Line 96:
}}}}
}}}}
</div>
</div>
|<div class="lcd-empty-resource">No published resources available. Admin can add download files in the product form.</div>
|<div class="lcd-empty-resource">暂无Published资源,管理员可在产品表单中添加下载文件。</div>
}}
}}
</div>
</div>


[[Category:Product Docs]][[Category:{{{module|Uncategorized}}}}]
 
[[Category:Product Docs]][[Category:{{{module|Uncategorized}}}]]
}}
}}
</includeonly>
</includeonly>
Line 133: Line 107:
<templatedata>
<templatedata>
{
{
   "description": "Full product page template with gallery, intro, specs, hardware, usage, FAQ and downloads.",
   "description": "完整产品二级页模板,包含图库、介绍、Spec、硬件、使用、FAQ 和下载区。",
   "params": {
   "params": {
     "title": {"label": "Product Title", "type": "string", "required": true},
     "标题": {"label": "产品标题", "type": "string", "required": true},
     "model": {"label": "Model", "type": "string", "required": true},
     "Model": {"label": "Model", "type": "string", "required": true},
     "status": {"label": "Doc Status", "type": "string", "suggestedvalues": ["Published", "Draft", "Archived"]},
     "状态": {"label": "文档状态", "type": "string", "suggestedvalues": ["Published", "Draft", "Archived"]},
     "module": {"label": "Module", "type": "string", "required": true},
     "Module": {"label": "Module", "type": "string", "required": true},
     "image1": {"label": "Main Image", "type": "wiki-file-name", "required": true},
     "主图": {"label": "主图", "type": "wiki-file-name", "required": true},
     "image2": {"label": "Aux Image", "type": "wiki-file-name"},
     "副图": {"label": "副图", "type": "wiki-file-name"},
     "intro": {"label": "Intro", "type": "content"},
     "简介": {"label": "简介", "type": "content"},
     "highlights": {"label": "Highlights", "type": "content"},
     "产品要点": {"label": "产品要点", "type": "content"},
     "displaySize": {"label": "Display Size", "type": "string"},
     "Display Size": {"label": "Display Size", "type": "string"},
     "resolution": {"label": "Resolution", "type": "string"},
     "Resolution": {"label": "Resolution", "type": "string"},
     "interface": {"label": "Interface", "type": "string"},
     "Interface": {"label": "Interface", "type": "string"},
     "touch": {"label": "Touch", "type": "string"},
     "Touch": {"label": "Touch", "type": "string"},
     "power": {"label": "Power", "type": "string"},
     "Power": {"label": "Power", "type": "string"},
     "dimensions": {"label": "Dimensions", "type": "string"},
     "Dimensions": {"label": "Dimensions", "type": "string"},
     "hardware": {"label": "Hardware", "type": "content"},
     "硬件说明": {"label": "硬件说明", "type": "content"},
     "usage": {"label": "Usage", "type": "content"},
     "使用说明": {"label": "使用说明", "type": "content"},
     "faq": {"label": "FAQ", "type": "content"},
     "常见问题": {"label": "常见问题", "type": "content"},
     "dl1Type": {"label": "DL1 Type", "type": "string"},
     "下载类型": {"label": "下载类型", "type": "string"},
     "dl1Name": {"label": "DL1 Name", "type": "string"},
     "下载名称": {"label": "下载名称", "type": "string"},
     "dl1File": {"label": "DL1 File", "type": "wiki-file-name"},
     "下载说明": {"label": "下载说明", "type": "string"},
    "dl2Type": {"label": "DL2 Type", "type": "string"},
     "下载版本": {"label": "下载版本", "type": "string"},
    "dl2Name": {"label": "DL2 Name", "type": "string"},
     "下载文件": {"label": "下载文件", "type": "wiki-file-name"}
    "dl2File": {"label": "DL2 File", "type": "wiki-file-name"},
    "dl3Type": {"label": "DL3 Type", "type": "string"},
     "dl3Name": {"label": "DL3 Name", "type": "string"},
     "dl3File": {"label": "DL3 File", "type": "wiki-file-name"}
   }
   }
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

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