Difference between revisions of "Template:Source ref"

From CrawlWiki
Jump to: navigation, search
(Link to tag, not branch. Requires full version including the patch number now.)
m (Show version.)
 
Line 1: Line 1:
<includeonly>[https://github.com/crawl/crawl/blob/{{{1}}}/crawl-ref/source/{{{2}}}#L{{{3}}} {{{2}}}:{{{3}}}]</includeonly><noinclude>Creates a link to location in source file, to be used inside <nowiki><ref></nowiki>-tags. Parameters: Full Crawl version (matching Git tag), file name and line number.[[Category:Templates]]</noinclude>
+
<includeonly>[https://github.com/crawl/crawl/blob/{{{1}}}/crawl-ref/source/{{{2}}}#L{{{3}}} {{{2}}}:{{{3}}}] ({{{1}}})</includeonly><noinclude>Creates a link to location in source file, to be used inside <nowiki><ref></nowiki>-tags. Parameters: Full Crawl version (matching Git tag), file name and line number.[[Category:Templates]]</noinclude>

Latest revision as of 15:48, 21 November 2016

Creates a link to location in source file, to be used inside <ref>-tags. Parameters: Full Crawl version (matching Git tag), file name and line number.