跳转到内容

Template:Infobox OS/doc:修订间差异

维基百科,自由的百科全书
删除的内容 添加的内容
无编辑摘要
无编辑摘要
 
(未显示8个用户的25个中间版本)
第1行: 第1行:
<noinclude>{{Template_doc_page_viewed_directly}}</noinclude>
<noinclude>{{Template_doc_page_viewed_directly}}{{noteTA|G1=IT}}</noinclude>
<!-- 請在這條線之下編輯模板的說明文件 -->
<!-- 請在這條線之下編輯模板的說明文件 -->
<!--
<!--
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
-->
-->
{{Lua|Module:Check for unknown parameters}}
{{Uses Wikidata|P856|P348|P577|P548|P400}}
<includeonly>{{Wikidata template}}</includeonly>
<includeonly>{{Wikidata template}}</includeonly>

'''于条目中用noteTA,而不是修改模板!'''
地区词问题,'''于条目中用noteTA,而不是修改模板'''!

本模板是使用於[[作業系統]](OS)條目中的-{zh-hans:信息框(资讯框); zh-hant:資訊框(信息框)}-。
本模板是使用於[[作業系統]](OS)條目中的-{zh-hans:信息框(资讯框); zh-hant:資訊框(信息框)}-。


== 使用方式 ==
== 使用方式 ==
複製以下代碼,貼在條目頁面頂端,並填入其中內容(填入欄位說明如下)
複製以下代碼,貼在條目頁面頂端,並填入其中內容(填入欄位說明如下)
{{Parameter names example|_template=Infobox OS|bodystyle|title|name|version_of|version of|logo|logo_size|logo size|logo_alt|logo alt|logo_caption|logo caption|collapsible|screenshot|screenshot_size|screenshot_alt|caption|developer|programmed_in|programmed in|prog_language|prog language|family|working_state|working state|source_model|source model|RTM_date|RTM date|first_release_date|first release date|GA_date|GA date|released|RTM_url|RTM url|GA_url|GA url|discontinued|latest release version|latest_release_version|release_version|release version|latest release date|latest_release_date|release_date|release date|release_url|release url|latest preview version|latest_preview_version|preview_version|preview version|latest preview date|latest_preview_date|preview_date|preview date|preview_url|preview url|repo|marketing_target|marketing target|language|human_language|human language|updatemodel|update_model|update model|package_manager|package manager|supported_platforms|supported platforms|kernel_type|kernel type|userland|influenced|influenced_by|influenced by|ui|license|preceded_by|preceded by|succeeded_by|succeeded by|website|tagline|support_status|support status|other_articles|other articles}}
<pre>

{{Infobox OS
| name =
| logo =
| screenshot =
| caption =
| developer =
| family =
| working_state =
| source_model =
| released =
| latest_release_version =
| latest_release_date =
| latest_preview_version =
| latest_preview_date =
| frequently_updated =
| marketing_target =
| language =
| prog_language =
| updatemodel =
| package_manager =
| supported_platforms =
| kernel_type =
| userland =
| ui =
| license =
| preceded_by =
| succeeded_by =
| website =
}}
</pre>


{{Parameter names manual|bodystyle|title|name|version_of|version of|logo|logo_size|logo size|logo_alt|logo alt|logo_caption|logo caption|collapsible|screenshot|screenshot_size|screenshot_alt|caption|developer|programmed_in|programmed in|prog_language|prog language|family|working_state|working state|source_model|source model|RTM_date|RTM date|first_release_date|first release date|GA_date|GA date|released|RTM_url|RTM url|GA_url|GA url|latest release|repo|marketing_target|marketing target|language|human_language|human language|updatemodel|update_model|update model|package_manager|package manager|supported_platforms|supported platforms|kernel_type|kernel type|userland|influenced|influenced_by|influenced by|ui|license|preceded_by|preceded by|succeeded_by|succeeded by|website|repo|support_status|support status|other_articles|other articles|latest release qid|hide latest release}}
===欄位填寫說明===
*name = 名稱
*logo = 標誌
*caption = 圖片說明
*screenshot = 螢幕截圖
*website = 網站
*developer = 研發公司
*family = 家族
*source_model = -{zh-hans:源码模式;zh-hant:原始碼模式}-
*latest_release_version = 最新發行的版本
*latest_release_date = 最新版本的發行日期(需与latest_release_version同时出现)
*latest_preview_version = 測試版本
*latest_preview_date = 測試版本的發行日期(需与latest_preview_version同时出现)
*kernel_type = [[内核|-{zh-hans:内核;zh-hant:核心}-]]类型
*ui = -{zh-hans:默认; zh-hant:預設}-[[用户界面|-{zh-hans:用户界面; zh-hant:使用者界面}-]]
*license = 軟體授權
*working_state = 運行狀態(運作中還是已經成為歷史)
*supported_platforms = 支援的平台,建議使用外部連結的方式
*updatemodel = 更新方式(手動更新?自動更新?Windows Update?)
*package_manager = 封包管理程式(例如:RPM、DEB、Ebuild、Slackware TGZ ...等)


