Template:Bugfix/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 5: Line 5:
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.
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 ==
== Usage ==
{{#ifeq:{{ROOTPAGENAME}}|Template:ModernBugfix|
{{#ifeq:{{FULLPAGENAME}}|Template:ModernBugfix|
{{syntax|<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|<bug text>|<fix text>|suf=<language suffix>}}</nowiki>}}
{{syntax|<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|<bug text>|<fix text>|suf=<language suffix>}}</nowiki>}}
{{Note|The {{param|suf|tag=kbd}} is optional. It will change the language of the template if this language translations are exist, or it will be in English by default. }}
{{Note|The {{param|suf|tag=kbd}} is optional. It will change the language of the template if this language translations are exist, or it will be in English by default. }}

Revision as of 23:40, 22 January 2023

Edit-copy.png
This is a documentation subpage for Template:Bugfix.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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>}}