跳转到内容

模板:Infobox OS/doc

来自代码酷
Admin留言 | 贡献2025年5月1日 (四) 21:15的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

This template can be used to provide a summary for articles on computer operating systems.

Usage[编辑源代码]

{{{title}}}
Version of the {{{version_of}}} operating system
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]]
{{{logo_caption}}}
Screenshot
[[File:{{{screenshot}}}|{{{screenshot_size}}}|alt={{{screenshot_alt}}}]]
{{{caption}}}
Developer{{{developer}}}
Written in{{{programmed_in}}}
OS family{{{family}}}
Working state{{{working_state}}}
Source model{{{source_model}}}
Released to
manufacturing
{{{RTM_date}}}[1]
General
availability
{{{GA_date}}}[2]
Final release{{{latest release version}}} / {{{latest release date}}}[3]
Final preview{{{latest preview version}}} / {{{latest preview date}}}[4]
Repository{{{repo}}}
Marketing target{{{marketing_target}}}
Available in{{{language}}}
Update method{{{updatemodel}}}
Package manager{{{package_manager}}}
Platforms{{{supported_platforms}}}
Kernel type{{{kernel_type}}}
Userland{{{userland}}}
Influenced{{{influenced}}}
Influenced by{{{influenced_by}}}
Default
user interface
{{{ui}}}
License{{{license}}}
Preceded by{{{preceded_by}}}
Succeeded by{{{succeeded_by}}}
Official website{{{website}}}
Tagline{{{tagline}}}
Support status
{{{support_status}}}
Articles in the series
{{{other_articles}}}
{{Infobox OS
| name                   = <!-- Name of program or distribution -->
| logo                   = <!-- Filename only: no wikilink, Image: or File: -->
| logo size              = 
| logo caption           = 
| logo alt               = 
| screenshot             = <!-- Filename only: no wikilink, Image: or File: -->
| caption                = 
| screenshot_alt         = 
| collapsible            = 
| version of             = <!-- For articles about releases of operating systems ONLY -->
| developer              = <!-- Name of main developer or sponsor-->
| family                 = <!-- "Unix-like" or "Microsoft Windows" -->
| working state          = <!-- "Current", "Discontinued" (operating systems), or "No longer supported" (releases) -->
| source model           = <!-- "[[Open-source software|Open source]]", "Closed-source", or "Source-available" -->
| released               = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| discontinued           = <!-- DON'T use this for articles about releases of operating systems. -->
| RTM date               = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} ONLY for articles about OS releases -->
| GA date                = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} ONLY for articles about OS releases -->
| latest release version = 
| latest release date    = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| latest preview version = 
| latest preview date    = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| repo                   = <!-- {{URL|https://example.com}} -->
| marketing target       = 
| programmed in          = 
| language               = <!-- Supported human languages (English, French, Italian, Arabic, ...) -->
| language count         = 
| language footnote      = 
| update model           = <!-- APT, Windows Update, etc. -->
| package manager        = <!-- dpkg, rpm, Windows installer, etc. -->
| supported platforms    = <!-- [[IA-32]], [[x86-64]], [[Itanium]], [[ARM architecture family|ARM]], etc. -->
| kernel type            = <!-- Hybrid, Monolithic, Microkernel, Exokernel, Nanokernel, etc. -->
| userland               = 
| ui                     = 
| license                = 
| preceded by            = 
| succeeded by           = 
| website                = <!-- {{URL|www.example.org}} -->
| tagline                = 
| support status         = <!-- For articles about releases of operating systems ONLY -->
| other articles         = 
}}

Parameters[编辑源代码]

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

TemplateData for Infobox OS

This template can be used to provide a summary for articles on computer operating systems and their particular releases.

模板参数

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

参数描述类型状态
Namename

Name of the infobox. This is used internally in combination with Template:Latest stable software release/'name' and is also displayed at the top of the infobox if the Title parameter is absent. It must be pure text. Do not include any wikimarkup in this parameter.

默认值
PAGENAME
字符串必需
Titletitle

Name of the operating system. Displayed at the top of the infobox. If not specified the 'Name' parameter or the PAGENAME are used. It should be plain text. Do not include a wikilink, hyperlink or image in this parameter.

字符串可选
Logologo

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'

文件可选
Logo sizelogo size logo_size

