Template:VLCSourceFolder: Difference between revisions
Jump to navigation
Jump to search
Create template (my work) to fix broken instances of Template:VLCSourceFile. I did not copy any code, I reverse-engineered from the URL alone |
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 |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <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| | ({{{p}}})}}</span></includeonly><noinclude> | ||
== 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/vlc-2.0.git}}</nowiki></code> gives {{{{PAGENAME}}|doc|p=vlc/vlc-2.0.git}} | |||
== See also == | == See also == | ||
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{{VLCSourceFolder|doc|p=vlc/vlc-2.0.git}}gives
See also
- {{Commit}}
- {{Commitdiff}}
- {{File}}
- {{SVNSourceFile}}
- {{VLCSourceFile}}
- {{VLCSourceFolder}}