Difference between revisions of "Template:GitHub/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
|||
| (One intermediate revision by one other user not shown) | |||
| 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}}. | ||
| Line 17: | Line 18: | ||
* {{Tl|SourceForge}} | * {{Tl|SourceForge}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Software external link templates]] | [[Category:Software external link templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 15:26, 25 April 2020
| 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}}