Difference between revisions of "Template:Protocol"

From VideoLAN Wiki
Jump to navigation Jump to search
(Added parameter: optional specification of "mod" like Template:Mux)
(New feature: altid4 is possible)
Line 12: Line 12:
 
                       -->{{#if:{{{altid3|}}}<!--
 
                       -->{{#if:{{{altid3|}}}<!--
 
                         -->|, or '''{{{altid3}}}'''<!--
 
                         -->|, or '''{{{altid3}}}'''<!--
 +
                          -->{{#if:{{{altid4|}}}<!--
 +
                            -->|, or '''{{{altid4}}}'''<!--
 +
                          -->}}<!--
 
                       -->}}<!--
 
                       -->}}<!--
 
                     -->}}<!--
 
                     -->}}<!--
Line 22: Line 25:
  
 
==Usage==
 
==Usage==
  <nowiki>{{protocol |id= |info= |altid= |altid2= |altid3= |mod= }}</nowiki>
+
  <nowiki>{{protocol |id= |info= |altid= |altid2= |altid3= |altid4= |mod= }}</nowiki>
  
 
It will add it to [[:Category:Protocols]]  
 
It will add it to [[:Category:Protocols]]  

Revision as of 04:37, 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= |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