Difference between revisions of "Template:GitHub/doc"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- 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]]) --> | ||
| + | {{Lua|Module:String}} | ||
== 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}}, and the mentioning of GitHub can be omitted entirely with {{Para|link|hidden}}. | 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}}. | ||
Revision as of 13:26, 24 September 2019
| 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. |
| This template uses Lua: |
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
- {{Openhub}}
- {{SourceForge}}