Difference between revisions of "Template:GitHub/doc"
Jump to navigation
Jump to search
imported>Kanashimi |
imported>Dsimic (→Usage: Updated to reflect latest changes) |
||
| Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
== Usage == | == 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 {{Para|link|no}}. | + | 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 {{Para|link|no}}, and the mentioning of GitHub can be omitted entirely with {{Para|link|hidden}}. |
== Examples == | == Examples == | ||
Revision as of 15:46, 4 April 2016
| This is a documentation subpage for Template:GitHub. It contains usage information, categories and other content that is not part of the original template page. |
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}}→ Script error: No such module "If empty". on GitHub{{GitHub|RDFLib/rdflib|RDFLib}}→ Script error: No such module "If empty". on GitHub{{GitHub|RDFLib/rdflib|RDFLib|link=no}}→ Script error: No such module "If empty". on GitHub{{GitHub|RDFLib/rdflib|RDFLib|link=hidden}}→ Script error: No such module "If empty".{{GitHub|https://github.com/RDFLib/rdflib}}→ Script error: No such module "If empty". on GitHub{{GitHub|https://github.com/RDFLib/rdflib/blob/master/rdflib/compare.py}}→ Script error: No such module "If empty". on GitHub
See also
- {{SourceForge}}