Difference between revisions of "Template:GitHub"

From blackwiki
Jump to navigation Jump to search
imported>George8211
m (fix)
imported>Izkala
(TfD closed as merge)
Line 1: Line 1:
{{Tfm/dated|page=GitHub|otherpage=Github|link=Wikipedia:Templates for discussion/Log/2015 August 7#Template:GitHub|type=tiny|help=off}} [{{#ifeq:{{lc:{{Str left|{{{1|{{{url}}}}}}|4}}}} | http | {{{1|{{{url}}}}}} | https://github.com/{{{1|{{{url}}}}}}}} {{{label|{{{2|{{#titleparts:{{{1|page}}}|1|-1}}}}}}}}] on [[GitHub]]<noinclude>
+
<noinclude>{{Being deleted|merge=Template:Github|2015 August 7}}</noinclude>[{{#ifeq:{{lc:{{Str left|{{{1|{{{url}}}}}}|4}}}} | http | {{{1|{{{url}}}}}} | https://github.com/{{{1|{{{url}}}}}}}} {{{label|{{{2|{{#titleparts:{{{1|page}}}|1|-1}}}}}}}}] on [[GitHub]]<noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Revision as of 09:18, 23 August 2015

Page on GitHub

Template documentation[view] [edit] [history] [purge]

Usage

This template can be used to create a link to a repository or a single file on GitHub. The link to GitHub can be suppressed with the parameter |link=no, and the mentioning of GitHub can be omitted entirely with |link=hidden.

Examples

  • {{GitHub|RDFLib/rdflib}}rdflib on GitHub
  • {{GitHub|RDFLib/rdflib|RDFLib}}RDFLib on GitHub
  • {{GitHub|RDFLib/rdflib|RDFLib|link=no}}RDFLib on GitHub
  • {{GitHub|RDFLib/rdflib|RDFLib|link=hidden}}RDFLib on GitHub
  • {{GitHub|https://github.com/RDFLib/rdflib}}rdflib on GitHub
  • {{GitHub|https://github.com/RDFLib/rdflib/blob/master/rdflib/compare.py}}compare.py on GitHub

See also

Template:Wikidata property