Difference between revisions of "Template:Sourcelink"

From Zero-K
Jump to navigation Jump to search
(migration of springrts wiki)
 
 
Line 4: Line 4:
 
Usage: <nowiki>{{sourcelink|file=path/to/file.cpp}}</nowiki>
 
Usage: <nowiki>{{sourcelink|file=path/to/file.cpp}}</nowiki>
  
</noinclude><includeonly>[https://github.com/spring/spring/blob/{{EngineVersion:Stable}}/{{{file|}}} {{{file|}}}] </includeonly>
+
</noinclude><includeonly>[https://github.com/spring/spring/blob/104.0/{{{file|}}} {{{file|}}}] </includeonly>

Latest revision as of 00:29, 10 September 2020

A small template to link to an engine source file on github.

Usage: {{sourcelink|file=path/to/file.cpp}}