Template:GitHub
Jump to navigation
Jump to search
Uses Lua: |
Usage
[edit]This template can be used to create a link to a repository or a single file on GitHub. The link to GitHub can be suppressed with the parameter |link=no
, and the mentioning of GitHub can be omitted entirely with |link=hidden
.
TemplateData
[edit]This is the TemplateData documentation for this template used by VisualEditor and other tools.
GitHub
Creates a formatted link to a page on GitHub.
Parameter | Description | Type | Status | |
---|---|---|---|---|
URL | 1 | The page or URL on “https://GitHub.com”. | URL | required |
Label | 2 | The displayed text.
| Line | optional |
Include “on GitHub” Text? | link | Whether to include the “on GitHub” text and whether it should be linked. Supported values: "no"/"hidden".
| String | optional |
The above documentation is transcluded from Template:GitHub/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |