Template:GitHub

From blackwiki
Revision as of 15:53, 20 November 2014 by imported>Technical 13 (Reverted to revision 633283863 by Technical 13: Please discuss on talk page, don't force everyone to use https because you like it and this template is used for more than just linking to repos. (TW))
Jump to navigation Jump to search

GitHub page

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
  • {{GitHub|RDFLib/rdflib|RDFLib}}RDFLib
  • {{GitHub|RDFLib/rdflib|RDFLib|link=no}}RDFLib
  • {{GitHub|RDFLib/rdflib|RDFLib|link=hidden}}RDFLib
  • {{GitHub|https://github.com/RDFLib/rdflib}} → [{{{url}}} rdflib]
  • {{GitHub|https://github.com/RDFLib/rdflib/blob/master/rdflib/compare.py}} → [{{{url}}} compare.py]

See also

Template:Wikidata property