Template:Infobox OS/doc

From Freephile Wiki
Jump to navigation Jump to search

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

Usage[edit source]

If the article is about OS version, use the {{Infobox OS version}} redirect instead.
{{{title}}}
A version of the {{{version_of}}} operating system
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]]
{{{logo_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]
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}}}
Support status
{{{support_status}}}
Articles in the series
{{{other_articles}}}
{{Infobox OS
| name                   = <!-- Name of program or distribution -->
| logo                   = <!-- Filename only (no wikilink, nor Image:/File:) -->
| logo caption           = 
| logo alt               = 
| screenshot             = <!-- Filename only (no wikilink, nor Image:/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", "Closed source", or "Shared source" -->
| 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}} -->
| 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|ARM]], etc. -->
| kernel type            = <!-- Hybrid, Monolithic, Microkernel, Exokernel, Nanokernel, etc. -->
| userland               = 
| ui                     = 
| license                = 
| preceded by            = 
| succeeded by           = 
| website                = <!-- {{URL|www.example.org}} -->
| support status         = <!-- For articles about releases of operating systems ONLY -->
| other articles         = 
}}

Parameters[edit source]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Infobox OS

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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
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.

Default
PAGENAME
Stringrequired
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.

Stringoptional
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'

Fileoptional
Logo sizelogo size logo_size

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

Stringoptional
Logo captionlogo caption logo_caption

Icon to display in the title

Contentoptional
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.

Stringoptional
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'

Fileoptional
Screenshot sizescreenshot_size

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

Stringoptional
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.

Stringoptional
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'

Contentoptional
Collapsiblecollapsible

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

Default
no
Lineoptional
Version ofversion of version_of

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

Contentoptional
Developerdeveloper

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

Contentoptional
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

Stringoptional
Working stateworking state working_state

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

Lineoptional
Source modelsource model source_model

Source model of the operating system. Can be '[[Open-source]]', '[[Closed-source]]', '[[Shared-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

Lineoptional
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

Contentoptional
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

Default
no
Lineoptional
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

Contentoptional
Citation for release to manufacturing infoRTM url RTM_url

DEPRECATED. Do not use.

Unbalanced wikitextdeprecated
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

Contentoptional
Citation for general availability infoGA url GA_url

DEPRECATED. Do not use.

Unbalanced wikitextdeprecated
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')

Lineoptional
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}}

Contentoptional
Citation for release inforelease url release_url

DEPRECATED. Do not use.

Unbalanced wikitextdeprecated
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')

Lineoptional
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}}

Contentoptional
Citation for preview infopreview url preview_url

DEPRECATED. Do not use.

Unbalanced wikitextdeprecated
Marketing targetmarketing target marketing_target

Target audience of operating system or its version

Stringoptional
Programmed inprogrammed in prog language prog_language programmed_in

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

Contentoptional
Language countlanguage count

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

Numberoptional
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.

Unbalanced wikitextoptional
Languagelanguage human language human_language

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

Stringoptional
Update modelupdate model updatemodel update_model

Tools or methods of updating operating system

Stringoptional
Package managerpackage manager package_manager

Wikilinked name of package management software supplied with operating system

Contentoptional
Supported platformssupported platforms supported_platforms

Hardware platforms supported by operating system

Stringoptional
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]])'

Contentoptional
Userlanduserland

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

Contentoptional
Influencedinfluenced

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

Stringoptional
Influenced byinfluenced by influenced_by

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

Stringoptional
Default user interfaceui

User interface the default installation of operating system boots into

Contentoptional
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]]')

Contentoptional
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

Contentoptional
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

Stringoptional
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 form 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.)

Contentoptional
Support statussupport status support_status

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

Stringoptional
Other articlesother articles other_articles

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

Contentoptional
Body stylebodystyle

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

Stringoptional

Moving release data outside the article[edit source]

The subject's latest release version, latest release date, latest preview version and latest preview date can be moved outside the article. Users visiting the article may click the version number or "[

Note, however, that if |latest release version= or |latest preview version= parameters are explicitly specified, the infobox does not look for external sources. (This can be useful if, for example, the preview version is frequently updated, but the release version is not.)

To make the infobox retrieve release data from outside the article:

  1. Create an external source that supplies data for latest stable release. To do so:
    1. Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value supplied in |name= parameter of the infobox:
      https://wiki.freephile.org/wiki/index.php?title=Template:Latest_stable_software_release/INFOBOX_NAME&action=edit&preload=Template:LSR/syntax
    2. In the page that opens, fill in the required information.
    3. Save the page.
  2. Create an external source that supplies data for latest preview release. To do so:
    1. Copy and paste the following URL into your browser's address bar, replacing INFOBOX_NAME with the value suppplied in |name= parameter of the infobox:
      https://wiki.freephile.org/wiki/index.php?title=Template:Latest_preview_software_release/INFOBOX_NAME&action=edit&preload=Template:LPR/syntax
    2. In the page that opens, fill in the required information.
    3. Save the page.
  3. In the main article, delete |latest release version=, |latest release date=, |latest preview version= or |latest preview date= parameters.
  4. Save the article.
  5. Refresh the article.

Example[edit source]

Debian
Debian-OpenLogo.svg
Debian Etch-ja.png
Debian v4.0 ("Etch")
Developer Debian Project
Written in {{#property:p277}}
OS family Unix-like
Working state Current
Source model Open source
Initial release 16 August 1993 (1993-08-16)
Latest release 4.0r2 Etch / December 27, 2007; 16 years ago (2007-12-27)
Update method APT (several front-ends available)
Package manager dpkg
Platforms i386 (x86), amd64 (x86-64), PowerPC, SPARC, DEC Alpha, ARM, MIPS, HPPA, S390, IA-64
Kernel type Monolithic (Linux, FreeBSD), Micro (Hurd)
Userland GNU
Default user interface GNOME, KDE, Xfce, and LXDE
License Free software licenses (mainly GPL) and other licenses[5]
Official website www.debian.org
This infobox is just an example, and it isn't supposed to reflect the present state of this particular piece of software, or even make any sense. It is only shown to demonstrate the effect of the options.
{{Infobox OS
| name                   = Debian
| logo                   = Debian-OpenLogo.svg
| logo_size              = x64px
| screenshot             = Debian Etch-ja.png
| developer              = Debian Project
| family                 = [[Unix-like]]
| working state          = Current
| source model           = [[Open source]]
| released               = {{Start date|df=yes|1993|08|16}}
| latest release version = 4.0r2 Etch
| latest release date    = {{start date and age|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]]
| update model           = [[Advanced Packaging Tool|APT]] (several front-ends available)
| package manager        = [[dpkg]]
| website                = {{URL|www.debian.org}}
}}

References

These references will appear in the article, but this list appears only on this page.
  1. {{{RTM_url}}}
  2. {{{GA_url}}}
  3. {{{release_url}}}
  4. {{{preview_url}}}
  5. Lua error: bad argument #2 to 'gsub' (string is not UTF-8).

See also[edit source]