Template:Enterbug/doc: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
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 unnamed parameters (below called <code>1</code>, <code>2</code>, and <code>3</code>).


===Product===
===Product===
Line 18: Line 18:


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>3</code>''': Text
This parameter is used for the text of the link. Optional, defaults to <code>product::component</code>.


'''Usage:'''
'''Usage:'''

Latest revision as of 15:41, 12 August 2019

Edit-copy green.svg
This is a documentation subpage for Template:Enterbug.
It contains usage information, categories and other content that is not part of the original template page.

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