模板:Gerrit/doc
外观
| 文件:Codex icon book color-base.svg | This is a documentation subpage for 模板:Gerrit. It contains usage information, categories and other content that is not part of the original 模板 page. |
| Lua标志 | 使用Lua |
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Gerrit
Link to a Gerrit change
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| Change number or change ID | 1 | Change number or Change-Id in Wikimedia's Gerrit
| 字符串 | 必需 |
Examples
Basic call without parameters (Gerrit search)
{{Gerrit}}
Gerrit change number
{{Gerrit|4203}}
Gerrit change id
{{Gerrit|I2d7d6eeef07552b796a68963ccd4f89f4c5939d7}}
Git commit id
{{Git|3b85ab0624afe5a53bb60c558f0bef4d6dfb43cd}}
{{Git|3b85ab0}}