Difference between revisions of "Template:Bug"
From sureai
(Make "fixed" also imply "confirmed") |
(Category management) |
||
Line 1: | Line 1: | ||
* {{{1}}}{{#if: {{{confirmed|{{{fixed|}}}}}} ||<sup title="This bug is unconfirmed. If you are able to reproduce it, add a confirmed=1 to it." style = "text-decoration: underline dotted black; cursor: help; color: red; font-weight: bold;">?</sup>}} {{#if: {{{fixed|}}} | | * {{{1}}}{{#if: {{{confirmed|{{{fixed|}}}}}} ||<sup title="This bug is unconfirmed. If you are able to reproduce it, add a confirmed=1 to it." style = "text-decoration: underline dotted black; cursor: help; color: red; font-weight: bold;">?</sup>}} {{#if: {{{fixed|}}} | | ||
− | ** This bug was fixed in the [[{{NAMESPACE}}:Patch/{{{fixed}}}|{{{fixed}}} patch]].|}}<includeonly>[[Category:{{#if: {{ | + | ** This bug was fixed in the [[{{NAMESPACE}}:Patch/{{{fixed}}}|{{{fixed}}} patch]].|}}<includeonly>{{#if: {{{nocategory|}}}||[[Category:{{#if: {{{fixed|}}}|Fixed|{{#if: {{{confirmed|}}}|Confirmed|Unconfirmed}}}} Bugs]]{{#if: {{NAMESPACE}}|[[Category:{{NAMESPACE}}-{{#if: {{{fixed|}}}|Fixed|{{#if: {{{confirmed|}}}|Confirmed|Unconfirmed}}}} Bugs]]|}}}}</includeonly><noinclude> |
== Usage == | == Usage == | ||
=== Parameters === | === Parameters === | ||
− | |||
* '''confirmed''': If anything is written in this parameter, the bug is considered confirmed (reproduced by many users) | * '''confirmed''': If anything is written in this parameter, the bug is considered confirmed (reproduced by many users) | ||
* '''fixed''': If present, should contain the patch number in which the bug was fixed. | * '''fixed''': If present, should contain the patch number in which the bug was fixed. | ||
+ | * '''nocategory''': If present, doesn't add the page to any category. Don't use this unless you're giving an example of how to use the template (such as below). | ||
A bug can't be unconfirmed and fixed at the same time. | A bug can't be unconfirmed and fixed at the same time. | ||
Line 16: | Line 16: | ||
</pre> | </pre> | ||
− | {{Bug|This is an unconfirmed bug.}} | + | {{Bug|This is an unconfirmed bug.|nocategory=1}} |
<pre> | <pre> | ||
Line 22: | Line 22: | ||
</pre> | </pre> | ||
− | {{Bug|This is a confirmed bug.|confirmed=1}} | + | {{Bug|This is a confirmed bug.|confirmed=1|nocategory=1}} |
<pre> | <pre> | ||
Line 28: | Line 28: | ||
</pre> | </pre> | ||
− | {{Bug|This is a fixed bug.|fixed=1.2.0.0}} | + | {{Bug|This is a fixed bug.|fixed=1.2.0.0|nocategory=1}} |
+ | |||
+ | == Categories == | ||
+ | * [[:Category:Fixed Bugs|Fixed Bugs]] | ||
+ | * [[:Category:Unconfirmed Bugs|Unconfirmed Bugs]] | ||
+ | * [[:Category:Confirmed Bugs|Confirmed Bugs]] | ||
+ | * '''Enderal''' | ||
+ | ** [[:Category:Enderal-Fixed Bugs|Enderal-Fixed Bugs]] | ||
+ | ** [[:Category:Enderal-Unconfirmed Bugs|Enderal-Unconfirmed Bugs]] | ||
+ | ** [[:Category:Enderal-Confirmed Bugs|Enderal-Confirmed Bugs]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 15:51, 27 June 2017
- {{{1}}}?
Contents
Usage
Parameters
- confirmed: If anything is written in this parameter, the bug is considered confirmed (reproduced by many users)
- fixed: If present, should contain the patch number in which the bug was fixed.
- nocategory: If present, doesn't add the page to any category. Don't use this unless you're giving an example of how to use the template (such as below).
A bug can't be unconfirmed and fixed at the same time.
Examples
{{Bug|This is an unconfirmed bug.}}
- This is an unconfirmed bug.?
{{Bug|This is a confirmed bug.|confirmed=1}}
- This is a confirmed bug.
{{Bug|This is a fixed bug.|fixed=1.2.0.0}}
- This is a fixed bug.
- This bug was fixed in the 1.2.0.0 patch.