模板:SoftwareInfo/Doc:修订间差异
来自陋室
更多操作
删除的内容 添加的内容
小 添加分类 |
Maintenance script(留言 | 贡献) 模板现代化B1:补充 TemplateData |
||
| (未显示2个用户的7个中间版本) | |||
| 第1行: | 第1行: | ||
== 模板说明 == |
== 模板说明 == |
||
SoftwareInfo 用于展示软件的基本信息与发行方式。 |
|||
== 参数说明 == |
== 参数说明 == |
||
以下字段均可选: |
|||
* '''软件名称''' - 软件的名称使用<nowiki>{{PAGENAME}}</nowiki>魔术字自动获取嵌入本模板页面的标题,无需调用和多余的处理 |
|||
* <code>开发者</code>、<code>官网</code>、<code>下载</code>、<code>类别</code>、<code>状态</code> |
|||
* '''开发者''' - 软件开发者的名称 |
|||
* <code>版本号</code>、<code>大小</code>、<code>更新日期</code>、<code>语言</code> |
|||
示例:`某软件公司` |
|||
* <code>系统</code>、<code>架构</code>、<code>开发语言</code>、<code>界面</code> |
|||
* '''官网''' - 软件的官方网站链接 |
|||
* <code>功能</code>、<code>相关软件</code>、<code>发行方式</code> |
|||
示例:`https://example.com` |
|||
* <code>许可证</code>、<code>GitHub</code>、<code>贡献方式</code> |
|||
* '''下载''' - 下载地址链接 |
|||
示例:`https://example.com/download` |
|||
* '''版本号''' - 当前版本号 |
|||
示例:`1.2.3` |
|||
* '''大小''' - 软件文件的大小 |
|||
示例:`50MB` |
|||
* '''更新日期''' - 最新更新日期,格式:YYYYMMDD |
|||
示例:`20240209` |
|||
* '''语言''' - 是否支持中文(1=是,0=否) |
|||
示例:`1` |
|||
* '''系统''' - 支持的操作系统 |
|||
示例:`Windows 7, 8/8.1, 10, 11` |
|||
* '''架构''' - 软件支持的架构类型 |
|||
示例:`x86, x64, arm64` |
|||
* '''许可证''' - 软件的许可证类型 |
|||
示例:`GPL-3.0` |
|||
* '''类别''' - 软件的分类类型 |
|||
示例:`文本编辑器` |
|||
* '''状态''' - 软件的开发状态(如活跃、已停止开发) |
|||
示例:`活跃` |
|||
* '''开发语言''' - 软件的主要开发语言 |
|||
示例:`C++` |
|||
* '''界面''' - 软件的界面类型(GUI / CLI) |
|||
示例:`GUI` |
|||
* '''相关软件''' - 相关或替代软件(支持 [[链接]]) |
|||
示例:`[[Notepad++]], [[VS Code]]` |
|||
* '''功能''' - 软件的主要功能,多个功能使用逗号分隔 |
|||
示例:`支持语法高亮, 自动补全, 多标签页` |
|||
* '''发行方式''' - 软件的发行渠道 |
|||
示例:`官网下载, GitHub` |
|||
* '''贡献方式''' - 软件的贡献方式 |
|||
示例:`GitHub Pull Request, Bug 反馈` |
|||
== 使用示例 == |
== 使用示例 == |
||
<syntaxhighlight lang="wikitext"> |
|||
使用时,复制以下模板调用方式,并根据需要填写相应的参数: |
|||
<nowiki> |
|||
{{SoftwareInfo |
{{SoftwareInfo |
||
| 开发者 = |
| 开发者 = 示例团队 |
||
| 官网 = |
| 官网 = https://example.com |
||
| 下载 = https:// |
| 下载 = https://example.com/download |
||
| 版本号 = 1.2.3 |
|||
| 类别 = 系统优化工具 |
|||
| |
| 系统 = Windows 10 |
||
| 许可证 = MIT |
|||
}} |
|||
</syntaxhighlight> |
|||
== 样式 == |
|||
| 版本号 = 10.1.1002.2 |
|||
* 该模板使用 <code>infobox</code> 类,样式位于:[[Template:Infobox/styles.css]]。 |
|||
| 大小=3MB |
|||
* 该模板同时使用 <code>navbox</code> 样式:[[Template:Navbox/styles.css]]。 |
|||
| 更新日期 = 20250326 |
|||
| 语言 = 1 |
|||
| 系统 = Windows Vista, 7, 8, 8.1, 10 |
|||
| 架构 = x86, x64 |
|||
| 开发语言 = Visual Basic .NET, C, PowerShell, C++ |
|||
| 界面 = GUI |
|||
== TemplateData == |
|||
| 功能 = 集成更新和驱动程序、清理 WinSxS 和 Package Cache、自定义操作系统镜像、加速 Windows 部署过程 |
|||
<templatedata> |
|||
| 相关软件 = WePE |
|||
{ |
|||
| 发行方式 = 官网下载、GitHub |
|||
"description": "用于展示软件的基础信息、版本架构、功能与许可证信息。", |
|||
"format": "block", |
|||
| 许可证 = Apache-2.0 |
|||
"params": { |
|||
| GitHub=https://github.com/Chuyu-Team/Dism-Multi-language |
|||
"开发者": {"label": "开发者", "description": "软件开发者或组织。", "type": "line", "required": false, "suggested": true, "example": "示例团队"}, |
|||
| 贡献方式 = GitHub Pull Request, Bug 反馈 |
|||
"官网": {"label": "官网", "description": "软件官方网站 URL。", "type": "url", "required": false, "suggested": true, "example": "https://example.com"}, |
|||
}} |
|||
"下载": {"label": "下载", "description": "下载地址 URL。", "type": "url", "required": false, "suggested": true, "example": "https://example.com/download"}, |
|||
</nowiki> |
|||
"类别": {"label": "类别", "description": "软件类别。", "type": "line", "required": false, "suggested": true, "example": "开发工具"}, |
|||
"状态": {"label": "状态", "description": "维护状态。", "type": "line", "required": false, "suggested": true, "example": "活跃维护"}, |
|||
"版本号": {"label": "版本号", "description": "当前版本号。", "type": "line", "required": false, "suggested": true, "example": "1.2.3"}, |
|||
"大小": {"label": "大小", "description": "安装包大小。", "type": "line", "required": false, "suggested": false, "example": "64 MB"}, |
|||
"更新日期": {"label": "更新日期", "description": "最近更新时间。", "type": "date", "required": false, "suggested": false, "example": "2026-05-19"}, |
|||
"语言": {"label": "语言", "description": "语言代码,如 zh、en。", "type": "line", "required": false, "suggested": false, "example": "zh"}, |
|||
"系统": {"label": "系统", "description": "支持的操作系统。", "type": "line", "required": false, "suggested": true, "example": "Windows/macOS/Linux"}, |
|||
"架构": {"label": "架构", "description": "支持的 CPU 架构。", "type": "line", "required": false, "suggested": false, "example": "x64"}, |
|||
"开发语言": {"label": "开发语言", "description": "主要开发语言。", "type": "line", "required": false, "suggested": false, "example": "C++"}, |
|||
"界面": {"label": "界面", "description": "界面类型。", "type": "line", "required": false, "suggested": false, "example": "GUI"}, |
|||
"功能": {"label": "功能", "description": "主要功能摘要。", "type": "content", "required": false, "suggested": false}, |
|||
"相关软件": {"label": "相关软件", "description": "相关工具或替代软件。", "type": "line", "required": false, "suggested": false}, |
|||
"发行方式": {"label": "发行方式", "description": "发行方式(免费、商业等)。", "type": "line", "required": false, "suggested": false}, |
|||
"许可证": {"label": "许可证", "description": "开源或商业许可证。", "type": "line", "required": false, "suggested": true, "example": "MIT"}, |
|||
"GitHub": {"label": "GitHub", "description": "GitHub 仓库或主页 URL。", "type": "url", "required": false, "suggested": false, "example": "https://github.com/example/project"}, |
|||
"贡献方式": {"label": "贡献方式", "description": "如何参与贡献。", "type": "line", "required": false, "suggested": false, "example": "Issue / PR"} |
|||
}, |
|||
"paramOrder": [ |
|||
"开发者", "官网", "下载", "类别", "状态", "版本号", "大小", "更新日期", "语言", "系统", "架构", "开发语言", "界面", "功能", "相关软件", "发行方式", "许可证", "GitHub", "贡献方式" |
|||
] |
|||
} |
|||
</templatedata> |
|||
[[Category: |
<noinclude>[[Category:站点模板]]</noinclude> |
||
[[Category:模板说明]] |
<noinclude>[[Category:模板说明]]</noinclude> |
||
2026年5月19日 (二) 13:21的最新版本
模板说明
SoftwareInfo 用于展示软件的基本信息与发行方式。
参数说明
以下字段均可选:
开发者、官网、下载、类别、状态版本号、大小、更新日期、语言系统、架构、开发语言、界面功能、相关软件、发行方式许可证、GitHub、贡献方式
使用示例
{{SoftwareInfo
| 开发者 = 示例团队
| 官网 = https://example.com
| 下载 = https://example.com/download
| 版本号 = 1.2.3
| 系统 = Windows 10
| 许可证 = MIT
}}
样式
- 该模板使用
infobox类,样式位于:Template:Infobox/styles.css。 - 该模板同时使用
navbox样式:Template:Navbox/styles.css。
TemplateData
用于展示软件的基础信息、版本架构、功能与许可证信息。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 开发者 | 开发者 | 软件开发者或组织。
| 单行文本 | 推荐 |
| 官网 | 官网 | 软件官方网站 URL。
| URL | 推荐 |
| 下载 | 下载 | 下载地址 URL。
| URL | 推荐 |
| 类别 | 类别 | 软件类别。
| 单行文本 | 推荐 |
| 状态 | 状态 | 维护状态。
| 单行文本 | 推荐 |
| 版本号 | 版本号 | 当前版本号。
| 单行文本 | 推荐 |
| 大小 | 大小 | 安装包大小。
| 单行文本 | 可选 |
| 更新日期 | 更新日期 | 最近更新时间。
| 日期 | 可选 |
| 语言 | 语言 | 语言代码,如 zh、en。
| 单行文本 | 可选 |
| 系统 | 系统 | 支持的操作系统。
| 单行文本 | 推荐 |
| 架构 | 架构 | 支持的 CPU 架构。
| 单行文本 | 可选 |
| 开发语言 | 开发语言 | 主要开发语言。
| 单行文本 | 可选 |
| 界面 | 界面 | 界面类型。
| 单行文本 | 可选 |
| 功能 | 功能 | 主要功能摘要。 | 内容 | 可选 |
| 相关软件 | 相关软件 | 相关工具或替代软件。 | 单行文本 | 可选 |
| 发行方式 | 发行方式 | 发行方式(免费、商业等)。 | 单行文本 | 可选 |
| 许可证 | 许可证 | 开源或商业许可证。
| 单行文本 | 推荐 |
| GitHub | GitHub | GitHub 仓库或主页 URL。
| URL | 可选 |
| 贡献方式 | 贡献方式 | 如何参与贡献。
| 单行文本 | 可选 |