Template:Sourcelink: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
m remove superfluous newlines
Flozi (talk | contribs)
m usage
 
Line 1: Line 1:
<noinclude>
<noinclude>
A small template to link to an engine source file on github.
A small template to link to an engine source file on github.
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/{{EngineVersion:Stable}}/{{{file|}}} {{{file|}}}] </includeonly>

Latest revision as of 23:59, 25 December 2017

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

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