Template:Bug

From Valve Developer Community
Jump to: navigation, search
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.pngTodo: Fix template loop when {{doc}} is used.
Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history
Inline note templates
Template Pages using it
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.pngNote: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.pngNote: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.pngNote:Currently has experimental support for engine branches.


Examples

Wikitext Description / Note Result
{{Bug}}
Icon-Bug.pngBug:
{{Bug|This is an example text.}}
Icon-Bug.pngBug:This is an example text.
{{Bug|
Enumeration
# Enum
# Eration
}}
Icon-Bug.pngBug: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.pngBug: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.pngBug:A Hammer bug.
{{Bug|Nasty Witch bug.|only=l4ds}}
Icon-Bug.pngBug: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[confirm], if there's a bug in all Source engine games.
Icon-Bug.pngBug: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.pngBug: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.pngBug:Affected Alien Swarm and Portal 2.