Template:VLCSourceFolder: Difference between revisions
Jump to navigation
Jump to search
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>) |
m Expound documentation |
||
| Line 1: | Line 1: | ||
<includeonly>{{Git link|p={{{p|vlc.git}}}|a=tree|f={{{1|}}}|hb=HEAD|l={{{1|}}}}}{{#ifeq:{{{p|vlc.git}}}|vlc.git| | ({{{p}}})}}</includeonly><noinclude> | <includeonly>{{Git link|p={{{p|vlc.git}}}|a=tree|f={{{1|}}}|hb=HEAD|l={{{1|}}}}}{{#ifeq:{{{p|vlc.git}}}|vlc.git| | ({{{p}}})}}</includeonly><noinclude> | ||
Usage | == Usage == | ||
<code>{{{{PAGENAME}}|<nowiki>folder}}</nowiki></code> | |||
Parameters: | |||
* '''<code><nowiki>|p=</nowiki></code>''' links to other branches, defaults to <samp>vlc.git</samp> (optional) | |||
Examples: | |||
* <code>{{{{PAGENAME}}|<nowiki>doc}}</nowiki></code> gives {{{{PAGENAME}}|doc}} | |||
* <code>{{{{PAGENAME}}|<nowiki>doc|p=vlc-2.0.git}}</nowiki></code> gives {{{{PAGENAME}}|doc|p=vlc-2.0.git}} | |||
== See also == | == See also == | ||
Revision as of 23:58, 13 March 2019
Usage
{{VLCSourceFolder|folder}}
Parameters:
|p=links to other branches, defaults to vlc.git (optional)
Examples:
See also
- {{Commit}}
- {{Commitdiff}}
- {{File}}
- {{SVNSourceFile}}
- {{VLCSourceFile}}
- {{VLCSourceFolder}}