Difference between revisions of "Template:VLCSourceFolder"

From VideoLAN Wiki
Jump to navigation Jump to search
(New parameter: accept optional label with lowercase L)
(Use File:Folder icon.gif after links as defined by MediaWiki:Common.css. If this is disruptive either let me know or remove the span tag pair yourself)
 
Line 1: Line 1:
<includeonly>{{Git link|p={{{p|vlc.git}}}|a=tree|f={{{1|}}}|hb=HEAD|l={{{l|{{{1|}}}}}}}}{{#ifeq:{{{p|vlc.git}}}|vlc.git| |&#32;({{{p}}})}}</includeonly><noinclude>
+
<includeonly><span class="plainlinks folder-icon">{{Git link|p={{{p|vlc.git}}}|a=tree|f={{{1|}}}|hb=HEAD|l={{{l|{{{1|}}}}}}}}{{#ifeq:{{{p|vlc.git}}}|vlc.git| |&#32;({{{p}}})}}</span></includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==

Latest revision as of 04:27, 27 May 2019


Usage

{{VLCSourceFolder|folder}}

Parameters:

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

Examples:

  • {{VLCSourceFolder|doc}} gives doc
  • {{VLCSourceFolder|doc|p=vlc/vlc-2.0.git}} gives doc (vlc/vlc-2.0.git)

See also