Template:Bug

Материал из Valve Developer Community
Перейти к: навигация, поиск
English (en)Català (ca)Čeština (cs)Deutsch (de)Esperanto (eo)Español (es)Magyar (hu)Italiano (it)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Svenska (sv)Türkçe (tr)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)한국어 (ko)ქართული (ka)עברית (he)
Blank image.pngНужно сделать: Fix template loop when {{doc}} is used.
Curly brackets white.pngДокументация шаблона
Icon-translate.png
Info.png
Страница документации Template:Bug/doc/ru не существует.
Вместо неё будет отображена документация на английском. Если после данного сообщения ничего нет, вероятней всего документации не существует даже на английском.


Встраиваемые шаблоны заметок
Шаблон Страницы, использующие его
2023-08-29
{{Note}} 5,964
{{Warning}} 2,331
{{Bug}} 1,550
{{Tip}} 1,485
{{Todo}} 1,551
{{Inline note}} 955
{{Confirm}}
{{ClassicConfirm}}
691 + 324
{{Question}} 4
{{ModernConfirm}} 97
{{Fix}}
{{ClassicFix}}
174 + 33
{{ModernFix}} 489
{{Important}} 240 + 106
{{ModernImportant}} 308
{{Clarify}}
{{ClassicClarify}}
154 + 105
{{Elaborate}}
{{ClassicElaborate}}
10
{{Main}} 121
{{Distinguish}} 75
{{Workaround}} 96
{{Seealso}} 62
{{Why}}
{{ClassicWhy}}
21
{{Idea}}
{{ClassicIdea}}
11
{{Placement Tip}}
{{ClassicPlacementTip}}
6 + 2
{{Codenote}}
{{Codenote}}
10
{{Altnames}} 13
{{Deprecated}}
{{ClassicDeprecated}}
34 + 25
{{How}}
{{ClassicHow}}
18 + 15
{{Notice}} 15 + 10
{{Example}} 3
{{Confusion}} 3 + 1
{{Special thanks}} 1
{{Thanks}} (Modern) N/A

Translations

Some translations are located in Template:Dictionary/notices strings subpage.

Usage

Parameters

The following parameters are used to categorize the bug by affected Source games. Parameter |only= cannot be used together with |since= and/or |fixed=.

  • {{{only}}} - Abbreviation of the game or game series that has this bug. If blank, defaults to 'no game'. Do this to move pages with tool related or non-Source game bugs from Category:Pages with uncategorized bugs to Category:Pages with other bugs.
    • Note.pngПримечание:Currently has experimental support for engine branches.
  • {{{since}}} - Since which game (abbreviation) does this bug exist? If blank or undefined, defaults to css (Counter-Strike: Source).
    • Note.pngПримечание:Currently has experimental support for engine branches.
  • {{{fixed}}} - Since which game (abbreviation) is this bug fixed? If blank or undefined, defaults to 'none' which means that the bug was never fixed in Source.
    • Note.pngПримечание:Currently has experimental support for engine branches.


Examples

Wikitext Описание / Примечание Result
{{Bug}}
Icon-Bug.pngОшибка:
{{Bug|This is an example text.}}
Icon-Bug.pngОшибка:This is an example text.
{{Bug|
Enumeration
# Enum
# Eration
}}
Icon-Bug.pngОшибка:Enumeration
  1. Enum
  2. Eration
<text here>
{{Bug|<text here>}}
<text here>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Icon-Bug.pngОшибка:Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

{{Bug|A Hammer bug.|only=}}
Icon-Bug.pngОшибка:A Hammer bug.
{{Bug|Nasty Witch bug.|only=l4ds}}
Icon-Bug.pngОшибка:Nasty Witch bug.
{{Bug|Bug that affects all Source games.|since=}} With {{{since}}} parameters specified as nothing, adds page to all "Pages with (game name) bugs" category[подтвердить], if there's a bug in all Source engine games.
Icon-Bug.pngОшибка:Bug that affects all Source games.
{{Bug|Issue patched in {{hl2ep1}}.|fixed=hl2ep1}} With {{{fixed}}} parameters specified, the page will be added into a category.
This example shown here, will add the page from previous affected titles (such as Half-Life 2 Half-Life 2, or Source 2004 Source 2004, which goes to Category:Pages with Half-Life 2 bugs), if Half-Life 2: Episode One Half-Life 2: Episode One have this bug fixed, Category:Pages with Half-Life 2: Episode One bugs won't be added.
Icon-Bug.pngОшибка:Issue patched in Half-Life 2: Episode One.
{{Bug|Affected {{as}} and {{portal2}}.|since=as|fixed=csgo}} With both {{{as}}} and {{{fixed}}} specified, the page will be added into a category.
This example shown here, will add the page to Category:Pages with Alien Swarm bugs and Category:Pages with Portal 2 bugs.
Icon-Bug.pngОшибка:Affected Alien Swarm and Portal 2.