Template:Obm

Материал из Valve Developer Community
Перейти к навигации Перейти к поиску
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:Obm/doc/ru не существует.
Вместо неё будет отображена документация на английском. Если после данного сообщения ничего нет, вероятней всего документации не существует даже на английском.

Usage

Delivers the icon and/or a link of the game that has this abbreviation. Can also obtain the game color.

This template is based on {{Software}}.

Parameters

  • {{{1}}} – Optional: The representation, see the examples below. Can be set to: 1, 2, 3, 3.1, 4, 4.1, col, in, also, only, since, removed, not;
  • {{{nt}}} – Optional: This option allows you to select a custom game and software name if it is specified in the template. 0 is most often a game abbreviation. You can click on "Edit" to view the available game/software names.
  • {{{addtext}}} – Optional: If {{{1}}} is set to in, also, only, since, removed or not, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.

Translations

Some Translations are handled by the {{In text}} Template. Others (such as game title/software title, etc...) will use {{Autolang}}. {{{suf}}} parameters used for translations have been deprecated, but are currently being used in some pages for many reasons.

Examples

Note.pngПримечание:Some of the examples given may lead to non-existent pages.
{{obm}} Operation: Black Mesa
{{obm|1}} Operation: Black Mesa
{{obm|2}} Operation: Black Mesa Operation: Black Mesa
{{obm|3}} Operation: Black Mesa
{{obm|3.1}} Operation: Black Mesa
{{obm|3.1.nolink}}
(Same as above, without links to the article.)
Operation: Black Mesa
{{obm|3.2}} Operation: Black Mesa
{{obm|4}} Operation: Black Mesa Operation: Black Mesa
{{obm|4.1}} Operation: Black Mesa Operation: Black Mesa
{{obm|4.2}} Operation: Black Mesa Operation: Black Mesa
{{obm|4|nt=0}} Operation: Black Mesa OBM
{{obm|4|nt=1}} Operation: Black Mesa Operation: Black Mesa
{{obm|4|nt=2}} Operation: Black Mesa Operation: Black Mesa
{{obm|4|nt=3}} Operation: Black Mesa Operation: Black Mesa
{{obm|4|nt=4}} Operation: Black Mesa Operation: Black Mesa
{{obm|col}} → #4F7942
{{obm|in}} (в Operation: Black Mesa)
{{obm|only}} (только в Operation: Black Mesa)
{{obm|since}} (Во всех играх начиная с Operation: Black Mesa)
{{obm|not}} (нет в Operation: Black Mesa)
{{obm|removed}} (удалено начиная с Operation: Black Mesa)
{{obm|also|addtext={{csgo}} {{l4d2}}}} (также в Operation: Black MesaCounter-Strike: Global Offensive Left 4 Dead 2)