Difference between revisions of "Template:Commit"
Jump to navigation
Jump to search
(Also, the word "commit" seems to be redundant. Excise it.) |
(make the default link title "commit <first 8 characters of hash>") |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <onlyinclude><includeonly> | + | <onlyinclude><includeonly>[https://github.com/NetHack/NetHack/commit/{{{1}}} {{{2|commit {{padleft:|8|{{{1}}}}}}}}]</includeonly></onlyinclude> |
<noinclude> | <noinclude> | ||
− | This template is intended for creating links directly to individual commits in the public source repository. | + | This template is intended for creating links directly to individual commits in the public source repository. |
+ | |||
+ | === Usage === | ||
+ | <nowiki> | ||
+ | {{commit|fullhash|link title}} | ||
+ | </nowiki> | ||
+ | |||
</noinclude> | </noinclude> |
Latest revision as of 04:25, 8 August 2022
This template is intended for creating links directly to individual commits in the public source repository.
Usage
{{commit|fullhash|link title}}