Template:File: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m <includeonly>...</includeonly>, default parameter on {{{1|}}} |
||
| (14 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
* | <includeonly>* {{VLCSourceFile|{{{1|}}}|{{{2|}}}}}</includeonly> | ||
<noinclude> | <noinclude> | ||
For linking to source code file. Links to | For linking to source code file. Links to https://git.videolan.org. | ||
Usage | == Usage == | ||
<nowiki>{{file|name|info}}</nowiki> | <nowiki>{{file|name|info}}</nowiki> | ||
For example | |||
{{file|modules/mux/dummy.c|Dummy muxer}} | {{file|modules/mux/dummy.c|Dummy muxer}} | ||
<nowiki>{{file|modules/mux/dummy.c|Dummy muxer}}</nowiki> | <nowiki>{{file|modules/mux/dummy.c|Dummy muxer}}</nowiki> | ||
{{file|modules/mux/avi.c}} | {{file|modules/mux/avi.c}} | ||
<nowiki>{{file|modules/mux/avi.c}}</nowiki> | <nowiki>{{file|modules/mux/avi.c}}</nowiki> | ||
== See also == | |||
* {{tl|Commit}} | |||
* {{tl|Commitdiff}} | |||
* {{tl|File}} | |||
* {{tl|SVNSourceFile}} - for linking to a file on SVN. Mostly obsolete due to the [[Git]] transition | |||
* {{tl|VLCSourceFile}} - same except that it does not add the bulleted list | |||
* {{tl|VLCSourceFolder}} | |||
[[Category:Templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 04:39, 12 March 2019
For linking to source code file. Links to https://git.videolan.org.
Usage
{{file|name|info}}
For example
- modules/mux/dummy.c (Dummy muxer)
{{file|modules/mux/dummy.c|Dummy muxer}}
{{file|modules/mux/avi.c}}
See also
- {{Commit}}
- {{Commitdiff}}
- {{File}}
- {{SVNSourceFile}} - for linking to a file on SVN. Mostly obsolete due to the Git transition
- {{VLCSourceFile}} - same except that it does not add the bulleted list
- {{VLCSourceFolder}}