Difference between revisions of "Template:Bug"

From Inkscape Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
<includeonly>
 
<!-- Set the background color according to the bug status (if specified) -->
 
<!-- Set the background color according to the bug status (if specified) -->
 
<span style=
 
<span style=
Line 8: Line 9:
 
   | inprogress
 
   | inprogress
 
   | fixcommited = "background:LightSkyBlue"  
 
   | fixcommited = "background:LightSkyBlue"  
   | fixed      = "background:PaleGreen"
+
   | fixed      = "background:PaleGreen;text-decoration:line-through"
 
   | invalid
 
   | invalid
 
   | wontfix    = "background:LightGray;text-decoration:line-through"
 
   | wontfix    = "background:LightGray;text-decoration:line-through"
Line 15: Line 16:
 
[https://bugs.launchpad.net/inkscape/+bug/{{{id}}} lp:{{{id}}}]
 
[https://bugs.launchpad.net/inkscape/+bug/{{{id}}} lp:{{{id}}}]
 
</span>
 
</span>
 +
</includeonly><noinclude>
 +
This template provides a color-coded link to an Inkscape bug on Launchpad.  For example, to link to bug #1662098, which has the status "invalid", use:
 +
 +
<code><nowiki>{{bug | id = 1662098 | status = invalid}}</nowiki></code>
 +
 +
This will render as {{bug | id = 1662098 | status = invalid}}
 +
 +
The list of valid status codes is:
 +
* <span style = "background:LightPink">new</span>
 +
* <span style = "background:LightPink">incomplete</span>
 +
* <span style = "background:LemonChiffon">confirmed</span>
 +
* <span style = "background:LemonChiffon">triaged</span>
 +
* <span style = "background:LightSkyBlue">inprogress</span>
 +
* <span style = "background:LightSkyBlue">fixcommitted</span>
 +
* <span style = "background:PaleGreen;text-decoration:line-through">fixed</span>
 +
* <span style = "background:LightGray;text-decoration:line-through">invalid</span>
 +
* <span style = "background:LightGray;text-decoration:line-through">wontfix</span>
 +
</noinclude>

Revision as of 12:22, 21 February 2017

This template provides a color-coded link to an Inkscape bug on Launchpad. For example, to link to bug #1662098, which has the status "invalid", use:

{{bug | id = 1662098 | status = invalid}}

This will render as lp:1662098

The list of valid status codes is:

  • new
  • incomplete
  • confirmed
  • triaged
  • inprogress
  • fixcommitted
  • fixed
  • invalid
  • wontfix