Difference between revisions of "Template:Modulesrc"
Jump to navigation
Jump to search
(Similar with Template:Src but points to modules/ instead of base/) |
|||
Line 14: | Line 14: | ||
Looks like: | Looks like: | ||
− | : {{ | + | : {{Modulesrc|m-ipsum.mkiv#l18}} |
− | : {{ | + | : {{Modulesrc|m-ipsum.mkiv#l18|m-ipsum.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. | 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> | </noinclude> |
Latest revision as of 13:51, 4 January 2020
Link to files in the tex/context/modules
directory. The link text is the filename by default, but you may pass a second parameter if you want some other text.
Usage:
{{modulesrc|m-ipsum.mkiv#l18}} {{modulesrc|m-ipsum.mkiv#l18|m-ipsum.mkiv}}
Resulting code:
[https://source.contextgarden.net/tex/context/modules/mkiv/m-ipsum.mkiv#l18 m-ipsum.mkiv#l18] [https://source.contextgarden.net/tex/context/modules/mkiv/m-ipsum.mkiv#l18 m-ipsum.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.