Difference between revisions of "Template:File"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Undo revision 57438 by DoesItReallyMatter (talk))
(This might break things temporarily)
Line 1: Line 1:
* [https://git.videolan.org/?p=vlc.git;a=blob;f={{{1}}} {{{1}}}] {{#if:{{{2|}}}|({{{2}}})}}
+
* {{#if:{{{2|}}}|{{VLCSourceFile|{{{1}}}|{{{2}}}}}|{{VLCSourceFile|{{{1}}}}}}}
 
<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.

Revision as of 09:14, 3 February 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

  • {{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