A width for the image, including the 'px'; the default is '250px'. For example: '106px'

字符串可选
Logo captionlogo caption logo_caption

Icon to display in the title

内容可选
Logo's alternative textlogo alt logo_alt

An alternative text for the logo. The alternative text is read by screen readers for the blind and must fill out the role of the logo.

字符串可选
Screenshotscreenshot

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. For example: 'File:Windows 8 screenshot.png'

文件可选
Screenshot sizescreenshot_size

A width for the screenshot, including the 'px'; the default is '290px'. For example: '200px'

字符串可选
Screenshot's alternative textscreenshot_alt

An alternative text for the screenshot. The alternative text is read by screen readers for the blind and must fill out the role of the screenshot.

字符串可选
Captioncaption

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 Windows 8 desktop'

内容可选
Collapsiblecollapsible

If the screenshot is too big, this parameter set to 'yes' will collapse this

默认值
no
单行文本可选
Version ofversion of version_of

Name of operating system. (For articles about particular operating system releases.)

内容可选
Developerdeveloper

Name of the current developer of the software product. It can be either an individual or an organization/business. For example: 'Microsoft'

内容可选
Programmed inprogrammed in prog language prog_language programmed_in

Programming languages this operating system is written in. For example: '[[C (programming language)|C]]'

内容可选
Familyfamily

The name of the family of operating systems that this version is a part of. Examples include '[[Microsoft Windows]]', '[[Unix-like]]' and '[[Mac OS]]'; 'Linux' and 'Mac OS X' are not OS families

字符串可选
Working stateworking state working_state

Working state of the operating system. Can be 'Current', 'Discontinued', or 'No longer supported'

单行文本可选
Source modelsource model source_model

Source model of the operating system. Can be '[[Open-source software]]', '[[Closed-source]]', or '[[Source-available]]'. Do not use 'free software', 'free and open-source software' or 'FOSS' as they are mainly licensing models and may or may not use the 'open-source' development methodology

单行文本可选
Initial releasereleased

The date of first public release of operating system. Should be set to {{Start date and age|Year|Month|Day}}. The value of this field is not shown if 'RTM date' or 'GA date' parameters are set

内容可选
Discontinueddiscontinued

Set to 'yes' if operating system is discontinued. Note: operating-system versions cannot be discontinued; do not use this parameter in articles about operating-system versions

默认值
no
单行文本可选
Released to manufacturingRTM date RTM_date first release date first_release_date

The date when operating system version was released to manufacturing. Should be set to {{Start date and age|Year|Month|Day}}. Any value in this field disables display of 'Released' parameter. Note: only particular versions of operating systems may be released to manufacturing; do not use this parameter in articles about operating systems

内容可选
Citation for release to manufacturing infoRTM url RTM_url

DEPRECATED. Do not use.

wikitext片段弃用
General availabilityGA date GA_date

The date when operating system version became generally available. Should be set to {{Start date and age|Year|Month|Day}}. Any value in this field disables display of 'Released' parameter. Note: only particular versions of operating systems may be released to manufacturing; do not use this parameter in articles about operating systems

内容可选
Citation for general availability infoGA url GA_url

DEPRECATED. Do not use.

wikitext片段弃用
Latest release versionlatest release version latest_release_version release version release_version

For operating systems, the version number of latest stable release (for example 'Windows 8.1'). For operating system versions, the version of latest stable build (for example '6.3.9600')

单行文本可选
Latest release datelatest release date latest_release_date release date release_date

The date of latest stable release (for operating systems) or build (for operating system versions). Should be set to {{Start date and age|Year|Month|Day}}

内容可选
Citation for release inforelease url release_url

DEPRECATED. Do not use.

wikitext片段弃用
Latest preview versionlatest preview version latest_preview_version preview version preview_version

For operating systems, the version number of latest preview ('beta', 'unstable', 'development') release (for example 'Windows 8 Consumer Preview'). For operating system versions, the version of latestpreview ('beta', 'unstable', 'development') build (for example '8250')

单行文本可选
Latest preview datelatest preview date latest_preview_date preview date preview_date

The date of latest preview ('beta', 'unstable', 'development') release (for operating systems) or build (for operating system versions). Should be set to {{Start date and age|Year|Month|Day}}

内容可选
Citation for preview infopreview url preview_url

