Template:Srcbranchdir: Difference between revisions

From ASCEND
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://{{codeserver}}/viewvc/code/branches/{{{1}}}/{{{2}}} <font color=orange>{{{1}}}:</font>{{{2}}}]<noinclude>
[{{srctrunk}}/blob/{{{1}}}/{{{2}}} <font color=orange>{{{1}}}:</font>{{{2}}}]{{srcasterisk}}<noinclude>{{colorbox|#ffffbb|


''Create a link to a directory within a branch of our repository''
''Create a link to a directory within a branch of our repository''
Line 7: Line 7:


{{Help/Src}}
{{Help/Src}}
</noinclude>
}}</noinclude><includeonly>[[Category:Pages with code links]][[Category:Pages with code branch links]]</includeonly>
<includeonly>[[Category:Pages with code links]][[Category:Pages with code branch links]]</includeonly>

Latest revision as of 23:20, 17 December 2023

{{{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.