Template:BugNotice/Doc: Difference between revisions
(Created page with "<noinclude>{{doc/subpage}}</noinclude> {{Shortcut|bug}} {{clr}} __NOTOC__ {{Inline note templates}} <!-- Please place categories where indicated at the bottom of this page --> == Translations == Some translations are located in Template:Dictionary/notices strings subpage. == Usage == === Parameters === * {{Param}} – The text to show on the right. The characters <code>=</code> and <code>|</code> can break this template because they are special characters in templat...") |
No edit summary |
||
Line 65: | Line 65: | ||
| {{code|<nowiki>{{Bug|Issue patched in {{hl2ep1}}.|fixed=hl2ep1}}</nowiki>}} | | {{code|<nowiki>{{Bug|Issue patched in {{hl2ep1}}.|fixed=hl2ep1}}</nowiki>}} | ||
| → | | → | ||
| With {{param|fixed}} parameters specified, the page will be added into a category.<br>This example shown here, will add the page from previous affected titles (such as {{hl2|4}}, or {{src04|4}}, which goes to [[:Category:Pages with Half-Life 2 bugs|Category:Pages with Half-Life 2 bugs]]), if {{hl2ep1|4}} have this bug fixed, [[:Category:Pages with Half-Life 2: Episode One bugs|Category:Pages with Half-Life 2: Episode One bugs]] won't be added. | | With {{param|fixed}} parameters specified, the page will be added into a category.<br>This example shown here, will add the page from previous affected titles (such as {{hl2|4}}, or {{src04|4}}, which goes to [[vdc:Category:Pages with Half-Life 2 bugs|Category:Pages with Half-Life 2 bugs]]), if {{hl2ep1|4}} have this bug fixed, [[vdc:Category:Pages with Half-Life 2: Episode One bugs|Category:Pages with Half-Life 2: Episode One bugs]] won't be added. | ||
| {{Bug|Issue patched in {{hl2ep1}}.|fixed=hl2ep1}} | | {{Bug|Issue patched in {{hl2ep1}}.|fixed=hl2ep1}} | ||
|- | |- | ||
| {{code|<nowiki>{{Bug|Affected {{as}} and {{portal2}}.|since=as|fixed=csgo}}</nowiki>}} | | {{code|<nowiki>{{Bug|Affected {{as}} and {{portal2}}.|since=as|fixed=csgo}}</nowiki>}} | ||
| → | | → | ||
| With both {{param|as}} and {{param|fixed}} specified, the page will be added into a category.<br>This example shown here, will add the page to [[:Category:Pages with Alien Swarm bugs|Category:Pages with Alien Swarm bugs]] and [[:Category:Pages with Portal 2 bugs|Category:Pages with Portal 2 bugs]]. | | With both {{param|as}} and {{param|fixed}} specified, the page will be added into a category.<br>This example shown here, will add the page to [[vdc:Category:Pages with Alien Swarm bugs|Category:Pages with Alien Swarm bugs]] and [[vdc:Category:Pages with Portal 2 bugs|Category:Pages with Portal 2 bugs]]. | ||
| {{Bug|Affected {{as}} and {{portal2}}.|since=as|fixed=csgo}} | | {{Bug|Affected {{as}} and {{portal2}}.|since=as|fixed=csgo}} | ||
{{{otherexamples|}}} | {{{otherexamples|}}} |
Latest revision as of 06:30, 4 January 2025
Undocumented Template You can help the Open Fortress Wiki by writing it. Until then, you'll have to read the source to figure out how to use it anyway. Which, I mean, while you're over there already... just saying, you may as well... |
Translations
Some translations are located in Template:Dictionary/notices strings subpage.
Usage
Parameters
- {{{1}}} – The text to show on the right. The characters
=
and|
can break this template because they are special characters in template calls. Use{{=}}
and{{!}}
instead; See Category:Templates for within templates. - {{{tested}}} – Provide what game/software was the bug observed in. If this is a bug known to be present everywhere or it's a bug on a page about single game/software you can use {{{hidetested}}} (shortcut for hidetested param use: {{Bug*}}). The purpose of this being required parameter is to make it easier verifying/replicating noted bugs.
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: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: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 Template:Hl2, or ![]() |
![]() |
{{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 {{Expand}} inside bug that's indented using :
stuff breaks. (This issue applies to all the other notices too)
:{{Bug|{{Expand|}}}} becomes
Bug:
[todo tested in?]
as workaround you can use dd
tag
<dd>{{Bug|{{Expand|}}}}</dd>
