Template:Enterbug/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 7: Line 7:


==Parameter==
==Parameter==
There are two unnamed parameters (below called <code>1</code> and <code>2</code>).
There are three parameters (below called <code>product</code>, <code>component</code>, and <code>text</code>).


===Product===
===Product===
'''<code>1</code>''': Product
'''<code>product</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>2</code>''': Component
'''<code>component</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.
===Text===
'''<code>text</code>''': Text
Text to use for the link. Optional (defaults to product::component).


'''Usage:'''
'''Usage:'''
* <code><nowiki>{{</nowiki>enterbug|'''product'''|'''component'''<nowiki>}}</nowiki></code>
* <code><nowiki>{{</nowiki>enterbug|'''product'''|'''component'''|'''text'''<nowiki>}}</nowiki></code>


==Examples==
==Examples==
Line 30: Line 35:
|-
|-
| 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|enter bug}}</nowiki></code> || {{enterbug|Infrastructure & Operations|RelOps: General|enter bug}}
|}
|}
Confirmed users
2,197

edits