Difference between revisions of "Template:GithubRepo"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (Text replacement - "</translate>" to "") |
Joelmartin (talk | contribs) m (Text replacement - "</>" to "") |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
| = | | = | ||
− | == Repository == | + | == Repository == |
− | * [https://github.com/{{{User|}}}/{{{Repo|}}} | + | * [https://github.com/{{{User|}}}/{{{Repo|}}} View repository on <tvar|github>github.com] |
− | * [https://github.com/{{{User|}}}/{{{Repo|}}}/issues | + | * [https://github.com/{{{User|}}}/{{{Repo|}}}/issues Issue tracker] |
− | == Download == | + | == Download == |
− | * [https://github.com/{{{User|}}}/{{{Repo|}}}/tags | + | * [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