Template:Src: Difference between revisions

From ASCEND
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[{{srctrunk}}{{{1}}}?view=markup {{{1}}}]
[{{srctrunk}}{{{1}}}?view=markup {{{1}}}]<includeonly>[[Category:Pages with code links]]</includeonly><noinclude>
<div>
''This template is used to provide links to ViewVC code listings. If the location of that ViewVC server changes, all links can be updated by changing this template.''
</div>
 
Usage: <tt><nowiki>{{src|relative/path/within/trunk.c}}</nowiki></tt>
 
Example: <tt><nowiki>{{src|models/johnpye/testlog10.a4c}}</nowiki></tt>
 
See also
* [[:Template:Srcdir]] if you want to link to a directory, not a code file
* [[:Template:Srcbranch]] if you want to link to code in a named branch (not trunk)
* [[:Template:Srcbranchdir]] if you want to link to a directory in a named branch (not trunk)
 
See [[:Category:Pages with code links]] to see (and check) all the resulting links, because they sometimes get messed up.
</noinclude>

Revision as of 02:20, 22 June 2011

{{{1}}}

This template is used to provide links to ViewVC code listings. If the location of that ViewVC server changes, all links can be updated by changing this template.

Usage: {{src|relative/path/within/trunk.c}}

Example: {{src|models/johnpye/testlog10.a4c}}

See also

See Category:Pages with code links to see (and check) all the resulting links, because they sometimes get messed up.