Template:Srcbranchdir: Difference between revisions

From ASCEND
Jump to navigation Jump to search
m Protected "Template:Srcbranchdir" ([edit=sysop] (indefinite) [move=sysop] (indefinite))
No edit summary
Line 1: Line 1:
[http://{{codeserver}}/viewvc/code/branches/{{{1}}}/{{{2}}} <font color=orange>{{{1}}}:</font>{{{2}}}]
[http://{{codeserver}}/viewvc/code/branches/{{{1}}}/{{{2}}} <font color=orange>{{{1}}}:</font>{{{2}}}]<noinclude>
 
''Create a link to a directory within a branch of our repository''
 
Usage: <tt><nowiki>{{srcbrancdir|path/to/dir}}</nowiki></tt>
 
Example: <tt><nowiki>{{srcbranchdir|models/johnpye}}</nowiki></tt>
 
{{Help/Src}}
</noinclude>
<includeonly>[[Category:Pages with code links]]</includeonly>

Revision as of 02:32, 22 June 2011

{{{1}}}:{{{2}}}

Create a link to a directory within a branch of our repository

Usage: {{srcbrancdir|path/to/dir}}

Example: {{srcbranchdir|models/johnpye}}

See also

This template makes our wiki independent of where the ViewVC server is currently located, since that address can be changed centrally in a single template (either Template:Codeserver or Template:Srctrunk)

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