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 - "</translate>" to "") |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
| = | | = | ||
== Repository == <!--T:1--> | == Repository == <!--T:1--> | ||
− | + | ||
− | * [https://github.com/{{{User|}}}/{{{Repo|}}} <!--T:2--> View repository on <tvar|github>github.com</ | + | * [https://github.com/{{{User|}}}/{{{Repo|}}} <!--T:2--> View repository on <tvar|github>github.com</>] |
− | * [https://github.com/{{{User|}}}/{{{Repo|}}}/issues <!--T:3--> Issue tracker | + | * [https://github.com/{{{User|}}}/{{{Repo|}}}/issues <!--T:3--> Issue tracker] |
== Download == <!--T:4--> | == Download == <!--T:4--> | ||
− | + | ||
− | * [https://github.com/{{{User|}}}/{{{Repo|}}}/tags <!--T:5--> Releases | + | * [https://github.com/{{{User|}}}/{{{Repo|}}}/tags <!--T:5--> Releases] |
− | === <!--T:6--> Download using Git | + | === <!--T:6--> 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|}}} |
Revision as of 04:06, 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