Template:Protocol: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
New feature: altid3 is possible
Added parameter: optional specification of "mod" like Template:Mux
Line 5: Line 5:
Line 1: -->VLC uses this [[protocol]] (or [[access module]]) to read data from a device or network. {{{info|}}}<!--
Line 1: -->VLC uses this [[protocol]] (or [[access module]]) to read data from a device or network. {{{info|}}}<!--
Line 2: --><br />{{#if:{{{id|}}}<!--
Line 2: --><br />{{#if:{{{id|}}}<!--
                 -->|The [[module]] name to use at the [[command line]] is '''{{docmod|{{{id}}}}}'''<!--
                 -->|The [[module]] name to use at the [[command line]] is '''{{docmod|{{{mod|{{{id}}}}}}}}'''<!--
                 -->{{#if:{{{altid|}}}<!--
                 -->{{#if:{{{altid|}}}<!--
                   -->|, but you can also use '''{{{altid}}}'''<!--
                   -->|, but you can also use '''{{{altid}}}'''<!--
Line 22: Line 22:


==Usage==
==Usage==
  <nowiki>{{protocol |id= |info= |altid= |altid2= |altid3= }}</nowiki>
  <nowiki>{{protocol |id= |info= |altid= |altid2= |altid3= |mod= }}</nowiki>


It will add it to [[:Category:Protocols]]  
It will add it to [[:Category:Protocols]]  


Info is for extra text in the box.
Info is for extra text in the box.
<code>mod</code> will link to a particular module while displaying the <code>id</code> given. Use this when <code>altid</code> would not make sense.


==Examples==
==Examples==

Revision as of 00:26, 3 April 2019

??
VLC uses this protocol (or access module) to read data from a device or network.
The module name to use at the command line is unknown.

Usage

{{protocol |id= |info= |altid= |altid2= |altid3= |mod= }}

It will add it to Category:Protocols

Info is for extra text in the box.

mod will link to a particular module while displaying the id given. Use this when altid would not make sense.

Examples

Example, http

{{protocol|id=http|altid=https}}

See also