== 詳細用法 ==
== 詳細用法 ==
A number of elements of this template need further explanation:

'''Family''' - This is the operating system family, examples include [[Microsoft Windows]], [[Unix]], and [[Unix-like]]. ''Linux'' is not a family, but rather a kernel. All Linux distributions are part of the Unix-like family.

'''Source model''' - This field is deprecated since it duplicates the ''license'' field.

'''Kernel type''' - For Linux distros, this should be <nowiki>[[Linux kernel|Linux]]</nowiki>. It should not be the name of a distro.
{{TemplateDataHeader}}
{{TemplateDataHeader}}
<templatedata>
<templatedata>
{
{
"description": "本模板用于操作系统条目。",
"description": "This template can be used to provide a summary for articles on computer [[operating system]]s.",
"params": {
"params": {
"name": {
"title": {
"label": "Name",
"label": "标题",
"type": "string",
"description": "The name of the operating system. This should match the name of the article. For example: 'Microsoft Windows'",
"required": false,
"type": "string",
"description": "操作系统名称,在信息框顶部显示。如不填写,则显示“名称”参数中的内容或页面标题。请填写纯文本,不要加入维基链接、超链接或图像。"
"required": true
},
},
"logo": {
"name": {
"label": "Logo",
"label": "名称",
"type": "string",
"description": "An image path for the logo associated with this operating system. Logos used must comply with [[Wikipedia:Logos]] guidelines. For example: 'File:Microsoft Windows XP Logo.svg'",
"required": true,
"type": "string",
"description": "信息框所用名称。当“标题”参数未指定时亦会显示在页面顶部。请填写纯文本,不要加入任何维基语法。",
"required": false
"default": "PAGENAME"
},
},
"logo_size": {
"logo": {
"label": "Logo size",
"label": "标志",
"description": "A width for the image, including the 'px'; the default is '250px'. For example: '106px'",
"description": "操作系统标志<!-- ,需遵守[[Wikipedia:标志]]指引 -->。填写例:File:Microsoft Windows XP Logo.svg",
"type": "string",
"type": "wiki-file-name",
"required": false
"required": false
},
},
"logo_caption": {
"logo size": {
"label": "Logo caption",
"label": "标志大小",
"description": "Icon to display in the title.",
"description": "标志宽度,以“px”(像素)结尾,默认为250px。填写例:106px",
"type": "string",
"type": "string",
"required": false
"required": false,
},
"aliases": [
"screenshot": {
"logo_size"
"label": "Screenshot",
]
"description": "A screenshot depicting the operating system in its default configuration. Screen shots should not include any non-standard themes, third-party applications, or personally identifiable information. Also, per [[Wikipedia:Avoid self-references]], no references to Wikipedia should be visible. For example: 'File:MacOS81 screenshot.png'",
},
"type": "string",
"logo caption": {
"required": false
"label": "标志说明",
},
"description": "标志说明",
"screenshot_size": {
"type": "content",
"label": "Screenshot size",
"required": false,
"description": "A width for the screenshot, including the 'px'; the default is '290px'. For example: '200px'",
"aliases": [
"type": "string",
"logo_caption"
"required": false
]
},
},
"screenshot_alt": {
"screenshot": {
"label": "Screenshot alt",
"label": "截图",
"description": "An alternative text for the screenshot. For example: 'Fedora 8 desktop'",
"description": "操作系统默认配置下的截图,不应包含任何非标准主题、第三方程序或可用于识别个人身份的信息。填写例:File:Windows 8 screenshot.png",
"type": "string",
"type": "wiki-file-name",
"required": false
"required": false
},
},
"caption": {
"screenshot_size": {
"label": "Caption",
"label": "截图大小",
"description": "A caption describing the screenshot. Use of the word 'screenshot' in the description can be considered redundant, as the template places the image in a section titled 'Screenshot'. For example: 'Screenshot of the Mac OS 8.1 desktop'",
"description": "截图宽度,以“px”(像素)结尾,默认为290px。填写例:200px",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"collapsible": {
"screenshot_alt": {
"label": "Collapsible",
"label": "截图替代文本",
"description": "If the screenshot is too big, this parameter set to 'yes' will collapse this.",
"description": "截图的替代文本,视障人士使用的屏幕阅读器会读出这些文本,应写出截图在文中的作用。",
"default": "no",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"developer": {
"caption": {
"label": "Developer",
"label": "说明",
"description": "截图说明。仅填写“截图”等字样会显得多余,因为截图可能会在模板中“截图”一栏下显示。填写例:Windows 8桌面截图",
"description": "Name of the current developer of the software product. It can be either an individual or an organization/business. For example: 'Microsoft'",
"type": "string",
"type": "content",
"required": false
"required": false
},
},
"family": {
"collapsible": {
"label": "Family",
"label": "可折叠",
"description": "如果截图过大,请设置为“yes”以折叠截图",
"description": "The name of the family/line of operating systems that this version is a part of. For example: 'Mac OS X'",
"type": "string",
"default": "no",
"type": "line",
"required": false
"required": false
},
},
"working state": {
"version of": {
"label": "Working state",
"label": "所属操作系统",
"description": "Working state of the operating system. Can be 'Current', 'Discontinued', or 'No longer supported'",
"description": "所属操作系统名称,信息框位于介绍操作系统某一特定版本的条目时填写。",
"type": "string",
"type": "content",
"required": false
"required": false,
},
"aliases": [
"source model": {
"version_of"
"label": "Source model",
]
"description": "Source model of the operating system. Can be 'Open source', 'Closed source', or 'Shared source'",
},
"type": "string",
"developer": {
"required": false
"label": "开发者",
},
"description": "软件的目前开发者,可以是个人或组织。填写例:微软",
"working state": {
"type": "content",
"label": "working state",
"required": false
"description": "Working state of the operating system. Can be 'Current', 'Discontinued', or 'No longer supported'",
},
"type": "string",
"family": {
"required": false
"label": "作業系統家族",
},
"description": "版本所处的操作系统家族,例如“[[Microsoft Windows]]”“[[类Unix]]”或“[[Mac OS]]”。“Linux”和“Mac OS X”不是操作系统家族",
"working state": {
"type": "string",
"label": "working state",
"required": false
"description": "Working state of the operating system. Can be 'Current', 'Discontinued', or 'No longer supported'",
},
"type": "string",
"working state": {
"required": false
"label": "運作狀態",
}
"description": "操作系统当前状态,可填写“運作中”“停止开发”或“停止支持”",
}
"type": "line",
"required": false,
"aliases": [
"working_state"
]
},
"source model": {
"label": "源码模式",
"description": "操作系统的源码模式,可填写“[[开放源代码]]”“[[封闭源代码]]”“[[共享源代码]]”或“源代码可用”。不要使用“自由软件”“自由开源软件”或“FOSS”,这些描述更偏向于许可模式,并不一定指用“开放源代码”模式开发",
"type": "line",
"required": false,
"aliases": [
"source_model"
]
},
"released": {
"label": "首次发布",
"description": "操作系统首个公开发行版的发行日期,应使用{{Start date and age|年|月|日}}。如果填写了“RTM date”或“GA date”,则本参数的值不会显示",
"type": "content",
"required": false
},
"RTM date": {
"label": "發放給生產商",
"description": "操作系统發放給生產商(RTM)的日期,应使用{{Start date and age|年|月|日}}。填写后,“初始版本”参数的值将被忽略。注意:本参数仅适用于介绍操作系统某一特定版本的条目",
"type": "content",
"aliases": [
"RTM_date",
"first release date",
"first_release_date"
],
"required": false
},
"GA date": {
"label": "正式发售日期",
"description": "操作系统正式发售的日期,应使用{{Start date and age|年|月|日}}。填写后,“初始版本”参数的值将被忽略。注意:本参数仅适用于介绍操作系统某一特定版本的条目",
"type": "content",
"required": false,
"aliases": [
"GA_date"
]
},
"marketing target": {
"label": "市場取向",
"description": "操作系统的目标受众市场",
"type": "string",
"required": false,
"aliases": [
"marketing_target"
]
},
"programmed in": {
"label": "编程语言",
"description": "操作系统使用的编程语言。填写例:[[C语言]]",
"type": "content",
"aliases": [
"prog language",
"prog_language",
"programmed_in"
],
"required": false
},
"language": {
"label": "语言",
"description": "操作系统支持的自然语言。避免只填写语言数量,或是加入语言内链",
"type": "string",
"required": false,
"aliases": [
"human language",
"human_language"
]
},
"update model": {
"label": "更新方式",
"description": "用于更新操作系统的工具或方式",
"type": "string",
"required": false,
"aliases": [
"updatemodel",
"update_model"
]
},
"package manager": {
"label": "软件包管理系统",
"description": "操作系统提供的软件包管理系统,请加入内链",
"type": "content",
"required": false,
"aliases": [
"package_manager"
]
},
"supported platforms": {
"label": "支援平台",
"description": "操作系统支持的硬件平台",
"type": "string",
"required": false,
"aliases": [
"supported_platforms"
]
},
"kernel type": {
"label": "内核类别",
"description": "操作系统内核的类别,包括“[[宏内核]]”和“[[微内核]]”。注意:Linux发行版应为“[[宏内核]]([[Linux内核|Linux]])”",
"type": "content",
"required": false,
"aliases": [
"kernel_type"
]
},
"userland": {
"label": "使用者空間",
"description": "操作系统的用户空间类型,可填写“BSD”“[[GNU核心工具组|GNU]]”等",
"type": "content",
"required": false
},
"ui": {
"label": "默认用户界面",
"description": "操作系统默认情况下进入的用户界面",
"type": "content",
"required": false
},
"license": {
"label": "许可证",
"description": "操作系统使用的许可证(可加内链,如[[GPLv2]])或许可模式(“[[专有软件]]”或“[[免费软件]]”)",
"type": "content",
"required": false
},
"preceded by": {
"label": "前一代",
"description": "对于操作系统条目,应填写该系统正式取代的操作系统(或操作系统列表);对于特定版本条目,应填写该操作系统中上一个面向相同受众的版本",
"type": "content",
"required": false,
"aliases": [
"preceded_by"
]
},
"succeeded by": {
"label": "后一代",
"description": "对于操作系统条目,应填写正式取代该系统的操作系统(或操作系统列表);对于特定版本条目,应填写该操作系统中下一个面向相同受众的版本",
"type": "string",
"required": false,
"aliases": [
"succeeded_by"
]
},
"website": {
"label": "官方網站",
"description": "软件包的网址。为在打印时拥有更佳效果,可使用{{tl|URL}}模板,如“{{URL|http://www.example.com}}”;应避免使用对打印不友好的格式,如“[http://www.example.com Example website]”。如不填写,信息框会尝试从Wikidata获取网址;如填写,Wikidata上的链接将被忽略(可在条目中有多个信息框,而部分信息框不同于条目主题时使用)。若要强制隐藏本字段,请填写特殊值“hide”,Wikidata上的链接将被忽略(可在需隐藏条目中部分信息框中网址字段,以避免重复时使用)。",
"type": "content",
"required": false
},
"repo": {
"label": "仓库",
"description": "在线源代码仓库(如果有的话)。例如,sourceforge或github项目页面。和website参数一样,它应该使用{{URL}}模板。如果没有此参数,infobox将尝试从Wikidata获取存储库链接。此参数覆盖Wikidata链接。",
"type": "string",
"required": false
},
"support status": {
"label": "支援状态",
"description": "操作系统特定版本的支持状态,仅适用于介绍操作系统某一特定版本的条目",
"type": "string",
"required": false,
"aliases": [
"support_status"
]
},
"other articles": {
"label": "有关这系列的条目",
"description": "与该条目有紧密联系条目的列表。对于联系不紧密的相关条目,可考虑在文中使用“参见”章节。",
"type": "content",
"required": false,
"aliases": [
"other_articles"
]
},
"language count": {
"label": "语言总数",
"description": "支持的自然语言数量。填写后,语言列表会被折叠。",
"type": "number"
},
"language footnote": {
"label": "语言脚注",
"description": "支持语言数量的来源(语言列表可使用不同的来源)。条目有脚注系统时,可使用<ref>标签。",
"type": "unbalanced-wikitext"
},
"RTM url": {
"aliases": [
"RTM_url"
],
"label": "RTM信息来源",
"type": "unbalanced-wikitext",
"deprecated": "不要使用该参数。来源须在相应参数中使用<ref>或{{sfn}}标明。",
"description": "过时参数,请勿使用。"
},
"GA url": {
"aliases": [
"GA_url"
],
"label": "正式发售信息来源",
"type": "unbalanced-wikitext",
"deprecated": "不要使用该参数。来源须在相应参数中使用<ref>或{{sfn}}标明。",
"description": "过时参数,请勿使用。"
},
"logo alt": {
"aliases": [
"logo_alt"
],
"label": "标志替代文本",
"description": "标志的替代文本,视障人士使用的屏幕阅读器会读出这些文本,应写出标志在文中的作用。",
"type": "string"
},
"influenced": {
"label": "施影響於",
"description": "受该操作系统影响的技术、软件、设备或方法。",
"type": "string"
},
"influenced by": {
"aliases": [
"influenced_by"
],
"label": "受影響於",
"description": "影响该操作系统开发的技术、软件、设备或方法。",
"type": "string"
},
"bodystyle": {
"label": "Body样式",
"description": "指定适用于整个信息框的CSS样式规则,仅在绝对必要时使用,请勿作恶;)",
"type": "string"
},
"latest release": {
"label": "当前版本",
"description": "对于操作系统条目,应填写最新版本的名称和发布日期,如‘Windows 8.1({{Start date and age|year|month|day}})’;对于特定版本条目,应填写最新版本的版本号和发布日期,如‘6.3.9600({{Start date and age|year|month|day}})’",
"type": "unbalanced-wikitext"
},
"hide latest release": {
"label": "隐藏“当前版本”",
"description": "是否隐藏latest release,默认为no。",
"type": "line",
"default": "no"
},
"latest release qid": {
"label": "“当前版本”Q标识符",
"description": "latest release使用的wikidata的Q标识符,默认为条目对应的Q标识符。",
"example": "Q381",
"type": "line"
},
"discontinued": {
"label": "是否停产",
"description": "如果系统已停产,则设为“yes”,否则省略。",
"example": "yes",
"type": "line"
}
},
"paramOrder": [
"name",
"title",
"logo",
"logo size",
"logo caption",
"logo alt",
"screenshot",
"screenshot_size",
"screenshot_alt",
"caption",
"collapsible",
"version of",
"developer",
"programmed in",
"family",
"working state",
"source model",
"released",
"RTM date",
"RTM url",
"GA date",
"GA url",
"latest release",
"marketing target",
"language count",
"language footnote",
"language",
"update model",
"package manager",
"supported platforms",
"kernel type",
"userland",
"influenced",
"influenced by",
"ui",
"license",
"preceded by",
"succeeded by",
"website",
"repo",
"support status",
"other articles",
"bodystyle",
"hide latest release",
"latest release qid",
"discontinued"
],
"format": "block"
}
}
</templatedata>
</templatedata>

== 範例 ==
== 範例 ==
{{Infobox OS
{{Infobox OS
第180行: 第431行:
| family = [[Unix-like]]
| family = [[Unix-like]]
| released = {{Start date|1993|08|16}}
| released = {{Start date|1993|08|16}}
| latest release = 4.0r2 Etch ({{release date|2007|12|27}})
| frequently updated = yes
| latest release version = 4.0r2 Etch
| latest release date = {{release date|2007|12|27}}
| kernel type = [[Monolithic kernel|Monolithic]] ([[Linux kernel|Linux]], [[FreeBSD]]), [[Microkernel|Micro]] ([[GNU Hurd|Hurd]])
| kernel type = [[Monolithic kernel|Monolithic]] ([[Linux kernel|Linux]], [[FreeBSD]]), [[Microkernel|Micro]] ([[GNU Hurd|Hurd]])
| userland = [[GNU Core Utilities|GNU]]
| userland = [[GNU Core Utilities|GNU]]
第204行: 第453行:
| source model = [[Free and open source software]]
| source model = [[Free and open source software]]
| released = {{Start date|df=yes|1993|08|16}}
| released = {{Start date|df=yes|1993|08|16}}
| frequently updated = yes
| language = 63 languages<ref name="lenny released">{{cite web|url=http://www.debian.org/News/2009/20090214.en.html|title=Debian GNU/Linux 5.0 released|accessdate=2009-02-15|publisher=Debian|date= 2009-02-14}}</ref>
| language = 63 languages<ref name="lenny released">{{cite web|url=http://www.debian.org/News/2009/20090214.en.html|title=Debian GNU/Linux 5.0 released|accessdate=2009-02-15|publisher=Debian|date= 2009-02-14}}</ref>
| latest release version = 4.0r2 Etch
| latest release = 4.0r2 Etch ({{release date|2007|12|27}})
| latest release date = {{release date|2007|12|27}}
| kernel type = [[Monolithic kernel|Monolithic]] ([[Linux kernel|Linux]], [[FreeBSD]]), [[Microkernel|Micro]] ([[GNU Hurd|Hurd]])
| kernel type = [[Monolithic kernel|Monolithic]] ([[Linux kernel|Linux]], [[FreeBSD]]), [[Microkernel|Micro]] ([[GNU Hurd|Hurd]])
| userland = [[GNU Core Utilities|GNU]]
| userland = [[GNU Core Utilities|GNU]]
第220行: 第467行:


<div style="display:none">{{Template reference list}}</div>
<div style="display:none">{{Template reference list}}</div>

== 追踪模板 ==
* {{clc|使用未知操作系统信息框参数的页面}}


== 參見 ==
== 參見 ==
* {{tl|Infobox Software}}
* {{tl|Infobox software}}
* {{tl|Infobox Website}}
* {{tl|Infobox website}}
* {{tl|Infobox OS version}}


<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:軟體模板|OS]]
[[Category:软件信息框模板|OS]]
[[Category:操作系统模板‎]]

<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[als:Vorlage:Infobox Betriebssystem]]
[[ar:قالب:نظام تشغيل]]
[[ast:Plantía:Infobox OS]]
[[az:Şablon:ƏS]]
[[bg:Шаблон:Операционна система инфо]]
[[bn:টেমপ্লেট:Infobox OS]]
[[bs:Šablon:Infokutija operativni sistem]]
[[ca:Plantilla:Infotaula de sistema operatiu]]
[[da:Skabelon:Infoboks styresystem]]
[[de:Vorlage:Infobox Betriebssystem]]
[[en:Template:Infobox OS]]
[[eo:Ŝablono:Informkesto operaciumo]]
[[es:Plantilla:Ficha de sistema operativo]]
[[fr:Modèle:Infobox Système d'exploitation]]
[[he:תבנית:מערכת הפעלה]]
[[hr:Predložak:Infookvir OS]]
[[it:Template:Sistema operativo]]
[[is:Snið:Infobox OS]]
[[ja:Template:Infobox OS]]
[[kk:Үлгі:Infobox OS]]
[[ko:틀:운영 체제 정보]]
[[hu:Sablon:Operációs rendszer infobox]]
[[ky:Калып:Infobox OS]]
[[lv:Veidne:Operētājsistēmas infokaste]]
[[ml:ഫലകം:Infobox OS]]
[[nl:Sjabloon:Infobox besturingssysteem]]
[[or:ଛାଞ୍ଚ:Infobox OS]]
[[pl:Szablon:System operacyjny infobox]]
[[pt:Predefinição:Info/SO]]
[[ro:Format:Infocaseta Sistem de operare]]
[[ru:Шаблон:Карточка ОС]]
[[sk:Šablóna:Infobox Operačný systém]]
[[sr:Шаблон:Kutijica OS]]
[[sv:Mall:Infobox operativsystem]]
[[th:แม่แบบ:กล่องข้อมูล ระบบปฏิบัติการ]]
[[tr:Şablon:İS Künyesi]]
[[uk:Шаблон:Картка ОС]]
[[vi:Bản mẫu:Hộp thông tin HĐH]]
</includeonly>
</includeonly>

2023年8月2日 (三) 02:32的最新版本


地区词问题,于条目中用noteTA,而不是修改模板

本模板是使用於作業系統(OS)條目中的信息框(资讯框)。

使用方式

[编辑]

複製以下代碼,貼在條目頁面頂端,並填入其中內容(填入欄位說明如下)

{{{title}}}
{{{version_of}}}操作系统的一个版本
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]]
{{{logo caption}}}
螢幕截圖
[[File:{{{screenshot}}}|{{{screenshot_size}}}|alt={{{screenshot_alt}}}|{{{screenshot_alt}}}]]
{{{caption}}}
开发者{{{developer}}}
编程语言{{{programmed_in}}}
作業系統家族{{{family}}}
運作狀態{{{working_state}}}
源码模式{{{source_model}}}
發放給生產商{{{RTM_date}}}[1]
正式发售日期{{{GA_date}}}[2]
最终版本{{{latest release version}}} ({{{latest release date}}})
最終預覽{{{latest preview version}}} ({{{latest preview date}}})[3]
市場取向{{{marketing_target}}}
支持的语言{{{language}}}
更新方式{{{updatemodel}}}
软件包管理系统{{{package_manager}}}
支援平台{{{supported_platforms}}}
内核类别{{{kernel_type}}}
使用者空間{{{userland}}}
施影響於{{{influenced}}}
受影響於{{{influenced_by}}}
默认用户界面{{{ui}}}
许可证{{{license}}}
前一代{{{preceded_by}}}
后一代{{{succeeded_by}}}
官方網站{{{website}}}
仓库{{{repo}}}
支援状态
{{{support_status}}}
有关这系列的条目
{{{other_articles}}}


{{Infobox OS
| bodystyle =
| title =
| name =
| version_of =
| version of =
| logo =
| logo_size =
| logo size =
| logo_alt =
| logo alt =
| logo_caption =
| logo caption =
| collapsible =
| screenshot =
| screenshot_size =
| screenshot_alt =
| caption =
| developer =
| programmed_in =
| programmed in =
| prog_language =
| prog language =
| family =
| working_state =
| working state =
| source_model =
| source model =
| RTM_date =
| RTM date =
| first_release_date =
| first release date =
| GA_date =
| GA date =
| released =
| RTM_url =
| RTM url =
| GA_url =
| GA url =
| latest release =
| repo =
| marketing_target =
| marketing target =
| language =
| human_language =
| human language =
| updatemodel =
| update_model =
| update model =
| package_manager =
| package manager =
| supported_platforms =
| supported platforms =
| kernel_type =
| kernel type =
| userland =
| influenced =
| influenced_by =
| influenced by =
| ui =
| license =
| preceded_by =
| preceded by =
| succeeded_by =
| succeeded by =
| website =
| repo =
| support_status =
| support status =
| other_articles =
| other articles =
| latest release qid =
| hide latest release =
}}

詳細用法

[编辑]
以下是该模板的模板数据,适用于可视化编辑器等工具。

Infobox OS模板数据

本模板用于操作系统条目。

模板参数

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

参数描述类型状态
名称name

信息框所用名称。当“标题”参数未指定时亦会显示在页面顶部。请填写纯文本,不要加入任何维基语法。

默认值
PAGENAME
字符串必需
标题title

操作系统名称,在信息框顶部显示。如不填写,则显示“名称”参数中的内容或页面标题。请填写纯文本,不要加入维基链接、超链接或图像。

字符串可选
标志logo

操作系统标志<!-- ,需遵守[[Wikipedia:标志]]指引 -->。填写例:File:Microsoft Windows XP Logo.svg

文件可选
标志大小logo size logo_size

标志宽度,以“px”(像素)结尾,默认为250px。填写例:106px

字符串可选
标志说明logo caption logo_caption

标志说明

内容可选
标志替代文本logo alt logo_alt

标志的替代文本,视障人士使用的屏幕阅读器会读出这些文本,应写出标志在文中的作用。

字符串可选
截图screenshot

操作系统默认配置下的截图,不应包含任何非标准主题、第三方程序或可用于识别个人身份的信息。填写例:File:Windows 8 screenshot.png

文件可选
截图大小screenshot_size

截图宽度,以“px”(像素)结尾,默认为290px。填写例:200px

字符串可选
截图替代文本screenshot_alt

截图的替代文本,视障人士使用的屏幕阅读器会读出这些文本,应写出截图在文中的作用。

字符串可选
说明caption

截图说明。仅填写“截图”等字样会显得多余,因为截图可能会在模板中“截图”一栏下显示。填写例:Windows 8桌面截图

内容可选
可折叠collapsible

如果截图过大,请设置为“yes”以折叠截图

默认值
no
单行文本可选
所属操作系统version of version_of

所属操作系统名称,信息框位于介绍操作系统某一特定版本的条目时填写。

内容可选
开发者developer

软件的目前开发者,可以是个人或组织。填写例:微软

内容可选
编程语言programmed in prog language prog_language programmed_in

操作系统使用的编程语言。填写例:[[C语言]]

内容可选
作業系統家族family

版本所处的操作系统家族,例如“[[Microsoft Windows]]”“[[类Unix]]”或“[[Mac OS]]”。“Linux”和“Mac OS X”不是操作系统家族

字符串可选
運作狀態working state working_state

操作系统当前状态,可填写“運作中”“停止开发”或“停止支持”

单行文本可选
源码模式source model source_model

操作系统的源码模式,可填写“[[开放源代码]]”“[[封闭源代码]]”“[[共享源代码]]”或“源代码可用”。不要使用“自由软件”“自由开源软件”或“FOSS”,这些描述更偏向于许可模式,并不一定指用“开放源代码”模式开发

单行文本可选
首次发布released

操作系统首个公开发行版的发行日期,应使用{{Start date and age|年|月|日}}。如果填写了“RTM date”或“GA date”,则本参数的值不会显示

内容可选
發放給生產商RTM date RTM_date first release date first_release_date

操作系统發放給生產商(RTM)的日期,应使用{{Start date and age|年|月|日}}。填写后,“初始版本”参数的值将被忽略。注意:本参数仅适用于介绍操作系统某一特定版本的条目

内容可选
RTM信息来源RTM url RTM_url

过时参数,请勿使用。

wikitext片段弃用
正式发售日期GA date GA_date

操作系统正式发售的日期,应使用{{Start date and age|年|月|日}}。填写后,“初始版本”参数的值将被忽略。注意:本参数仅适用于介绍操作系统某一特定版本的条目

内容可选
正式发售信息来源GA url GA_url

过时参数,请勿使用。

wikitext片段弃用
当前版本latest release

对于操作系统条目,应填写最新版本的名称和发布日期,如‘Windows 8.1({{Start date and age|year|month|day}})’;对于特定版本条目,应填写最新版本的版本号和发布日期,如‘6.3.9600({{Start date and age|year|month|day}})’

wikitext片段可选
市場取向marketing target marketing_target

操作系统的目标受众市场

字符串可选
语言总数language count

支持的自然语言数量。填写后,语言列表会被折叠。

数字可选
语言脚注language footnote

支持语言数量的来源(语言列表可使用不同的来源)。条目有脚注系统时,可使用<ref>标签。

wikitext片段可选
语言language human language human_language

操作系统支持的自然语言。避免只填写语言数量,或是加入语言内链

字符串可选
更新方式update model updatemodel update_model

用于更新操作系统的工具或方式

字符串可选
软件包管理系统package manager package_manager

操作系统提供的软件包管理系统,请加入内链

内容可选
支援平台supported platforms supported_platforms

操作系统支持的硬件平台

字符串可选
内核类别kernel type kernel_type

操作系统内核的类别,包括“[[宏内核]]”和“[[微内核]]”。注意:Linux发行版应为“[[宏内核]]([[Linux内核|Linux]])”

内容可选
使用者空間userland

操作系统的用户空间类型,可填写“BSD”“[[GNU核心工具组|GNU]]”等

内容可选
施影響於influenced

受该操作系统影响的技术、软件、设备或方法。

字符串可选
受影響於influenced by influenced_by

影响该操作系统开发的技术、软件、设备或方法。

字符串可选
默认用户界面ui

操作系统默认情况下进入的用户界面

内容可选
许可证license

操作系统使用的许可证(可加内链,如[[GPLv2]])或许可模式(“[[专有软件]]”或“[[免费软件]]”)

内容可选
前一代preceded by preceded_by

对于操作系统条目,应填写该系统正式取代的操作系统(或操作系统列表);对于特定版本条目,应填写该操作系统中上一个面向相同受众的版本

内容可选
后一代succeeded by succeeded_by

对于操作系统条目,应填写正式取代该系统的操作系统(或操作系统列表);对于特定版本条目,应填写该操作系统中下一个面向相同受众的版本

字符串可选
官方網站website

软件包的网址。为在打印时拥有更佳效果,可使用{{tl|URL}}模板,如“{{URL|http://www.example.com}}”;应避免使用对打印不友好的格式,如“[http://www.example.com Example website]”。如不填写,信息框会尝试从Wikidata获取网址;如填写,Wikidata上的链接将被忽略(可在条目中有多个信息框,而部分信息框不同于条目主题时使用)。若要强制隐藏本字段,请填写特殊值“hide”,Wikidata上的链接将被忽略(可在需隐藏条目中部分信息框中网址字段,以避免重复时使用)。

内容可选
仓库repo

在线源代码仓库(如果有的话)。例如,sourceforge或github项目页面。和website参数一样,它应该使用{{URL}}模板。如果没有此参数,infobox将尝试从Wikidata获取存储库链接。此参数覆盖Wikidata链接。

字符串可选
支援状态support status support_status

操作系统特定版本的支持状态,仅适用于介绍操作系统某一特定版本的条目

字符串可选
有关这系列的条目other articles other_articles

与该条目有紧密联系条目的列表。对于联系不紧密的相关条目,可考虑在文中使用“参见”章节。

内容可选
Body样式bodystyle

指定适用于整个信息框的CSS样式规则,仅在绝对必要时使用,请勿作恶;)

字符串可选
隐藏“当前版本”hide latest release

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

默认值
no
单行文本可选
“当前版本”Q标识符latest release qid

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

示例值
Q381
单行文本可选
是否停产discontinued

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

示例值
yes
单行文本可选

範例

[编辑]
Debian GNU/Linux
Debian logo
Screenshot of Debian 5.0 (“Lenny”)
Debian GNU/Linux 5.0 (“Lenny”)
开发者Debian Project
作業系統家族Unix-like
運作狀態Current
首次发布1993年8月16日 (1993-08-16)
当前版本4.0r2 Etch (2007年12月27日 (2007-12-27))
更新方式APT (several front-ends available)
软件包管理系统dpkg
支援平台i386(x86), amd64(x86-64), PowerPC, SPARC, DEC Alpha, ARM, MIPS, HPPA, S390, IA-64
内核类别Monolithic (Linux, FreeBSD), Micro (Hurd)
使用者空間GNU
默认用户界面GNOME, KDE, Xfce, and LXDE
许可证Free software, mainly the GNU GPL, and other licenses[4]
官方網站http://www.debian.org/
{{Infobox OS
| name                   = Debian GNU/Linux
| logo                   = [[File:Debian-OpenLogo.svg|Debian logo|50px]]
| screenshot             = [[File:DebianLenny.png|300px|Screenshot of Debian 5.0 (“Lenny”)]]
| caption                = Debian GNU/Linux 5.0 (“Lenny”)
| website                = [http://www.debian.org/ www.debian.org]
| developer              = Debian Project
| family                 = [[Unix-like]]
| source model           = [[Free and open source software]]
| released               = {{Start date|df=yes|1993|08|16}}
| language               = 63 languages<ref name="lenny released">{{cite web|url=http://www.debian.org/News/2009/20090214.en.html|title=Debian GNU/Linux 5.0 released|accessdate=2009-02-15|publisher=Debian|date= 2009-02-14}}</ref>
| latest release         = 4.0r2 Etch ({{release date|2007|12|27}})
| kernel type            = [[Monolithic kernel|Monolithic]] ([[Linux kernel|Linux]], [[FreeBSD]]), [[Microkernel|Micro]] ([[GNU Hurd|Hurd]])
| userland               = [[GNU Core Utilities|GNU]]
| ui                     = [[GNOME]], [[KDE]], [[Xfce]], and [[LXDE]]
| license                = [[Free software]], mainly the [[GNU GPL]], and other licenses<ref>{{cite web|url=http://www.debian.org/legal/licenses/|title=License information|publisher=Debian|accessdate=2009-02-28}}</ref>
| supported platforms    = [[IA-32|i386(x86)]], [[X86-64|amd64(x86-64)]], [[PowerPC]], [[SPARC]], [[DEC Alpha]], [[ARM architecture|ARM]], [[MIPS architecture|MIPS]], [[PA-RISC family|HPPA]], [[IBM eServer zSeries|S390]], [[IA-64]]
| updatemodel            = [[Advanced Packaging Tool|APT]] (several front-ends available)
| package manager        = [[dpkg]]
| working state          = Current
}}

参考资料

  1. ^ {{{RTM_url}}}
  2. ^ {{{GA_url}}}
  3. ^ {{{preview_url}}}
  4. ^ License information. Debian. [2009-02-28]. 

追踪模板

[编辑]

參見

[编辑]