Template:Bug: Difference between revisions

From The Dreaming
Jump to navigation Jump to search
Template cribbed from Blue Prism (well, I wrote it)
 
m Blue Prism? What's that?
 
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|<span class="plainlinks">[https://portal.blueprism.com/tracker/show_bug.cgi?id={{{1|}}}#c{{{2|}}} bug {{{1|}}}{{#if:{{{2|}}}|, comment {{{2}}} }}]</span>|''bug ???''}}</includeonly><noinclude>
<includeonly>{{#if:{{{1|}}}|<span class="plainlinks">[https://bugzilla.panglossian.net/show_bug.cgi?id={{{1|}}}#c{{{2|}}} bug {{{1|}}}{{#if:{{{2|}}}|, comment {{{2}}} }}]</span>|''bug ???''}}</includeonly><noinclude>
== Usage ==
== Usage ==
Template for linking to a Bugzilla issue. For example,
Template for linking to a Bugzilla issue. For example,

Latest revision as of 17:36, 28 January 2020

Usage

Template for linking to a Bugzilla issue. For example,

{{bug|2298}}

will provide the link:

bug 2298

To link directly to a comment, add the comment number as the second parameter, eg.

{{bug|2298|3}}

will output:

bug 2298, comment 3