Template:GitHub Repo URL/doc: Difference between revisions

From ChewWiki
Jump to navigation Jump to search
add docs
Tag: 2017 source edit
 
add note about category inclusion
Tag: 2017 source edit
 
(2 intermediate revisions 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 ==


<nowiki>{{GitHub Repo URL|Chew|rory.cat}}</nowiki>
<code><nowiki>{{GitHub Repo URL|Chew|rory.cat}}</nowiki></code>


{{GitHub Repo URL|Chew|rory.cat}}
[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}}

Chew/rory.cat on GitHub

TemplateData

Creates an external link to a GitHub repo. Used in the External links section.

Template parameters

ParameterDescriptionTypeStatus
Org/User1

The organization or user of the repository.

Stringrequired
Repo2

The repository name

Stringrequired