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 - "</>" to "") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
| = | | = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | + | == Repository == |
− | == Download == | + | |
− | + | * [https://github.com/{{{User|}}}/{{{Repo|}}} View repository on <tvar|github>github.com] | |
− | * [https://github.com/{{{User|}}}/{{{Repo|}}}/tags | + | * [https://github.com/{{{User|}}}/{{{Repo|}}}/issues Issue tracker] |
− | === | + | |
+ | |||
+ | == Download == | ||
+ | |||
+ | * [https://github.com/{{{User|}}}/{{{Repo|}}}/tags Releases] | ||
+ | === Download using Git === | ||
<code> | <code> | ||
git clone <nowiki>https://github.com/</nowiki>{{{User|}}}/{{{Repo|}}}.git {{{Target|}}} | git clone <nowiki>https://github.com/</nowiki>{{{User|}}}/{{{Repo|}}}.git {{{Target|}}} |
Latest revision as of 16:10, 21 December 2019
Repository
- [https://github.com// View repository on <tvar

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