Difference between revisions of "Template:File"

From VideoLAN Wiki
Jump to navigation Jump to search
(This might break things temporarily)
m (<includeonly>...</includeonly>, default parameter on {{{1|}}})
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
* {{#if:{{{2|}}}|{{VLCSourceFile|{{{1}}}|{{{2}}}}}|{{VLCSourceFile|{{{1}}}}}}}
+
<includeonly>* {{VLCSourceFile|{{{1|}}}|{{{2|}}}}}</includeonly>
 
<noinclude>
 
<noinclude>
 
For linking to source code file. Links to https://git.videolan.org.
 
For linking to source code file. Links to https://git.videolan.org.
Line 13: Line 13:
  
 
== See also ==
 
== 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|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|VLCSourceFile}} - same except that it does not add the bulleted list
 +
* {{tl|VLCSourceFolder}}
  
 
[[Category:Templates]]
 
[[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