Difference between revisions of "Template:Bug"
Jump to navigation
Jump to search
(sp) |
(Add option to include name) |
||
Line 14: | Line 14: | ||
}} | }} | ||
> | > | ||
[https://bugs.launchpad.net/inkscape/+bug/{{{id}}} lp:{{{id}}}] | <!-- 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}}} }}] | |||
</span> | </span> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 33: | Line 34: | ||
* <span style = "background:LightGray;text-decoration:line-through">invalid</span> | * <span style = "background:LightGray;text-decoration:line-through">invalid</span> | ||
* <span style = "background:LightGray;text-decoration:line-through">wontfix</span> | * <span style = "background:LightGray;text-decoration:line-through">wontfix</span> | ||
You can also provide a name or description of the bug by using the format: | |||
<code><nowiki>{{bug | id = 1662098 | name = An example bug | status = invalid}}</nowiki></code> | |||
This renders as {{bug | id = 1662098 | name = An example bug | status = invalid}} | |||
</noinclude> | </noinclude> |
Revision as of 14:23, 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 }}