Template:BugNotice
Consider discussing changes on the talk page before implementing them.
- {{{since}}} - Since which game (abbreviation) does this bug exist? If blank or undefined, defaults to
css(Counter-Strike: Source).
Note: 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: Currently has experimental support for engine branches.
Examples
| Wikitext | Description / Note | Result | |
|---|---|---|---|
{{Bug|This is an example text.}}
|
→ | ||
{{Bug| hidetested=1 |
|
→ |
| |
<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.
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=|tested=Hammer 3.5}}
|
→ | ||
{{Bug|Nasty Witch bug.|only=l4ds|tested=l4d2}}
|
→ | ||
{{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. | |
{{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 |
|
{{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. |
|
Issue
When trying to use {{ExpandBox}} inside bug that's indented using : stuff breaks. (This issue applies to all the other notices too)
:{{Bug|{{ExpandBox|}}}}
Bug:
[todo tested in ?]
as workaround you can use dd tag
<dd>{{Bug|{{ExpandBox|}}}}</dd>
{{Expand}} doesn't work in notice templates. Example:
:{{Bug|{{Expand|lorem}}}}
Bug: {| class="mw-collapsible mw-collapsed" style="background:rgba(0,0,0,0.05) ;float:no;margin-bottom:1em;margin-left:0;padding-right:0.5em;border:1px solid rgba(255,255,255,0.1); border-left:solid 1px #8bb9e0; padding-left:1em;"
|+ style="text-align:left; white-space:nowrap; font-weight:bold; color:#ddd; " | | lorem
|} [todo tested in ?]
{{Bug|{{Expand|lorem}}}}
|+ style="text-align:left; white-space:nowrap; font-weight:bold; color:#ddd; " | | lorem
|} [todo tested in ?]