Template:Enterbug: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[https://bugzilla.mozilla.org/enter_bug.cgi?product={{urlencode:{{{ | [https://bugzilla.mozilla.org/enter_bug.cgi?product={{urlencode:{{{1}}}}}&component={{urlencode:{{{2}}}}} {{#if: {{{3|}}} | {{{3}}} | {{{1}}}::{{{2}}} }}]<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 15:40, 12 August 2019
Usage
{{enterbug}} provides a link to enter a new bug.
To use the template, type {{enterbug|product|component}}
.
Parameter
There are three unnamed parameters (below called 1
, 2
, and 3
).
Product
1
: Product
This parameter is used for the product to open the bug against.
Component
2
: Component
This parameter is used for the component to open the bug against.
Text
3
: Text
This parameter is used for the text of the link. Optional, defaults to product::component
.
Usage:
{{enterbug|product|component}}
Examples
Example case | What you write | What you see |
---|---|---|
Testing::General | {{enterbug|Testing|General}} |
Testing::General |
Tree Management::Treeherder | {{enterbug|Tree Management|Treeherder}} |
Tree Management::Treeherder |
Tree Management::Treeherder | {{enterbug|Tree Management|Treeherder|File a new bug}} |
File a new bug |
The above documentation is transcluded from Template:Enterbug/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |