Difference between revisions of "Template:Module"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Identical CSS in many cases)
m (Whitespace (no effect))
Line 4: Line 4:
 
|-
 
|-
 
! scope="row" | Type
 
! scope="row" | Type
| {{#switch:{{{type}}}<!--
+
| {{#switch:{{{type}}}
-->|Access = Access [[Category:Accesses]]<!--
+
  |Access = Access [[Category:Accesses]]
-->|Access demux = Access demux [[Category:Access demux]]<!--
+
  |Access demux = Access demux [[Category:Access demux]]
-->|Access filter = Access filter [[Category:Access filters]]<!--
+
  |Access filter = Access filter [[Category:Access filters]]
-->|Access output = Access output [[Category:Access output]]<!--
+
  |Access output = Access output [[Category:Access output]]
-->|Audio output = Audio output [[Category:Audio output]]<!--
+
  |Audio output = Audio output [[Category:Audio output]]
-->|Muxer = Muxer [[Category:Muxers]]<!--
+
  |Muxer = Muxer [[Category:Muxers]]
-->|Services discovery = Services discovery [[Category:Services discovery]]<!--
+
  |Services discovery = Services discovery [[Category:Services discovery]]
-->|Stream output = Stream output [[Category:Stream output]]<!--
+
  |Stream output = Stream output [[Category:Stream output]]
-->|Video filter = Video filter [[Category:Video filters]]<!--
+
  |Video filter = Video filter [[Category:Video filters]]
-->|Video output = Video output [[Category:Video output]]<!--
+
  |Video output = Video output [[Category:Video output]]
-->|Video output filter = Video output filter [[Category:Video output filters]]<!--
+
  |Video output filter = Video output filter [[Category:Video output filters]]
-->|Video output splitter = Video output splitter [[Category:Video output splitters]]<!--
+
  |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 [[Category:Video sub-filters]]
-->|Visualization<!--
+
  |Visualization
-->|Visualisation = {{{type}}} [[Category:Visualisations]]<!--
+
  |Visualisation = {{{type}}} [[Category:Visualisations]]
-->|#default = {{{type}}} [[Category:Modules]]<!--
+
  |#default = {{{type}}} [[Category:Modules]]
-->}}{{DEFAULTSORT:{{#titleparts:{{PAGENAME}}|0|2}}|noreplace}}
+
  }}{{DEFAULTSORT:{{#titleparts:{{PAGENAME}}|0|2}}|noreplace}}
 
|-
 
|-
 
! scope="row" | First VLC version
 
! scope="row" | First VLC version
Line 37: Line 37:
 
|-
 
|-
 
! scope="row" | Shortcut(s)
 
! scope="row" | Shortcut(s)
| {{#switch:{{{sc|}}}{{{sc2|}}}{{{sc3|}}}{{{sc4|}}}<!--
+
| {{#switch:{{{sc|}}}{{{sc2|}}}{{{sc3|}}}{{{sc4|}}}
-->|none                                = (none)<!--
+
    |none                                = (none)
-->|{{{sc}}}                            = <code>{{{sc}}}</code><!--
+
    |{{{sc}}}                            = <code>{{{sc}}}</code>
-->|{{{sc}}}{{{sc2}}}                  = <code>{{{sc}}}</code>, <code>{{{sc2}}}</code><!--
+
    |{{{sc}}}{{{sc2}}}                  = <code>{{{sc}}}</code>, <code>{{{sc2}}}</code>
-->|{{{sc}}}{{{sc2}}}{{{sc3}}}          = <code>{{{sc}}}</code>, <code>{{{sc2}}}</code>, <code>{{{sc3}}}</code><!--
+
    |{{{sc}}}{{{sc2}}}{{{sc3}}}          = <code>{{{sc}}}</code>, <code>{{{sc2}}}</code>, <code>{{{sc3}}}</code>
-->|{{{sc}}}{{{sc2}}}{{{sc3}}}{{{sc4}}} = <code>{{{sc}}}</code>, <code>{{{sc2}}}</code>, <code>{{{sc3}}}</code>, <code>{{{sc4}}}</code><!--
+
    |{{{sc}}}{{{sc2}}}{{{sc3}}}{{{sc4}}} = <code>{{{sc}}}</code>, <code>{{{sc2}}}</code>, <code>{{{sc3}}}</code>, <code>{{{sc4}}}</code>
-->|#default                            = -<!--
+
    |#default                            = -
-->}}
+
  }}
 
|}<noinclude>
 
|}<noinclude>
 
Template for Documentation:Modules/* pages.
 
Template for Documentation:Modules/* pages.

Revision as of 05:48, 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 -.