Difference between revisions of "Template:Trunk file"
From Mpich
Line 1: | Line 1: | ||
− | <includeonly>[https://trac.mcs.anl.gov/projects/mpich2/browser/mpich2/trunk/{{{1}}}#{{{2|0}}} {{{1}}}:{{{2|0}}}]</includeonly><noinclude> | + | <includeonly>[https://trac.mcs.anl.gov/projects/mpich2/browser/mpich2/trunk/{{{1}}}#L{{{2|0}}} {{{1}}}:{{{2|0}}}]</includeonly><noinclude> |
<!-- if we had modern mediawiki, we would do this: [https://trac.mcs.anl.gov/projects/mpich2/browser/mpich2/{{{1}}}{{ #if: {{{2|}}} |#L{{{2}}}| }} {{{1}}}{{ #if: {{{2|}}} |:{{{2}}}| }}] --> | <!-- if we had modern mediawiki, we would do this: [https://trac.mcs.anl.gov/projects/mpich2/browser/mpich2/{{{1}}}{{ #if: {{{2|}}} |#L{{{2}}}| }} {{{1}}}{{ #if: {{{2|}}} |:{{{2}}}| }}] --> |
Revision as of 18:49, 22 August 2008
Examples
- "
{{trunk_file|src/mpi/comm/commutil.c|38}}
" expands to "src/mpi/comm/commutil.c:38"
Alternatives that leave blank or omit the second parameter:
- "
{{trunk_file|src/mpi/comm/commutil.c}}
" expands to "src/mpi/comm/commutil.c:0"
- "
{{trunk_file|src/mpi/comm/commutil.c|}}
" expands to "src/mpi/comm/commutil.c:"