Difference between revisions of "Template:Path to VLC"

From VideoLAN Wiki
Jump to navigation Jump to search
m (→‎Usage: Expand documentation)
 
Line 35: Line 35:
 
* <code>{{{{PAGENAME}}|linux<nowiki>|dir=y}}</nowiki></code>
 
* <code>{{{{PAGENAME}}|linux<nowiki>|dir=y}}</nowiki></code>
 
*: <samp>{{{{PAGENAME}}|linux|dir=y}}</samp>
 
*: <samp>{{{{PAGENAME}}|linux|dir=y}}</samp>
 +
 +
== See also ==
 +
* {{tl|Path to VLC}}
 +
* {{tl|VLC folder}} - simple wrapper template for directory paths only (no quotes)
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:00, 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 or linux. No default
  • |dir= optional (short for directory). Only checks for value y (yes). Default disabled
  • |q= optional (short for quotes). Only checks for value n (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}}

See also