Template:Gerrit/doc
Appearance
This is a documentation subpage for Template:Gerrit. It contains usage information, categories and other content that is not part of the original template page. |
Uses Lua: |
See also: Template:Git repo and Template:gitweb
Usage examples
Without any parameter
Wikitext: {{Gerrit}}
Render:
- example
Link to a change
Wikitext: {{Gerrit|4203}}
Render a link to change number 4203:
With deploy commands
Wikitext: {{Gerrit|688200|bacc=y}}
Render:
On the deployment calendar bacc is enabled by default.
Link to Gerrit change id
Wikitext: {{Gerrit|I2d7d6eeef07552b796a68963ccd4f89f4c5939d7}}
Render:
Link to Git commit hash
Wikitext: {{Git|3b85ab0624afe5a53bb60c558f0bef4d6dfb43cd}}
Render:
Wikitext: {{Git|3b85ab0}}
Render:
Parameters description
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Identifier | 1 | The git commit hash, gerrit change number, or gerrit Change-Id | String | required |