Difference between revisions of "Template:GithubRepo"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "</translate>" to "")
m (Text replacement - "</>" to "")
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
| =
 
| =
  
== Repository == <!--T:1-->
+
== Repository ==  
  
* [https://github.com/{{{User|}}}/{{{Repo|}}} <!--T:2--> View repository on <tvar|github>github.com</>]
+
* [https://github.com/{{{User|}}}/{{{Repo|}}} View repository on <tvar|github>github.com]
* [https://github.com/{{{User|}}}/{{{Repo|}}}/issues <!--T:3--> Issue tracker]
+
* [https://github.com/{{{User|}}}/{{{Repo|}}}/issues Issue tracker]
  
  
== Download == <!--T:4-->
+
== Download ==  
  
* [https://github.com/{{{User|}}}/{{{Repo|}}}/tags <!--T:5--> Releases]
+
* [https://github.com/{{{User|}}}/{{{Repo|}}}/tags Releases]
=== <!--T:6--> Download using Git ===
+
=== 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

Template documentation

For use on extension pages where the code is hosted on GitHub

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
UserUser

User under the repository of the extension is hosted in

Stringrequired
RepoRepo

Repository name

Stringrequired
TargetTarget

Target of the git clone (optional)

Stringoptional

Usage:

{{GithubRepo|User=DaSchTour|Repo=JavascriptSlideshow}}

This will refer to the repository https://github.com/DaSchTour/JavascriptSlideshow