Difference between revisions of "Template:git"

From GeneWeb
Jump to: navigation, search
m
m
Line 1: Line 1:
{{c|[https://github.com/geneweb/geneweb/blob/master/{{{1}}}/{{{2}}} {{{2}}}]}}
+
<includeonly>{{c|[https://github.com/geneweb/geneweb/blob/master/{{{1}}}/{{{2}}} {{{2}}}]}}</includeonly><noinclude>Link to file or dir into to [[Repository|GeneWeb master on GitHub]] using URL https://github.com/geneweb/geneweb/blob/master/{{{1}}}/{{{2}}} 1=dir 2=file or dir
 +
 
 +
Ex.:
 +
* <nowiki>{{git|etc|a.gwf}}</nowiki> gives the link {{git|etc|a.gwf}}
 +
* <nowiki>{{git||README}}</nowiki> gives the link {{git||README}}

Revision as of 23:10, 19 October 2015

Link to file or dir into to GeneWeb master on GitHub using URL https://github.com/geneweb/geneweb/blob/master/{{{1}}}/{{{2}}} 1=dir 2=file or dir

Ex.:

  • {{git|etc|a.gwf}} gives the link a.gwf
  • {{git||README}} gives the link README