Шаблон:Infobox OS

Материал из Национальной библиотеки им. Н. Э. Баумана
Последнее изменение этой страницы: 13:24, 3 мая 2019.
Разработчик {{#property:p112}}
Documentation icon Шаблон документации[просмотр] [править] [история] [защитить]

Шаблон:Uses Wikidata

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

Usage

If the article is about OS version, use the Шаблон:Tlc redirect instead.
{{{title}}}
Версия операционной системы {{{version_of}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]]
{{{logo_caption}}}
Разработчик {{{developer}}}
Написана на {{{programmed_in}}}
Линейка ОС {{{family}}}
Состояние разработки {{{working_state}}}
Исходный код {{{source_model}}}
Дата выхода на
производство
{{{RTM_date}}}[1]
Общая
доступность
{{{GA_date}}}[2]
Последний релиз {{{latest release version}}} / {{{latest release date}}}[3]
Последний просмотр {{{latest preview version}}} / {{{latest preview date}}}[4]
Целевой маркетинг {{{marketing_target}}}
Доступно в {{{language}}}
Метод обновления {{{updatemodel}}}
Cистема управления пакетами {{{package_manager}}}
Платформы {{{supported_platforms}}}
Ядро (тип) {{{kernel_type}}}
Пользовательское
пространство
{{{userland}}}
Под воздействием {{{influenced}}}
Под влиянием {{{influenced_by}}}
По умолчанию
пользовательский
интерфейс
{{{ui}}}
Лицензия {{{license}}}
Предшественник {{{preceded_by}}}
Преемник {{{succeeded_by}}}
Официальный веб-сайт {{{website}}}
Статус поддержки
{{{support_status}}}
Статьи в серии
{{{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 "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}} -->
| 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

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

TemplateData for Infobox OS

Moving release data outside the article

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 "[±]" link in the infobox to edit that external source. This mode is very useful for articles about software products whose vendors keep releasing updates or newer versions. With this mode is enabled, users can quickly and effectively edit the release data without editing the article proper (and cluttering its edit history with inconsequential edits).

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://ru.bmstu.wiki/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD: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://ru.bmstu.wiki/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD: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

Debian
Debian-OpenLogo.svg
300px
Debian v4.0 ("Etch")
Разработчик Debian Project
Линейка ОС Unix-like
Состояние разработки Current
Исходный код Open-source software
Дата первого релиза 16 August 1993 (1993-08-16)
Последний релиз 4.0r2 Etch / 27 December 2007 года; 11 years ago (2007-12-27)
Метод обновления APT (several front-ends available)
Cистема управления пакетами dpkg
Платформы IA-32, 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 licenses (mainly GPL) and other licenses[5]
Официальный веб-сайт www.debian.org
This infobox is just an example, and it is not 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 [[GPL]], and other licenses<ref>{{cite web|url=http://www.debian.org/legal/licenses/|title=License information|publisher=Debian|access-date=2009-02-28}}</ref>
| supported platforms    = [[IA-32]], [[x86-64]], [[PowerPC]], [[SPARC]], [[DEC Alpha]], [[ARM architecture|ARM]], [[MIPS instruction set|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. "License information". Debian. Retrieved 2009-02-28. 

See also