Difference between revisions of "Template:Bug"

From Inkscape Wiki
Jump to navigation Jump to search
(Add option to include name)
Line 15: Line 15:
>
>
<!-- Use the description of the bug-link if it has been specified -->
<!-- Use the description of the bug-link if it has been specified -->
[https://bugs.launchpad.net/inkscape/+bug/{{{id}}} {{#if: {{{name|}}} | {{{name}}} (lp:{{{id}}})| lp:{{{id}}} }}]
[https://bugs.launchpad.net/inkscape/+bug/{{{id}}} {{#if: {{{name|}}} | {{{name}}} (lp:{{{id}}})| lp:{{{id}}} }}]</span></includeonly><noinclude>
</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:
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:



Revision as of 14:26, 23 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 {{#if: | {{{name}}} (lp:1662098)| lp:1662098 }}

The list of valid status codes is:

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

You can also provide a name or description of the bug by using the format: {{bug | id = 1662098 | name = An example bug | status = invalid}}

This renders as {{#if: An example bug | An example bug (lp:1662098)| lp:1662098 }}