Difference between revisions of "Template:GithubRepo"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (Text replacement - "<translate>" to "") |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch:</translate> |
| = | | = | ||
− | + | ||
== Repository == <!--T:1--> | == Repository == <!--T:1--> | ||
</translate> | </translate> | ||
− | * [https://github.com/{{{User|}}}/{{{Repo|}}} | + | * [https://github.com/{{{User|}}}/{{{Repo|}}} <!--T:2--> View repository on <tvar|github>github.com</></translate>] |
− | * [https://github.com/{{{User|}}}/{{{Repo|}}}/issues | + | * [https://github.com/{{{User|}}}/{{{Repo|}}}/issues <!--T:3--> Issue tracker</translate>] |
+ | |||
− | |||
== Download == <!--T:4--> | == Download == <!--T:4--> | ||
</translate> | </translate> | ||
− | * [https://github.com/{{{User|}}}/{{{Repo|}}}/tags | + | * [https://github.com/{{{User|}}}/{{{Repo|}}}/tags <!--T:5--> Releases</translate>] |
− | === | + | === <!--T:6--> Download using Git</translate> === |
<code> | <code> | ||
git clone <nowiki>https://github.com/</nowiki>{{{User|}}}/{{{Repo|}}}.git {{{Target|}}} | git clone <nowiki>https://github.com/</nowiki>{{{User|}}}/{{{Repo|}}}.git {{{Target|}}} |
Revision as of 03:55, 21 December 2019
Repository
Download
Download using Git
git clone https://github.com//.git

For use on extension pages where the code is hosted on GitHub
Parameter | Description | Type | Status | |
---|---|---|---|---|
User | User | User under the repository of the extension is hosted in | String | required |
Repo | Repo | Repository name | String | required |
Target | Target | Target of the git clone (optional) | String | optional |
Usage:
{{GithubRepo|User=DaSchTour|Repo=JavascriptSlideshow}}
This will refer to the repository https://github.com/DaSchTour/JavascriptSlideshow