Jump to content
Toggle menu
  • 3.1K articles
  • 4.4K files
  • 18 users
  • 91.5K edits
Ashenzari's Archive
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Commit ref: Difference between revisions

Template page
imported>Regret-index
Trying to duplicate the Template:Source_ref arrangement to provide in-line annotations for specific commits rather than specific copies of the code.
 
imported>Regret-index
No edit summary
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>

Revision as of 21: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.