Difference between revisions of "Template:Path to VLC"
Jump to navigation
Jump to search
(Feature change again, sorry: quotes for |dir=y unless |q=n. I am not changing that again) |
m (Strip trailing / and \) |
||
Line 2: | Line 2: | ||
-->{{#ifeq:{{{dir|}}}|y<!-- | -->{{#ifeq:{{{dir|}}}|y<!-- | ||
-->|{{#switch:{{{1}}}<!-- | -->|{{#switch:{{{1}}}<!-- | ||
− | -->|windows = {{#ifeq:{{{q|}}}|n|%PROGRAMFILES%\VideoLAN\VLC | + | -->|windows = {{#ifeq:{{{q|}}}|n|%PROGRAMFILES%\VideoLAN\VLC|"%PROGRAMFILES%\VideoLAN\VLC"}}<!-- |
− | -->|mac = ../VLC.app/Contents/MacOS | + | -->|mac = ../VLC.app/Contents/MacOS<!-- |
-->|linux = <!-- | -->|linux = <!-- | ||
-->}}<!-- | -->}}<!-- |
Revision as of 23:24, 14 March 2019
Usage
A template for default VLC media player locations on desktop computers by operating system.
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}}
- ../VLC.app/Contents/MacOS/VLC
{{Path to VLC|mac|dir=y}}
- ../VLC.app/Contents/MacOS
{{Path to VLC|linux}}
- vlc
{{Path to VLC|linux|dir=y}}