Template:File: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
m +See also x3
m <includeonly>...</includeonly>, default parameter on {{{1|}}}
 
(2 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 18: Line 18:
* {{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