Difference between revisions of "Template:Module"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Whitespace (no effect))
m (Refactor to make editing easier (no effect))
Line 5: Line 5:
 
! scope="row" | Type
 
! scope="row" | Type
 
| {{#switch:{{{type}}}
 
| {{#switch:{{{type}}}
  |Access = Access [[Category:Accesses]]
 
  |Access demux = Access demux [[Category:Access demux]]
 
  |Access filter = Access filter [[Category:Access filters]]
 
  |Access output = Access output [[Category:Access output]]
 
  |Audio output = Audio output [[Category:Audio output]]
 
  |Muxer = Muxer [[Category:Muxers]]
 
  |Services discovery = Services discovery [[Category:Services discovery]]
 
  |Stream output = Stream output [[Category:Stream output]]
 
  |Video filter = Video filter [[Category:Video filters]]
 
  |Video output = Video output [[Category:Video output]]
 
  |Video output filter = Video output filter [[Category:Video output filters]]
 
  |Video output splitter = Video output splitter [[Category:Video output splitters]]
 
 
   |Video subfilter
 
   |Video subfilter
   |Video sub-filter = Video sub-filter [[Category:Video sub-filters]]
+
   |Video sub-filter = Video sub-filter
 +
  |#default        = {{{type}}}
 +
}}{{#switch:{{{type}}}
 +
  |Access                = [[Category:Accesses]]
 +
  |Access demux          = [[Category:Access demux]]
 +
  |Access filter        = [[Category:Access filters]]
 +
  |Access output        = [[Category:Access output]]
 +
  |Audio output          = [[Category:Audio output]]
 +
  |Muxer                = [[Category:Muxers]]
 +
  |Services discovery    = [[Category:Services discovery]]
 +
  |Stream output        = [[Category:Stream output]]
 +
  |Video filter          = [[Category:Video filters]]
 +
  |Video output          = [[Category:Video output]]
 +
  |Video output filter  = [[Category:Video output filters]]
 +
  |Video output splitter = [[Category:Video output splitters]]
 +
  |Video subfilter
 +
  |Video sub-filter      = [[Category:Video sub-filters]]
 
   |Visualization
 
   |Visualization
   |Visualisation = {{{type}}} [[Category:Visualisations]]
+
   |Visualisation         = [[Category:Visualisations]]
   |#default = {{{type}}} [[Category:Modules]]
+
   |#default             = [[Category:Modules]]
 
   }}{{DEFAULTSORT:{{#titleparts:{{PAGENAME}}|0|2}}|noreplace}}
 
   }}{{DEFAULTSORT:{{#titleparts:{{PAGENAME}}|0|2}}|noreplace}}
 
|-
 
|-

Revision as of 05:55, 17 May 2019

Module: {{{name}}}
Type {{{type}}}
First VLC version -
Last VLC version -
Operating system(s) all
Description {{{description}}}
Shortcut(s) -

Template for Documentation:Modules/* pages.

Usage

 {{Module
  |type          = module type
  |first_version = Version of VLC in which plugin first appeared
  |last_version  = Version of VLC in which plugin last appeared before being removed
  |os            = Operating system of the plugin
  |description   = A short, brief description of the plugin
  |sc            = Shortcut
  |sc2           = Shortcut 2
  |sc3           = Shortcut 3
  |sc4           = Shortcut 4
  }}

Source code identifies shortcuts with add_shortcut( "foo", "bar" ) in the module descriptor. Generally omit non-specific shortcuts. Pass the first shortcut to |sc=, a possible second to |sc2=, etc.
If |sc= is set to none (none) will be shown. No data is indicated with -.