Template:Infobox OS
| 开发者 | {{#property:p178}} |
|---|---|
| 编程语言 | {{#property:p277}} |
| 当前版本 | |
| 许可证 | |
| 官方網站 | {{URL|example.com|可选的显示文本}}Module:EditAtWikidata第29行Lua错误:attempt to index field 'wikibase' (a nil value) |
| 仓库 |
|
| File:Lua-Logo.svg | 此模板使用Lua语言: |
| Comment | 這個模板使用了维基数据的信息。 参见Wikipedia:维基数据。里面用户没有给出数值的参数将被维基数据的参数代替。编辑相关参数请前往d:。 |
地区词问题,于条目中用noteTA,而不是修改模板!
本模板是使用於作業系統(OS)條目中的信息框(资讯框)。
使用方式[编辑]
複製以下代碼,貼在條目頁面頂端,並填入其中內容(填入欄位說明如下)
| {{{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}}} | |
| 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 =
}}
詳細用法[编辑]
<templatedata>
{
"description": "本模板用于操作系统条目。",
"params": {
"title": {
"label": "标题",
"type": "string",
"required": false,
"description": "操作系统名称,在信息框顶部显示。如不填写,则显示“名称”参数中的内容或页面标题。请填写纯文本,不要加入维基链接、超链接或图像。"
},
"name": {
"label": "名称",
"type": "string",
"required": true,
"description": "信息框所用名称。当“标题”参数未指定时亦会显示在页面顶部。请填写纯文本,不要加入任何维基语法。",
"default": "PAGENAME"
},
"logo": {
"label": "标志",
"description": "操作系统标志。填写例:File:Microsoft Windows XP Logo.svg",
"type": "wiki-file-name",
"required": false
},
"logo size": {
"label": "标志大小",
"description": "标志宽度,以“px”(像素)结尾,默认为250px。填写例:106px",
"type": "string",
"required": false,
"aliases": [
"logo_size"
]
},
"logo caption": {
"label": "标志说明",
"description": "标志说明",
"type": "content",
"required": false,
"aliases": [
"logo_caption"
]
},
"screenshot": {
"label": "截图",
"description": "操作系统默认配置下的截图,不应包含任何非标准主题、第三方程序或可用于识别个人身份的信息。填写例:File:Windows 8 screenshot.png",
"type": "wiki-file-name",
"required": false
},
"screenshot_size": {
"label": "截图大小",
"description": "截图宽度,以“px”(像素)结尾,默认为290px。填写例:200px",
"type": "string",
"required": false
},
"screenshot_alt": {
"label": "截图替代文本",
"description": "截图的替代文本,视障人士使用的屏幕阅读器会读出这些文本,应写出截图在文中的作用。",
"type": "string",
"required": false
},
"caption": {
"label": "说明",
"description": "截图说明。仅填写“截图”等字样会显得多余,因为截图可能会在模板中“截图”一栏下显示。填写例:Windows 8桌面截图",
"type": "content",
"required": false
},
"collapsible": {
"label": "可折叠",
"description": "如果截图过大,请设置为“yes”以折叠截图",
"default": "no",
"type": "line",
"required": false
},
"version of": {
"label": "所属操作系统",
"description": "所属操作系统名称,信息框位于介绍操作系统某一特定版本的条目时填写。",
"type": "content",
"required": false,
"aliases": [
"version_of"
]
},
"developer": {
"label": "开发者",
"description": "软件的目前开发者,可以是个人或组织。填写例:微软",
"type": "content",
"required": false
},
"family": {
"label": "作業系統家族",
"description": "版本所处的操作系统家族,例如“Microsoft Windows”“类Unix”或“Mac OS”。“Linux”和“Mac OS X”不是操作系统家族",
"type": "string",
"required": false
},
"working state": {
"label": "運作狀態",
"description": "操作系统当前状态,可填写“運作中”“停止开发”或“停止支持”",
"type": "line",
"required": false,
"aliases": [
"working_state"
]
},
"source model": {
"label": "源码模式",
"description": "操作系统的源码模式,可填写“开放源代码”“封闭源代码”“共享源代码”或“源代码可用”。不要使用“自由软件”“自由开源软件”或“FOSS”,这些描述更偏向于许可模式,并不一定指用“开放源代码”模式开发",
"type": "line",
"required": false,
"aliases": [
"source_model"
]
},
"released": {
"label": "首次发布",
"description": "操作系统首个公开发行版的发行日期,应使用年年表达式错误:无法识别标点符号“日”。日。如果填写了“RTM date”或“GA date”,则本参数的值不会显示",
"type": "content",
"required": false
},
"RTM date": {
"label": "發放給生產商",
"description": "操作系统發放給生產商(RTM)的日期,应使用年年表达式错误:无法识别标点符号“日”。日。填写后,“初始版本”参数的值将被忽略。注意:本参数仅适用于介绍操作系统某一特定版本的条目",
"type": "content",
"aliases": [
"RTM_date",
"first release date",
"first_release_date"
],
"required": false
},
"GA date": {
"label": "正式发售日期",
"description": "操作系统正式发售的日期,应使用年年表达式错误:无法识别标点符号“日”。日。填写后,“初始版本”参数的值将被忽略。注意:本参数仅适用于介绍操作系统某一特定版本的条目",
"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)”",
"type": "content",
"required": false,
"aliases": [
"kernel_type"
]
},
"userland": {
"label": "使用者空間",
"description": "操作系统的用户空间类型,可填写“BSD”“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": "软件包的网址。为在打印时拥有更佳效果,可使用{{URL}}模板,如“www{{URL|example.com|可选的显示文本}}模板。如果没有此参数,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>对应的</ref>标签
| supported platforms = i386(x86), amd64(x86-64), PowerPC, SPARC, DEC Alpha, ARM, MIPS, HPPA, S390, IA-64
| updatemodel = APT (several front-ends available)
| package manager = dpkg
| working state = Current
}}
{{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
}}
追踪模板[编辑]
參見[编辑]
- {{Infobox software}}
- {{Infobox website}}