Template:Bugstatus/doc

From blackwiki
Jump to navigation Jump to search

Usage

{{bugstatus|status=|res=}}

will display:

Status: New
Resolution:

Valid terms for the status and resolution parameters are listed below along with the results of each. The resolution parameter can alternatively be used to display any text specified if it does not match one of the valid resolution terms below. The template also supports two optional parameters, target (only with a resolution term of dup) and reason, which are described in more detail below.

Terms

Below is list of terms to use for the status and resolution. The synonyms and results of each are also shown.

Status

| ack | acknowledge | acknowledged       =  Acknowledged
| ass | assign | asn | assigned          =  Assigned
| cls | clo | clos | close | closed      =  Closed
| con | conf | cnf | confirm | confirmed =  Confirmed
| fdb | feed | fed | feb | feedback      =  Feedback required
| res | resolve | resolved               =  Resolved
| new | #default                         =  New

Resolution

| fix | fixed                            =  Fixed
| res | resolve | resolved               = Template:Resolved mark
| lat | later                            =  Later
| inv | invalid                          =  Invalid
| wfm | works for me | worksforme        = Template:Works for me
| wnf | wontfix | wont fix | won't fix   = Template:Wontfix
| dup | dupe | duplicate                 = arrow Dupe
| #default                               = specified text

Optional parameters

Target

target                                   = original bug ID (only works when resolution is dup, dupe, or duplicate)

For example,

{{bugstatus|status=cls|res=dup|target=13}}

will display:

Status: Closed
Resolution: arrow Dupe (bug 13)

Reason

reason                                   = eventual reason

For example,

{{bugstatus|status=res|res=fix|reason=The problem has been fixed.}}

will display:

Status: Resolved
Resolution: Fixed- The problem has been fixed