Template:Srcbranch: Difference between revisions

From ASCEND
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[http://{{codeserver}}/ascend/branches/{{{1}}}/{{{2}}}?view=markup <font color=orange>{{{1}}}:</font>{{{2}}}]{{srcasterisk}}<noinclude>{{colorbox|#ffffbb|
[http://{{codeserver}}/tree/{{{1}}}/{{{2}}} <font color=orange>{{{1}}}:</font>{{{2}}}]{{srcasterisk}}<noinclude>{{colorbox|#ffffbb|


''Provide a link to source code in a branch of our repository.''
''Provide a link to source code in a branch of our repository.''

Revision as of 23:16, 17 December 2023

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

Provide a link to source code in a branch of our repository.

  • Usage: {{branchname|relative/path/to/code.c}}
  • Example: {{grivan|models/thermodynamics.a4l}}

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.