DEPRECATED. Do not use.

wikitext片段弃用
Source code repositoryrepo

The online source code repository, if available. For example, the sourceforge or github project page. As with the website parameter, this should use the {{URL}} template. In the absence of this parameter, infobox attempts to acquire the repository link from Wikidata. This parameter overrides the Wikidata link.

字符串可选
Marketing targetmarketing target marketing_target

Target audience of operating system or its version

字符串可选
Language countlanguage count

Number of languages supported. Causes the list of languages to become collapsed.

数字可选
Language footnotelanguage footnote

A citation for the number of languages supported. (The list of languages can have an independent citation.) Include<ref> tags if you use the footnote system.

wikitext片段可选
Languagelanguage human language human_language

Human languages this operating system is available in. Avoid stating just number of translations or wikilinking languages

字符串可选
Update modelupdate model updatemodel update_model

Tools or methods of updating operating system

字符串可选
Package managerpackage manager package_manager

Wikilinked name of package management software supplied with operating system

内容可选
Supported platformssupported platforms supported_platforms

Hardware platforms supported by operating system

字符串可选
Kernel typekernel type kernel_type

Type of kernel of operating system. Possible values include '[[Monolithic kernel|Monolithic]]' or '[[Microkernel]]'. Note: for Linux distributions, this should be '[[Monolithic kernel|Monolithic]] ([[Linux kernel|Linux]])'

内容可选
Userlanduserland

(For Unix-like operating systems) type of userland of operating system. Examples include 'BSD' and '[[GNU Core Utilities|GNU]]'

内容可选
Influencedinfluenced

Name of technologies, software, devices or methodologies that this operating system influenced.

字符串可选
Influenced byinfluenced by influenced_by

Name of other technology, software, devices or methodology that influenced the creation of this operating system.

字符串可选
Default user interfaceui

User interface the default installation of operating system boots into

内容可选
Licenselicense

License or licensing model used for this operating system. May be set either to well-known license or licenses with wikilink (for example: '[[GPLv2]]'), or to licensing model ('[[Proprietary software|Proprietary]]' or '[[Freeware]]')

内容可选
Preceded bypreceded by preceded_by

For operating system: OS or list of OSs that were officially superseded by this operating system. For operating system versions: previous version of the operating system intended for the same target audience

内容可选
Succeeded bysucceeded by succeeded_by

For operating system: OS that officially superseded this operating system. For operating system versions: next version of the operating system intended for the same target audience

字符串可选
Official websitewebsite

The web site URL of the software package. This URL must be readable in print. Therefore, you should use '{{tl|URL}}' template like this: '{{URL|http://www.example.com}}'. Avoid using printer-hostile forms like '[http://www.example.com Example website]'. In absence of this parameter, infobox attempts to acquire the website link from Wikidata. This parameter overrides the Wikidata link. (It is useful when a second infobox for something different is defined on a page.) In addition, the special value 'hide' suppresses this field, even in presence of a Wikidata link. (It is useful for articles that have several infoboxes and do not want all of them show a Wikidata link ad nauseam.)

内容可选
Taglinetagline

A marketing tagline fits perfectly here. Used on iOS and iPadOS version pages.

字符串可选
Support statussupport status support_status

Support status of operating system version. Not applicable to operating systems

字符串可选
Other articlesother articles other_articles

List of very closely related articles. For loosely related articles, consider using the 'See also' section instead.

内容可选
Body stylebodystyle

CSS style rules to be applied to the entire infobox. Use only when absolutely necessary. Do not use for evil. ;)

字符串可选

Moving release data outside the article[编辑源代码]

