Template:Enterbug/doc: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
(Undo revision 1216335 by Davehunt (talk))
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|product=Infrastructure & Operations|component=RelOps: General|text=enter bug}}</nowiki></code> || {{enterbug|Infrastructure & Operations|RelOps: General|enter bug}}
| 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

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 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