Difference between revisions of "Template:Source ref"

From CrawlWiki
Jump to: navigation, search
m
(Link to tag, not branch. Requires full version including the patch number now.)
Line 1: Line 1:
<includeonly>[https://github.com/crawl/crawl/blob/stone_soup-{{{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: Crawl version, file name and line number.[[Category:Templates]]</noinclude>
+
<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>

Revision as of 16:04, 17 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.