Template:GitHub Repo URL/doc: Difference between revisions
Jump to navigation
Jump to search
m wrap example in <code> Tag: 2017 source edit |
add note about category inclusion Tag: 2017 source edit |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
This template creates an external link to a GitHub repository. It additionally links to the Wikipedia article for GitHub. | This template creates an external link to a GitHub repository. It additionally links to the Wikipedia article for GitHub. | ||
Pages with this template are automatically added to [[:Category:Articles with GitHub repositories]]. | |||
== Example == | == Example == | ||
Line 5: | Line 7: | ||
<code><nowiki>{{GitHub Repo URL|Chew|rory.cat}}</nowiki></code> | <code><nowiki>{{GitHub Repo URL|Chew|rory.cat}}</nowiki></code> | ||
[https://github.com/Chew/rory.cat Chew/rory.cat] on {{Wikipedia link|GitHub}} | |||
== TemplateData == | == TemplateData == |
Latest revision as of 18:13, 27 December 2024
This template creates an external link to a GitHub repository. It additionally links to the Wikipedia article for GitHub.
Pages with this template are automatically added to Category:Articles with GitHub repositories.
Example
{{GitHub Repo URL|Chew|rory.cat}}
TemplateData
Creates an external link to a GitHub repo. Used in the External links section.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Org/User | 1 | The organization or user of the repository. | String | required |
Repo | 2 | The repository name | String | required |