Difference between revisions of "Template:Bug"

From Inkscape Wiki
Jump to: navigation, search
(sp)
Line 4: Line 4:
 
{{#switch: {{{status}}}
 
{{#switch: {{{status}}}
 
   | new
 
   | new
   | incomplete = "background:LightPink"
+
   | incomplete   = "background:LightPink"
 
   | confirmed
 
   | confirmed
   | triaged     = "background:LemonChiffon"
+
   | triaged     = "background:LemonChiffon"
 
   | inprogress
 
   | inprogress
   | fixcommited = "background:LightSkyBlue"  
+
   | fixcommitted = "background:LightSkyBlue"  
   | fixed       = "background:PaleGreen;text-decoration:line-through"
+
   | fixed       = "background:PaleGreen;text-decoration:line-through"
 
   | invalid
 
   | invalid
   | wontfix     = "background:LightGray;text-decoration:line-through"
+
   | wontfix     = "background:LightGray;text-decoration:line-through"
 
}}
 
}}
 
>
 
>

Revision as of 12:28, 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