Template:File: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
Arite (talk | contribs)
trunk is now located in root
m <includeonly>...</includeonly>, default parameter on {{{1|}}}
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
* [http://trac.videolan.org/vlc/browser/{{{1}}} {{{1}}}] {{#if:{{{2|}}}|({{{2}}})}}
<includeonly>* {{VLCSourceFile|{{{1|}}}|{{{2|}}}}}</includeonly>
<noinclude>
<noinclude>
For linking to source code file. Links to trac.
For linking to source code file. Links to https://git.videolan.org.


Usage:
== Usage ==
  <nowiki>{{file|name|info}}</nowiki>
  <nowiki>{{file|name|info}}</nowiki>


eg
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

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

See also