Difference between revisions of "Template:VLCSourceFile"

From VideoLAN Wiki
Jump to navigation Jump to search
(Removing a=blob, which breaks linking to directory trees)
m (New parameter: optional "l" for label)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://git.videolan.org/?p=vlc.git;f={{{name|{{{1}}}}}} {{{name|{{{1}}}}}}]{{#if:{{{2|}}}|&#32;({{{2}}})|}}<noinclude>
+
{{Git link|p={{{p|vlc.git}}}|a=blob|f={{{name|{{{1|}}}}}}|l={{{l|{{{name|{{{1|}}}}}}}}}}}{{#if:{{{2|}}}|&#32;({{{2}}})|}}{{#ifeq:{{{p|vlc.git}}}|vlc.git| |&#32;({{{p}}})}}<noinclude>
 
==Usage==
 
==Usage==
 
Same as {{tl|file}} except that this template does not add the bulleted list.
 
Same as {{tl|file}} except that this template does not add the bulleted list.
 +
 +
Parameters:
 +
* '''<code><nowiki>|l=</nowiki></code>''' custom label (optional)
 +
* '''<code><nowiki>|p=</nowiki></code>''' links to other branches, defaults to <samp>vlc.git</samp> (optional)
  
 
== See also ==
 
== See also ==
Line 9: Line 13:
 
* {{tl|SVNSourceFile}}
 
* {{tl|SVNSourceFile}}
 
* {{tl|VLCSourceFile}}
 
* {{tl|VLCSourceFile}}
 +
* {{tl|VLCSourceFolder}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:29, 9 April 2019

[1]

Usage

Same as {{file}} except that this template does not add the bulleted list.

Parameters:

  • |l= custom label (optional)
  • |p= links to other branches, defaults to vlc.git (optional)

See also