Template:Enterbug/doc: Difference between revisions
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
==Parameter== | ==Parameter== | ||
There are | There are two unnamed parameters (below called <code>1</code> and <code>2</code>). | ||
===Product=== | ===Product=== | ||
'''<code> | '''<code>1</code>''': Product | ||
This parameter is used for the product to open the bug against. | This parameter is used for the product to open the bug against. | ||
===Component=== | ===Component=== | ||
'''<code> | '''<code>2</code>''': Component | ||
This parameter is used for the component to open the bug against. | This parameter is used for the component to open the bug against. | ||
'''Usage:''' | '''Usage:''' | ||
* <code><nowiki>{{</nowiki>enterbug|'''product'''|'''component | * <code><nowiki>{{</nowiki>enterbug|'''product'''|'''component'''<nowiki>}}</nowiki></code> | ||
==Examples== | ==Examples== | ||
| Line 35: | Line 30: | ||
|- | |- | ||
| 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}} | ||
|} | |} | ||
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 two unnamed parameters (below called 1 and 2).
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.
Usage:
{{enterbug|product|component}}
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 |