{{#section:Template:Infobox software/doc|release version data}}

  • See: Deepin for a usage example.

Examples[编辑源代码]

Computer operating system[编辑源代码]

Windows
文件:Windows logo and wordmark - 2021.svg
Logo as of October 2021
DeveloperMicrosoft
Source model
Initial releaseNovember 20, 1985; 39 years ago (1985-11-20)
Latest release24H2 (10.0.26100.3915) (April 25, 2025; 2 months ago (2025-04-25)[5]) [±]
Latest preview
Release Preview Channel

24H2 (10.0.26100.3915) (April 25, 2025; 2 months ago (2025-04-25)[6][7]) [±]

Beta Channel

24H2 (10.0.26120.3941) (April 25, 2025; 2 months ago (2025-04-25)[8]) [±]

Dev Channel

24H2 (10.0.26200.5570) (April 25, 2025; 2 months ago (2025-04-25)[9]) [±]

Canary Channel
10.0.27842.1000 (April 23, 2025; 2 months ago (2025-04-23)[10]) [±]
Repository
  • {{URL|example.com|optional display text}}
Marketing targetPersonal computing
Available in110 languages
Update method
Package managerWindows Installer (.msi, .msix, .msp), executable file (.exe), Universal Windows Platform (.appx, .appxbundle)
PlatformsIA-32, x86-64, ARM, ARM64
Previously: 16-bit x86, DEC Alpha, MIPS, PowerPC, Itanium
Kernel type
Default
user interface
Windows shell
LicenseProprietary commercial software
Official website{{URL|example.com|optional display text}}模块:EditAtWikidata第29行Lua错误:attempt to index field 'wikibase' (a nil value)
{{Infobox OS
| name = Windows
| logo = Windows logo and wordmark - 2021.svg
| logo size = 250px
| logo caption = Logo as of October 2021
| screenshot = 
| caption = Screenshot showing the new Start menu and centered taskbar, with the Search box open
| developer = [[Microsoft]]
| released = {{Start date and age|1985|11|20}}
| language = 110 languages
| package manager = [[Windows Installer]] (.msi, .msix, .msp), [[executable file]] (.exe), [[Universal Windows Platform]] ([[APPX|.appx]], .appxbundle)
| ui = [[Windows shell]]
| license = [[Proprietary software|Proprietary]] [[commercial software]]
| website = {{Official URL}}
| source_model = {{ubl
| [[Proprietary software|Closed-source]]
| [[Source-available software|Source-available]] (through [[Shared Source Initiative]])
}}
| latest release version = {{Latest stable software release/Windows 11}}
| latest preview version = {{Latest preview software release/Windows 11}}
| marketing_target = Personal computing
| kernel_type = {{plainlist|
* [[Windows NT]] family: [[Hybrid kernel|Hybrid]]
* [[Windows Embedded Compact]]/Windows CE: Hybrid or Monolithic
* [[Windows 9x]] and earlier: [[Monolithic kernel|Monolithic]] ([[MS-DOS]] and [[VMM32]])
}}
| supported_platforms = [[IA-32]], [[x86-64]], [[ARM architecture family|ARM]], [[ARM64]]<br />
Previously: [[x86|16-bit x86]], [[DEC Alpha]], [[MIPS architecture|MIPS]], [[PowerPC]], [[Itanium]]
| updatemodel = {{unbulleted list|[[Windows Update]]|[[Microsoft Store]]|[[Windows Server Update Services]] (WSUS)}}
}}

Mobile operating system[编辑源代码]

Android
A flat robot head, a bright sea green semicircle with antennas and small holes for eyes.
Screenshot
Android 13 home screen with Pixel Launcher
DeveloperVarious (mostly Google)
Written inJava, Kotlin (UI), C (core), C++ and others
OS familyUnix-like (modified Linux kernel)
Working stateCurrent
Source modelOpen source, freeware (most devices include proprietary components, such as Google Play Services or One UI)
Initial releaseSeptember 23, 2008; 16 years ago (2008-09-23)
Latest releaseAndroid 13 / August 15, 2022; 2 years ago (2022-08-15)
Latest previewAndroid 14: DP1 / February 8, 2023; 2 years ago (2023-02-08)[11]
Repository
  • {{URL|example.com|optional display text}}
Marketing targetSmartphones, tablet computers, smart TVs (Android TV), Android Auto and smartwatches (Wear OS)
Available in100+ languages
Update methodOver-the-air
Package managerAPK-based
PlatformsARM64 (previous versions were also compatible with ARMv7, x86, x86-64 and RISC-V unofficially still supported via third-party solutions)[12][13]
Kernel typeMonolithic (Linux kernel)
UserlandBionic libc, mksh shell, Toybox as core utilities
Default
user interface
Graphical (multi-touch)
License
Official website{{URL|example.com|optional display text}}模块:EditAtWikidata第29行Lua错误:attempt to index field 'wikibase' (a nil value)
Support status
Supported
Articles in the series
Android version history
{{Infobox OS
| name = Android
| logo = Android logo 2019 (stacked).svg
| logo caption = 
| logo size = 121px
| logo alt = A flat robot head, a bright sea green semicircle with antennas and small holes for eyes.
| screenshot =
| screenshot_size = 214px
| caption = [[Android 13]] home screen with Pixel Launcher
| collapsible = no
| developer = Various (mostly [[Google]])
| family = [[Unix-like]] (modified [[Linux kernel]])
| working state = Current
| source model = [[Open source software|Open source]], [[freeware]] (most devices include [[proprietary software|proprietary]] components, such as [[Google Play Services]] or [[One UI]])
| released = {{Start date and age|2008|9|23}}
| latest preview version = Android 14: DP1
| latest preview date = {{Start date and age|2023|2|8}}<ref name=beta3>{{Cite web |title=Release notes |url=https://developer.android.com/about/versions/14/release-notes |access-date=2023-02-08 |website=Android Developers |language=en}}</ref>
| latest release version = [[Android 13]]
| latest release date = {{Start date and age|2022|8|15}}
| marketing target = [[Smartphone]]s, [[tablet computer]]s, [[smart TV]]s ([[Android TV]]), [[Android Auto]] and [[smartwatch]]es ([[Wear OS]])
| programmed in = [[Java (programming language)|Java]], [[Kotlin (programming language)|Kotlin]] (UI), [[C (programming language)|C]] (core), [[C++]] and others
| language = <!-- Supported human languages (English, French, Italian, Arabic, ...) -->
| language count = 100+ <!--7.0 has "100 new languages", so 170? or just 100[+]? -->
| update model = [[Over-the-air update|Over-the-air]]
| package manager = [[Android application package|APK]]-based
| supported platforms = [[ARM64]] (previous versions were also compatible with ARMv7, x86, x86-64 and RISC-V unofficially still supported via third-party solutions)<ref>{{Cite web|last=García|first=Érika|title=Google bans 32-bit apps from Android for good|date=September 2021|url=https://blog.en.uptodown.com/google-bans-32-bit-apps-from-android-for-good/|access-date=2021-11-22|language=en-US}}</ref><ref>{{Cite web|date=2021-06-12|title=32-bits is dead: Here's what it means for Android, Apple, and more|url=https://www.androidauthority.com/arm-32-vs-64-bit-explained-1232065/|access-date=2021-11-22|website=Android Authority}}</ref>
| kernel type = [[Monolithic kernel|Monolithic]] ([[Linux kernel]])
| userland = [[Bionic (software)|Bionic libc]], [[KornShell|mksh]] shell, [[Toybox]] as core utilities <!-- Toybox in all currently supported, i.e. not in 6.0 and earlier: previously native core utilities with a few from [[NetBSD]] -->
| ui = [[Graphical user interface|Graphical]] ([[multi-touch]])
| license = {{unbulleted list|[[Apache License]] 2.0 for userspace software|[[GNU GPL]] v2 for the [[Linux kernel]] modifications}}
| website = {{Official URL}}
| support_status = Supported
| other articles = [[Android version history]]
}}

References

  1. {{{RTM_url}}}
  2. {{{GA_url}}}
  3. {{{release_url}}}
  4. {{{preview_url}}}
  5. 模块:Citation/CS1/Configuration第2123行Lua错误:attempt to index field '?' (a nil value)
  6. 模块:Citation/CS1/Configuration第2123行Lua错误:attempt to index field '?' (a nil value)
  7. 模块:Citation/CS1/Configuration第2123行Lua错误:attempt to index field '?' (a nil value)
  8. 模块:Citation/CS1/Configuration第2123行Lua错误:attempt to index field '?' (a nil value)
  9. 模块:Citation/CS1/Configuration第2123行Lua错误:attempt to index field '?' (a nil value)
  10. 模块:Citation/CS1/Configuration第2123行Lua错误:attempt to index field '?' (a nil value)
  11. 模块:Citation/CS1/Configuration第2123行Lua错误:attempt to index field '?' (a nil value)
  12. 模块:Citation/CS1/Configuration第2123行Lua错误:attempt to index field '?' (a nil value)
  13. 模块:Citation/CS1/Configuration第2123行Lua错误:attempt to index field '?' (a nil value)

See also[编辑源代码]