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) |
|||
(11 intermediate revisions by 8 users 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]]) --> | ||
+ | {{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}}. | |
− | == | + | == Examples == |
− | * {{ | + | * {{#invoke:DemoTemplate|{{BASEPAGENAME}}|RDFLib/rdflib}} |
− | * {{ | + | * {{#invoke:DemoTemplate|{{BASEPAGENAME}}|RDFLib/rdflib|RDFLib}} |
− | * {{ | + | * {{#invoke:DemoTemplate|{{BASEPAGENAME}}|RDFLib/rdflib|RDFLib|link=no}} |
+ | * {{#invoke:DemoTemplate|{{BASEPAGENAME}}|RDFLib/rdflib|RDFLib|link=hidden}} | ||
+ | * {{#invoke:DemoTemplate|{{BASEPAGENAME}}|https://github.com/RDFLib/rdflib}} | ||
+ | * {{#invoke:DemoTemplate|{{BASEPAGENAME}}|https://github.com/RDFLib/rdflib/blob/master/rdflib/compare.py}} | ||
== See also == | == See also == | ||
− | *{{ | + | {{Wikidata property|1=P2037}} |
+ | * {{Tl|Openhub}} | ||
+ | * {{Tl|SourceForge}} | ||
− | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
− | [[Category: | + | [[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}}