Template:下载项: Difference between revisions
Template page
More actions
初始化技术文档中心框架 |
Git release 5e4241dd8446 |
||
| Line 1: | Line 1: | ||
<div class=" | <includeonly> | ||
<div class=" | <div class="lcd-download-card"> | ||
<div class=" | <div class="lcd-download-card__type">{{{类型|FILE}}}</div> | ||
<div class="lcd-download-card__body"> | |||
<strong>{{{名称|未命名资料}}}</strong> | <strong>{{{名称|未命名资料}}}</strong> | ||
<span>{{{说明|点击下载技术资料}}}</span> | <span>{{{说明|点击下载技术资料}}}</span> | ||
<small>版本 {{{版本|1.0 | <small>版本 {{{版本|1.0}}}</small> | ||
</div> | </div> | ||
<div class=" | <div class="lcd-download-card__action">[[Media:{{{文件}}}|下载]]</div> | ||
</div> | </div> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
| Line 13: | Line 15: | ||
"description": "展示一个可下载的技术资料附件。", | "description": "展示一个可下载的技术资料附件。", | ||
"params": { | "params": { | ||
"类型": {"label": "资料类型", "type": "string | "类型": {"label": "资料类型", "type": "string"}, | ||
"名称": {"label": "显示名称", "type": "string", "required": true}, | "名称": {"label": "显示名称", "type": "string", "required": true}, | ||
"说明": {"label": "简短说明", "type": "string"}, | "说明": {"label": "简短说明", "type": "string"}, | ||
"版本": {"label": "版本", "type": "string"}, | "版本": {"label": "版本", "type": "string"}, | ||
"文件": {"label": "MediaWiki 文件名", "type": "wiki-file-name", "required": true} | "文件": {"label": "MediaWiki 文件名", "type": "wiki-file-name", "required": true} | ||
} | } | ||
Latest revision as of 22:35, 25 July 2026
展示一个可下载的技术资料附件。
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 资料类型 | 类型 | no description | String | optional |
| 显示名称 | 名称 | no description | String | required |
| 简短说明 | 说明 | no description | String | optional |
| 版本 | 版本 | no description | String | optional |
| MediaWiki 文件名 | 文件 | no description | File | required |