Template:Enterbug/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 36: | Line 36: | ||
| Tree Management::Treeherder || <code><nowiki>{{enterbug|Testing|General}}</nowiki></code> || {{enterbug|Tree Management|Treeherder}} | | Tree Management::Treeherder || <code><nowiki>{{enterbug|Testing|General}}</nowiki></code> || {{enterbug|Tree Management|Treeherder}} | ||
|- | |- | ||
| Infrastructure & Operations|RelOps: General || <code><nowiki>{{enterbug| | | Infrastructure & Operations|RelOps: General || <code><nowiki>{{enterbug|Infrastructure & Operations|RelOps: General|enter bug}}</nowiki></code> || {{enterbug|Infrastructure & Operations|RelOps: General|enter bug}} | ||
|} | |} | ||
Revision as of 15:23, 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 parameters (below called product, component, and text).
Product
product: Product
This parameter is used for the product to open the bug against.
Component
component: Component
This parameter is used for the component to open the bug against.
Text
text: Text
Text to use for the link. Optional (defaults to product::component).
Usage:
{{enterbug|product|component|text}}
Examples
| Example case | What you write | What you see |
|---|---|---|
| Testing::General | {{enterbug|Testing|General}} |
Testing::General |
| Tree Management::Treeherder | {{enterbug|Testing|General}} |
Tree Management::Treeherder |
| RelOps: General | {{enterbug|Infrastructure & Operations|RelOps: General|enter bug}} |
enter bug |