Difference between revisions of "Template:Commit ref"
Regret-index (talk | contribs) (Trying to duplicate the Template:Source_ref arrangement to provide in-line annotations for specific commits rather than specific copies of the code.) |
Regret-index (talk | contribs) (...This should have the version number to make the reference link look nicer, actually.) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>[https://github.com/crawl/crawl/commit/{{{1}}}/] ({{{1}}})</includeonly><noinclude>Creates a link to a specific commit from the main Crawl repository, to be used inside <nowiki><ref></nowiki>-tags. Parameters: commit hash.[[Category:Templates]]</noinclude> | + | <includeonly>[https://github.com/crawl/crawl/commit/{{{1}}}/ {{{2}}}-g{{{1}}}] ({{{1}}})</includeonly><noinclude>Creates a link to a specific commit from the main Crawl repository, to be used inside <nowiki><ref></nowiki>-tags. Parameters: commit hash, version number.[[Category:Templates]]</noinclude> |
Latest revision as of 23:12, 10 May 2026
Creates a link to a specific commit from the main Crawl repository, to be used inside <ref>-tags. Parameters: commit hash, version number.