跳转到内容

模板:Infobox software/doc:修订间差异

来自代码酷
Admin留言 | 贡献
导入1个版本
Admin留言 | 贡献
导入1个版本
 
(没有差异)

2025年5月1日 (四) 21:15的最新版本

用法[编辑源代码]

选择性地複製以下空白原始碼,并将其放在軟體條目頁面的頂端。

{{{name}}}
Other names{{{other_names}}}
Original author(s){{{author}}}
Developer(s){{{developer}}}
Initial release{{{released}}}
模板:Infobox software/simple
Repository{{{repo}}}
Written in{{{programming language}}}
Middleware{{{middleware}}}
Engine{{{engine}}}
Operating system{{{operating system}}}
Platform{{{platform}}}
Included with{{{included with}}}
Predecessor{{{replaces}}}
Successor{{{replaced_by}}}
Service name{{{service_name}}}
Size{{{size}}}
Standard(s){{{standard}}}
Available in{{{language count}}} languages{{{language footnote}}}
List of languages
{{{language}}}
Type{{{genre}}}
License{{{license}}}
Website{{{website}}}
As of{{{AsOf}}}
{{Infobox software
| name                   = 
| logo                   = <!-- 只填图片名 -->
| logo alt               = 
| logo caption           = 
| screenshot             = <!-- 只填图片名 -->
| screenshot-hans        = <!-- 圖片分為簡繁兩版時,填寫簡體版圖片名 -->
| screenshot-hant        = <!-- 圖片分為繁簡兩版時,填寫繁體版圖片名 -->
| screenshot size        =
| screenshot alt         = 
| caption                = 
| collapsible            = <!-- 填写任意文本均会折叠截图,只允許「screenshot」或「screenshot-hans」、「screenshot-hant」參數是自由版權時才能隱藏截圖 -->
| author                 = 
| developer              = 
| released               = <!-- {{Start date and age|YYYY|MM|DD}} -->
| repo                   = <!-- {{URL|example.org}} 如果留空,会自动从wikidata填充 -->
| programming language   = 
| middleware             =
| engine                 = <!-- 或 engines 如果留空,会自动从wikidata填充-->
| operating system       = 
| platform               = 
| included with          = 
| size                   = 
| language               = 
| language count         = <!-- 仅数字 -->
| language footnote      = 
| genre                  = 
| license                = <!-- 如果留空,会自动从wikidata填充 -->
| website                = <!-- {{URL|example.org}} 如果留空,会自动从wikidata填充 -->
| standard               = 
| AsOf                   =
| latest release         = <!-- 如果留空,会自动从wikidata填充 -->
| latest release qid     = <!-- latest release使用的wikidata的Q标识符,默认为条目对应的Q标识符 -->
| hide latest release    = <!-- 是否隐藏latest release,默认为no -->
| discontinued           = <!-- 如果软件已停产,则设为“yes”,否则省略 -->
}}

範例[编辑源代码]

Example: Yoyodyne
Developer(s)Yoyodyne Industries Inc.
Initial release1911; 114 years ago (1911)
模板:Infobox software/simple
Repository
  • {{URL|example.com|optional display text}}
