Difference between revisions of "Template:VLCSourceFolder"

From VideoLAN Wiki
Jump to navigation Jump to search
(Specify a=tree (no effect))
(New feature to match Template:VLCSourceFile: optional parameter "p" allows links to other branches hosted on Git, but defaults to vlc.git. After the link it will say (<branch name>))
Line 1: Line 1:
<includeonly>{{Git link|p=vlc.git|a=tree|f={{{1|}}}|hb=HEAD|l={{{1|}}}}}</includeonly><noinclude>
+
<includeonly>{{Git link|p={{{p|vlc.git}}}|a=tree|f={{{1|}}}|hb=HEAD|l={{{1|}}}}}{{#ifeq:{{{p|vlc.git}}}|vlc.git| |&#32;({{{p}}})}}</includeonly><noinclude>
  
 
Usage: <code>{{{{PAGENAME}}|<nowiki>folder}}</nowiki></code> e.g. <code>{{{{PAGENAME}}|<nowiki>doc}}</nowiki></code> for {{{{PAGENAME}}|doc}}
 
Usage: <code>{{{{PAGENAME}}|<nowiki>folder}}</nowiki></code> e.g. <code>{{{{PAGENAME}}|<nowiki>doc}}</nowiki></code> for {{{{PAGENAME}}|doc}}

Revision as of 23:52, 13 March 2019


Usage: {{VLCSourceFolder|folder}} e.g. {{VLCSourceFolder|doc}} for doc

See also