Difference between revisions of "Template:GitHub"
Jump to navigation
Jump to search
imported>Pigsonthewing (Nominated for merging with Template:Github; see Wikipedia:Templates for discussion/Log/2015 August 7#Template:GitHub. (TW)) |
imported>Codename Lisa (Established style consistency with other similar templates.) |
||
| Line 1: | Line 1: | ||
{{Tfm/dated|page=GitHub|otherpage=Github|link=Wikipedia:Templates for discussion/Log/2015 August 7#Template:GitHub|type=tiny|help=off}} | {{Tfm/dated|page=GitHub|otherpage=Github|link=Wikipedia:Templates for discussion/Log/2015 August 7#Template:GitHub|type=tiny|help=off}} | ||
| − | [{{#ifeq:{{lc:{{Str left|{{{1|{{{url}}}}}}|4}}}} | http | {{{1|{{{url}}}}}} | https://github.com/{{{1|{{{url}}}}}}}} {{{label|{{{2|{{#titleparts:{{{1|page}}}|1|-1}} | + | [{{#ifeq:{{lc:{{Str left|{{{1|{{{url}}}}}}|4}}}} | http | {{{1|{{{url}}}}}} | https://github.com/{{{1|{{{url}}}}}}}} {{{label|{{{2|{{#titleparts:{{{1|page}}}|1|-1}}}}}}}}] on [[GitHub]]<noinclude> |
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> | ||
Revision as of 17:12, 10 August 2015
Template:Tfm/dated Page on GitHub
| 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}}→ Template:Tfm/dated
{{GitHub|RDFLib/rdflib|RDFLib}}→ Template:Tfm/dated
{{GitHub|RDFLib/rdflib|RDFLib|link=no}}→ Template:Tfm/dated
{{GitHub|RDFLib/rdflib|RDFLib|link=hidden}}→ Template:Tfm/dated
{{GitHub|https://github.com/RDFLib/rdflib}}→ Template:Tfm/dated
{{GitHub|https://github.com/RDFLib/rdflib/blob/master/rdflib/compare.py}}→ Template:Tfm/dated
compare.py on GitHub
See also
- {{Openhub}}
- {{SourceForge}}
| The above documentation is transcluded from Template:GitHub/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |