Difference between revisions of "Template:Bug"
From sureai
(Category management) |
(Add a fixed=future option.) |
||
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>{{#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> | + | ** This bug {{#ifeq: {{{fixed|}}} | future |will be fixed in the next patch|was fixed in the [[{{NAMESPACE}}:Patch/{{{fixed}}}|{{{fixed}}} patch]]}}.|}}<includeonly>{{#if: {{{nocategory|}}}||[[Category:{{#if: {{{fixed|}}}|Fixed|{{#if: {{{confirmed|}}}|Confirmed|Unconfirmed}}}} Bugs{{#ifeq: {{{fixed|}}} | future |-Future|}}]]{{#if: {{NAMESPACE}}|[[Category:{{NAMESPACE}}-{{#if: {{{fixed|}}}|Fixed|{{#if: {{{confirmed|}}}|Confirmed|Unconfirmed}}}} Bugs{{#ifeq: {{{fixed|}}} | future |-Future|}}]]|}}}}</includeonly><noinclude> |
== Usage == | == Usage == | ||
Line 6: | Line 6: | ||
=== 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. Can be <code>future</code> if the bug is fixed on the WIP to-be-released patch. |
* '''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). | * '''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). | ||
Line 29: | Line 29: | ||
{{Bug|This is a fixed bug.|fixed=1.2.0.0|nocategory=1}} | {{Bug|This is a fixed bug.|fixed=1.2.0.0|nocategory=1}} | ||
+ | |||
+ | <pre> | ||
+ | {{Bug|This bug will be fixed in the next patch.|fixed=future}} | ||
+ | </pre> | ||
+ | |||
+ | {{Bug|This bug will be fixed in the next patch.|fixed=future|nocategory=1}} | ||
+ | |||
== Categories == | == Categories == | ||
* [[:Category:Fixed Bugs|Fixed Bugs]] | * [[:Category:Fixed Bugs|Fixed Bugs]] | ||
+ | ** [[:Category:Fixed Bugs-Future|Fixed Bugs-Future]] | ||
* [[:Category:Unconfirmed Bugs|Unconfirmed Bugs]] | * [[:Category:Unconfirmed Bugs|Unconfirmed Bugs]] | ||
* [[:Category:Confirmed Bugs|Confirmed Bugs]] | * [[:Category:Confirmed Bugs|Confirmed Bugs]] | ||
* '''Enderal''' | * '''Enderal''' | ||
** [[:Category:Enderal-Fixed Bugs|Enderal-Fixed Bugs]] | ** [[:Category:Enderal-Fixed Bugs|Enderal-Fixed Bugs]] | ||
+ | *** [[:Category:Enderal-Fixed Bugs-Future|Enderal-Fixed Bugs-Future]] | ||
** [[:Category:Enderal-Unconfirmed Bugs|Enderal-Unconfirmed Bugs]] | ** [[:Category:Enderal-Unconfirmed Bugs|Enderal-Unconfirmed Bugs]] | ||
** [[:Category:Enderal-Confirmed Bugs|Enderal-Confirmed Bugs]] | ** [[:Category:Enderal-Confirmed Bugs|Enderal-Confirmed Bugs]] |
Latest revision as of 13:33, 28 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. Can be
future
if the bug is fixed on the WIP to-be-released patch. - 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.
{{Bug|This bug will be fixed in the next patch.|fixed=future}}
- This bug will be fixed in the next patch.
- This bug will be fixed in the next patch.