Template:ProductInfo: Difference between revisions
Template page
More actions
Rename headings (Introduction/Size) + replace spec table with free text field |
Git release a43e5d0f9b19 |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 26: | Line 26: | ||
</div> | </div> | ||
</div> | </div> | ||
{{#if:{{{videoURL|}}} | |||
|<div class="lcd-product-video"> | |||
<div class="lcd-product-video__player">{{#tag:youtube|{{{videoURL}}}|width=960|height=540}}</div> | |||
</div> | |||
|}} | |||
== Introduction == | == Introduction == | ||
| Line 31: | Line 37: | ||
== Specifications == | == Specifications == | ||
{{{ | {{{specs|Specifications to be added.}}} | ||
== Hardware == | == Hardware == | ||
| Line 144: | Line 123: | ||
"简介": {"label": "简介", "type": "content"}, | "简介": {"label": "简介", "type": "content"}, | ||
"产品要点": {"label": "产品要点", "type": "content"}, | "产品要点": {"label": "产品要点", "type": "content"}, | ||
"videoTitle": {"label": "Video Title", "type": "string"}, | |||
"videoURL": {"label": "YouTube Video URL", "type": "url"}, | |||
"videoCover": {"label": "Video Cover", "type": "wiki-file-name"}, | |||
"videoDescription": {"label": "Video Description", "type": "content"}, | |||
"Display Size": {"label": "Display Size", "type": "string"}, | "Display Size": {"label": "Display Size", "type": "string"}, | ||
"Resolution": {"label": "Resolution", "type": "string"}, | "Resolution": {"label": "Resolution", "type": "string"}, | ||
Latest revision as of 22:21, 10 August 2026
完整产品二级页模板,包含图库、介绍、Spec、硬件、使用、FAQ 和下载区。
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 产品标题 | 标题 | no description | String | required |
| Model | Model | no description | String | required |
| 文档状态 | 状态 | no description
| String | optional |
| Module | Module | no description | String | required |
| 主图 | 主图 | no description | File | required |
| 副图 | 副图 | no description | File | optional |
| 简介 | 简介 | no description | Content | optional |
| 产品要点 | 产品要点 | no description | Content | optional |
| Video Title | videoTitle | no description | String | optional |
| YouTube Video URL | videoURL | no description | URL | optional |
| Video Cover | videoCover | no description | File | optional |
| Video Description | videoDescription | no description | Content | optional |
| Display Size | Display Size | no description | String | optional |
| Resolution | Resolution | no description | String | optional |
| Interface | Interface | no description | String | optional |
| Touch | Touch | no description | String | optional |
| Power | Power | no description | String | optional |
| Dimensions | Dimensions | no description | String | optional |
| 硬件说明 | 硬件说明 | no description | Content | optional |
| 使用说明 | 使用说明 | no description | Content | optional |
| 常见问题 | 常见问题 | no description | Content | optional |
| 下载类型 | 下载类型 | no description | String | optional |
| 下载名称 | 下载名称 | no description | String | optional |
| 下载说明 | 下载说明 | no description | String | optional |
| 下载版本 | 下载版本 | no description | String | optional |
| 下载文件 | 下载文件 | no description | File | optional |