Template:GitHub/doc: Difference between revisions
Template page
More actions
Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:String}} == 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:DemoTempl..." |
(No difference)
|
Latest revision as of 05:28, 22 February 2025
| This is a documentation subpage for Template:GitHub. It may contain usage information, categories and other content that is not part of the original template page. |
| 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}}→ rdflib on GitHub{{GitHub|RDFLib/rdflib|RDFLib}}→ RDFLib on GitHub{{GitHub|RDFLib/rdflib|RDFLib|link=no}}→ RDFLib on GitHub{{GitHub|RDFLib/rdflib|RDFLib|link=hidden}}→ RDFLib{{GitHub|https://github.com/RDFLib/rdflib}}→ rdflib on GitHub{{GitHub|https://github.com/RDFLib/rdflib/blob/master/rdflib/compare.py}}→ compare.py on GitHub
See also
- {{Openhub}}
- {{SourceForge}}