Difference between revisions of "Template:File"

From VideoLAN Wiki
Jump to navigation Jump to search
 
m (<includeonly>...</includeonly>, default parameter on {{{1|}}})
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
* [http://trac.videolan.org/vlc/browser/trunk/{{{1}}} {{{1}}}]
+
<includeonly>* {{VLCSourceFile|{{{1|}}}|{{{2|}}}}}</includeonly>
 +
<noinclude>
 +
For linking to source code file. Links to https://git.videolan.org.
 +
 
 +
== Usage ==
 +
<nowiki>{{file|name|info}}</nowiki>
 +
 
 +
For example
 +
{{file|modules/mux/dummy.c|Dummy muxer}}
 +
<nowiki>{{file|modules/mux/dummy.c|Dummy muxer}}</nowiki>
 +
{{file|modules/mux/avi.c}}
 +
<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>

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

{{file|modules/mux/dummy.c|Dummy muxer}}
{{file|modules/mux/avi.c}}

See also