Difference between revisions of "Template:Src"
Jump to navigation
Jump to search
(A template for linking to source files) |
(Add description to template) |
||
Line 1: | Line 1: | ||
− | [http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/{{{1}}} {{{1}}}] | + | <onlyinclude>[http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/{{{1}}} {{{1}}}]</onlyinclude><noinclude> |
+ | |||
+ | ---- | ||
+ | |||
+ | Link to files in the <code>tex/context/base</code> directory. | ||
+ | |||
+ | Usage: | ||
+ | <nowiki>{{src|strc-num.mkiv}}</nowiki> | ||
+ | |||
+ | Resulting code: | ||
+ | <nowiki>[http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/strc-num.mkiv strc-num.mkiv]</nowiki> | ||
+ | |||
+ | Looks like: | ||
+ | : [http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/strc-num.mkiv strc-num.mkiv] | ||
+ | |||
+ | The repository may or may not change in the future; if you must link to a specific repository, don't use this template, but write the link in full. | ||
+ | </noinclude> |
Revision as of 10:34, 14 June 2012
Link to files in the tex/context/base
directory.
Usage:
{{src|strc-num.mkiv}}
Resulting code:
[http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/strc-num.mkiv strc-num.mkiv]
Looks like:
The repository may or may not change in the future; if you must link to a specific repository, don't use this template, but write the link in full.