Template:Bugfix: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Otherlang2 -> lang and put documentation in doc template.)
Line 1: Line 1:
<noinclude>
{{lang|Template:Bugfix}}
{{otherlang2
<onlyinclude>{{bug|{{{1}}}}}
|ru=template:bugfix:ru}}
: {{fix|{{{2}}}|{{{3}}}}}</onlyinclude>
[[Category:Inline note templates|{{PAGENAME}}]]
{{Documentation}}
This was created as a variant of [[Template:Bug]] for documenting bugs with their own "fixes" attached to them, created in an attempt to encourage listing how to fix given bugs. Formatting is identical to Template:Bug, but there is an additional parameter for talking about how to fix the bug, meaning applying this to an existing Template:Bug will just involve changing it to Template:Bug''fix'' and adding another parameter. The [[Template:Fix]] template was created to allow for the "Fix" text to be displayed without accompanying a bug, so this template can now be considered a shortcut for using Template:Bug with its own Template:Fix.
<!-- Add categories to the /doc subpage, not here -->
</noinclude>{{bug|{{{1}}}}}
: {{fix|{{{2}}}|{{{3}}}}}

Revision as of 19:49, 12 September 2021

Icon-Bug.pngBug:{{{1}}}  [todo tested in ?]
Note.pngFix:{{{2}}}
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.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

This template was created as a variant of Template:Bug for documenting bugs with their own "fixes" attached to them, created in an attempt to encourage listing how to fix given bugs. Formatting is identical to Template:Bug, but there is an additional parameter for talking about how to fix the bug, meaning applying this to an existing Template:Bug will just involve changing it to Template:Bugfix and adding another parameter.

The Template:Fix template was created to allow for the "Fix" text to be displayed without accompanying a bug, so this template can now be considered a shortcut for using Template:Bug with its own Template:Fix.

Usage

Syntax: {{Bugfix|<bug text>|<fix text>}}