Difference between revisions of "Template:Path to VLC"
Jump to navigation
Jump to search
(Make "mac" command-line absolute) |
m (→Usage: Expand documentation) |
||
Line 16: | Line 16: | ||
A template for default {{VLC}} locations on desktop computers by [[operating system]]. | A template for default {{VLC}} locations on desktop computers by [[operating system]]. | ||
+ | Parameters: | ||
+ | * (unnamed) required. One of <code>windows</code>, <code>mac</code> or <code>linux</code>. No default | ||
+ | * <code>'''|dir='''</code> optional (short for ''directory''). Only checks for value <code>y</code> (''yes''). Default disabled | ||
+ | * <code>'''|q='''</code> optional (short for ''quotes''). Only checks for value <code>n</code> (''no''). Default enabled | ||
Showcase of various modes: | Showcase of various modes: | ||
* <code>{{{{PAGENAME}}|windows<nowiki>}}</nowiki></code> | * <code>{{{{PAGENAME}}|windows<nowiki>}}</nowiki></code> |
Revision as of 03:26, 19 April 2019
Usage
A template for default VLC media player locations on desktop computers by operating system.
Parameters:
- (unnamed) required. One of
windows
,mac
orlinux
. No default |dir=
optional (short for directory). Only checks for valuey
(yes). Default disabled|q=
optional (short for quotes). Only checks for valuen
(no). Default enabled
Showcase of various modes:
{{Path to VLC|windows}}
- "%PROGRAMFILES%\VideoLAN\VLC\vlc.exe"
{{Path to VLC|windows|dir=y}}
- "%PROGRAMFILES%\VideoLAN\VLC"
{{Path to VLC|windows|dir=y|q=n}}
- %PROGRAMFILES%\VideoLAN\VLC
{{Path to VLC|mac}}
- /Applications/VLC.app/Contents/MacOS/VLC
{{Path to VLC|mac|dir=y}}
- /Applications/VLC.app/Contents/MacOS
{{Path to VLC|linux}}
- vlc
{{Path to VLC|linux|dir=y}}