Difference between revisions of "Template:Protocol"

From VideoLAN Wiki
Jump to navigation Jump to search
(New feature: altid4 is possible)
m (Accept first unnamed parameter as alias to id. This will not make sense yet)
Line 1: Line 1:
 
<!--
 
<!--
 
-->{{top box
 
-->{{top box
|id={{{id|??}}}
+
|id={{{1|{{{id|??}}}}}}
 
|text=<!--
 
|text=<!--
 
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:{{{1|{{{id|}}}}}}<!--
                 -->|The [[module]] name to use at the [[command line]] is '''{{docmod|{{{mod|{{{id}}}}}}}}'''<!--
+
                 -->|The [[module]] name to use at the [[command line]] is '''{{docmod|{{{mod|{{lc:{{{1|{{{id}}}}}}}}}}}}}'''<!--
 
                 -->{{#if:{{{altid|}}}<!--
 
                 -->{{#if:{{{altid|}}}<!--
 
                   -->|, but you can also use '''{{{altid}}}'''<!--
 
                   -->|, but you can also use '''{{{altid}}}'''<!--

Revision as of 04:29, 19 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= |altid4= |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