Difference between revisions of "Template:Path to VLC"

From VideoLAN Wiki
Jump to navigation Jump to search
(New feature: passing "|dir=y" gives containing folder only e.g. {{Path to VLC|windows|dir=y}})
m (Fix syntax error)
Line 10: Line 10:
 
     -->|mac    = ../VLC.app/Contents/MacOS/VLC<!--
 
     -->|mac    = ../VLC.app/Contents/MacOS/VLC<!--
 
     -->|linux  = vlc<!--
 
     -->|linux  = vlc<!--
   -->}}
+
   -->}}<!--
 
-->}}</includeonly><noinclude>
 
-->}}</includeonly><noinclude>
  

Revision as of 22:46, 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|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}}