Difference between revisions of "Template:Git/doc"
From Hercules Wiki
(Created page with "The {{tl|git}} template is a simple template used to display hyperlinks to the Hercules Git repository, currently hosted at [https://github.com/HerculesWS/Hercules/blob/ma...") |
Latest revision as of 04:11, 13 January 2013
The {{git}} template is a simple template used to display hyperlinks to the Hercules Git repository, currently hosted at GitHub.
It should be used whenever a link to Git repository is required in text.
Do not subst this template.
Usage
Optional first parameter will be added to the base url, making it possible to link to files or directories. It will be also used as visible name in the link.
For example, {{git|LICENSE}} will display as LICENSE.
Optional second parameter full indicates that a full link should be displayed.
Examples:
- {{git|LICENSE}} will display as LICENSE
- {{git|LICENSE|full}} will display as https://github.com/HerculesWS/Hercules/blob/master/LICENSE