Engine
    Operating systemUnix-like
    Size25 MB
    TypeYoyonics
    LicenseGNU General Public License
    Websitewww.example.org
    {{Infobox Software
    | name                   = Example: Yoyodyne
    | logo                   = 
    | screenshot             = [[File:Yoyo patent 1866.png|200px]]
    | caption                = Yoyodyne v0.9 screenshot
    | developer              = Yoyodyne Industries Inc.
    | released               = {{Start date|1911}}
    | latest release         = 0.9({{Start date and age|2006|01|01}}| operating system       = [[Unix-like]]
    | size                   = 25&nbsp;[[Megabyte|MB]]
    | genre                  = Yoyonics
    | license                = [[GNU General Public License]]
    | website                = {{URL|www.example.org}}
    }}
    

    參數[编辑源代码]

    This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox software in articles based on its TemplateData.

    TemplateData for Infobox software

    在计算机软件中使用的信息框。

    模板参数

    此模板首选参数换行的代码块格式。

    参数描述类型状态
    标题title

    若未指定,则使用‘name’参数或 PAGENAME。

    字符串可选
    名称name

    标题未指定时使用的名称。

    默认值
    PAGENAME
    单行文本可选
    标志logo

    标志(图像)的文件名。

    示例值
    The GIMP icon - gnome.svg
    文件可选
    标志尺寸logo_size

    无描述

    示例值
    64px
    单行文本可选
    标志的替代文本logo_alt

    无描述

    单行文本可选
    标志的标题logo caption

    如果只是简单的‘X 的标志’,那么直接留空更好。保留用于特殊情况,如说明一些必要的情况或用于插入 {{ffdc}} 或 {{deletable image-caption}}。

    wikitext片段可选
    截图screenshot

    截图的文件名。

    示例值
    GIMP_screenshot.png
    文件可选
    简体版截图screenshot-hans

    简体版截图的文件名。

    示例值
    GIMP_screenshot_(zh-hans).png
    文件可选
    繁体版截图screenshot-hant

    繁体版截图的文件名。

    示例值
    GIMP_screenshot_(zh-hant).png
    文件可选
    截图尺寸screenshot_size

    无描述

    示例值
    300px
    单行文本可选
    截图的替代文本screenshot_alt

    无描述

    单行文本可选
    截图的标题caption

    无描述

    单行文本可选
    可折叠collapsible

    当本截图默认隐藏时,设为‘yes’以在可折叠区域中显示截图,不建議在合理使用的軟體截圖上使用"collapsible"參數,詳見Wikipedia:非自由内容使用准则#8。

    单行文本可选
    原作者author

    软件的原始作者或发布者名。可以是个人或组织机构名。多数情况下指定了开发者字段后才会用到该参数。

    字符串可选
    开发者developer

    软件目前的开发者名。可以是个人或组织机构名称。

    字符串可选
    首次发布released

    在软件开发到正式发布(RTM)阶段时发布 1.0 版本(或最接近版本)的日期。如果条目是有关某个主流版本的内容(如 Internet Explorer 8 或 Microsoft Office 2007),则该字段应包含该主流版本正式发布(即到达 RTM 阶段)的日期。如果软件仍在开发中且尚未正式发布,请忽略该字段,即不要使用该字段指定首个预览版或测试版的发布日期,因为已经存在该用途的参数。该字段的格式应类似:{{Start date and age|year|month|day}}。如果条目使用 DMY 的日期格式,请相应替换为:{{Start date and age|year|month|day}} 。如果您不确定日期格式,请参考 WP:MOSDATES。

    wikitext片段可选
    最新版本latest release

    该软件最新发布的版本号和发布日期,如‘1.0.0({{Start date and age|year|month|day}})’。

    wikitext片段可选
    最新版本的qidlatest release qid

    latest release使用的wikidata的Q标识符,默认为条目对应的Q标识符。

    单行文本可选
    隐藏最新版本hide latest release

    是否隐藏latest release,默认为no。

    单行文本可选
    编程语言programming language programming_language

    编写软件的语言。如果该语言在维基百科中有相应条目,请加上链接,如 [[C++]]、[[Python]]。

    wikitext片段可选
    操作系统operating system operating_system

    软件适用的操作系统。请尽可能准确指明(同时也注意长度)、避免模糊的表达,如跨平台、多平台。对于可运行于 unix/linux 所有版本的软件可使用‘[[Unix-like]]’,对于适用 Windows 平台的则可使用‘[[Microsoft Windows]]’、‘[[Windows]]’或‘[[Windows XP]] 及更高版本’。如果软件是与操作系统无关的网页程序,则忽略此参数。

    字符串可选
    平台platform

    软件运行的计算平台。可以指定处理器,如‘[[IA-32]]’(i386)、‘[[x86-64]]’、‘Itanium’、‘ARM’或‘MIPS’。

    wikitext片段可选
    安装包大小size

    安装包大小。只适用于可下载的软件。如‘{{Nowrap|48 MB}}’。

    wikitext片段可选
    语言language

    软件用户界面支持的自然语言列表。不要使用‘多语言’或类似的模糊说法。

    字符串可选
    支持语言数language count

    软件用户界面支持的自然语言数。

    数字可选
    对支持语言的脚注language footnote

    该参数用于提供可用翻译的引文。

    字符串可选
    类型genre

    程序类型。应该内部链接到其他条目。更多信息请参考软件分类列表。

    示例值
    [[桌面搜索]]
    wikitext片段可选
    许可证license

    允许消费者使用软件的许可证类型。

    示例值
    [[专有软件|专有]]
    wikitext片段可选
    licencelicence

    Alternative to license for articles using Commonwealth English.

    字符串可选
    代码库repo

    软件[[仓库 (版本控制)|代码库]]的網址。格式:{{URL|http://www.example.com/repo}}。

    字符串可选
    网站website

    软件包网站的网址。格式:{{URL|http://www.example.com}}。

    wikitext片段可选
    技术标准standard

    软件的技术标准。

    字符串可选
    AsOfAsOf

    Month Year.

    字符串可选
    bodystylebodystyle

    应用于信息框整体的 CSS 样式。

    字符串可选
    是否停产discontinued

    如果软件已停产,则设为“yes”,否则省略。

    示例值
    yes
    字符串可选
    内置于included with included_with

    无描述

    字符串可选
    中间件middleware

    软件的中间件。

    字符串可选
    别名other_names

    其它的名称

    字符串可选

    微格式[编辑源代码]

    此模板產生的HTML标记包含了hCalendar微格式,能夠讓電腦解析事件的详情,便于维基百科将该条目归类,或让用户通过浏览器将该事件添加进日历或日记应用程序中。關於微格式的更多使用資訊,請參閱維基百科的微格式專題

    日期只会在使用了{{Start date}}{{End date}}的情况下显示,URL只会在使用了{{Url}}的情况下被包含。

    hCalendar使用的HTML class包括:

    • attendee
    • contact
    • description
    • dtend
    • dtstart
    • location
    • organiser
    • summary
    • url
    • vevent

    請勿移除或修改這些class,也請勿更改或移除有相關設定之模板及設定。

    追踪模板[编辑源代码]

    參見[编辑源代码]