Template:Obsolete

Материал из Valve Developer Community
Перейти к навигации Перейти к поиску
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged.
Obsolete-notext.png
This tool is obsolete. Its use is discouraged.
Obsolete-notext.png
This shader is obsolete. Its use is discouraged.
It has since been deprecated by: Example page link here.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: Example page link here.

The above templates show the actual template, as the doc below always adds the "It may only exist/function in older engine branches" text. But that disappears if any of the "type=" parameters are used.

Todo: is it really supposed to not show the text when any of the parameters are shown? It seems wrong.


Info content.png
Эта страница переведена не полностью и нуждается в доработке.
Вы можете помочь, закончив перевод.
Если по какой-либо причине эта страница не может быть переведена или остаётся непереведенной в течение длительного периода времени после публикации данного уведомления, следует запросить удаление страницы.
Кроме того, убедитесь, что статья соотвествует рекомендациям руководства об альтернативных языках.(en)
Дополнительно, воспользуйтесь русским словарём переводчика(en).
Следующее содержимое или раздел нуждается в переводе:
Submit translations here Template:Obsolete/strings
Todo: Autocats for each {{{type}}}
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngДокументация шаблона [посмотреть] [править] [создать Русский (ru)]
Icon-translate.png Available doc translations
Info.png
Страница документации Template:Obsolete/doc/ru не существует.
Вместо неё будет отображена документация на английском. Если после данного сообщения ничего нет, вероятней всего документации не существует даже на английском.
Icon-translate.png
В этом шаблоне используется подстраница строк
Используйте формат этой подстраницы для добавления перевода.

This template marks a page as obsolete. It has three parameters, used to specify if the page is an entity, a tool, or a shader. This template automatically adds a page to an Obsolete Entites, Obsolete Tools, or Obsolete Shaders category, depending on parameter. If no parameter is specified, the template does not specify what the page is, and it will not be added to any categories.

Usage

{{obsolete|type=entity}}

Specifies that the page is an entity. Result below.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

{{obsolete|type=tool}}

Specifies that the page is a tool. Result below.
Obsolete-notext.png
This tool is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

{{obsolete|type=shader}}

Specifies that the page is a shader. Result below.
Obsolete-notext.png
This shader is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

{{obsolete|replacement=<text>}}

Indicates a newer entity, tool, or shader that has been introduced to replace this. For example, {{obsolete|entity=1|replacement={{ent|func_brush}}}} would produce:
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: func_brush.