Template:Enterbug/doc: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
! Example case !! What you write !! What you see
! Example case !! What you write !! What you see
|-
|-
| Testing::General || <code><nowiki>{{enterbug|Testing|General}}</nowiki></code> || {{enterbug|product=Testing|component=General}}
| Testing::General || <code><nowiki>{{enterbug|Testing|General}}</nowiki></code> || {{enterbug|Testing|General}}
|-
|-
| Tree Management::Treeherder || <code><nowiki>{{enterbug|Tree Management|Treeherder}}</nowiki></code> || {{enterbug|Tree Management|Treeherder}}
| Tree Management::Treeherder || <code><nowiki>{{enterbug|Tree Management|Treeherder}}</nowiki></code> || {{enterbug|Tree Management|Treeherder}}

Revision as of 15:34, 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 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|Tree Management|Treeherder}} Tree Management::Treeherder
Tree Management::Treeherder {{enterbug|Tree Management|Treeherder|File a new bug}} File a new bug