Difference between revisions of "Template:Protocol"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Line break)
(Amend text. Corner cases: if we assume on HTTP that http is a shortcut, this fails for LiveMedia with no livemedia shortcut)
Line 4: Line 4:
 
|text=<!--
 
|text=<!--
 
Line 1:              -->VLC uses this [[protocol]] (or [[access module]]) to read data from a device or network{{#if:{{{mod|{{lc:{{{1|}}}}}}}}|&#32;with '''<code>{{{mod|{{lc:{{{1}}}}}}}}<nowiki>://</nowiki></code>'''}}. {{{info|}}}<!--
 
Line 1:              -->VLC uses this [[protocol]] (or [[access module]]) to read data from a device or network{{#if:{{{mod|{{lc:{{{1|}}}}}}}}|&#32;with '''<code>{{{mod|{{lc:{{{1}}}}}}}}<nowiki>://</nowiki></code>'''}}. {{{info|}}}<!--
Line 2: (conditional) -->{{#if:{{{mod|{{lc:{{{1|}}}}}}}}|<br />This protocol is handled by '''{{docmod|{{{mod|{{lc:{{{1}}}}}}}}}}'''.}}<!--
+
Line 2: (conditional) -->{{#if:{{{mod|{{lc:{{{1|}}}}}}}}|<br />This protocol is handled by '''{{docmod|{{{mod|{{lc:{{{1}}}}}}}}}}''' [[module]].}}{{#if:{{{altid|}}}<!--
Line 3: (conditional) -->{{#if:{{{altid|}}}<!--
+
                         -->|Valid shortcuts for this module at the [[command line]] include '''{{{altid}}}'''<!--
                         -->|<br />The [[module]] name to use at the [[command line]] is '''{{{altid}}}'''<!--
 
 
                         -->{{#if:{{{altid2|}}}<!--
 
                         -->{{#if:{{{altid2|}}}<!--
 
                           -->|, but you can also use '''{{{altid2}}}'''<!--
 
                           -->|, but you can also use '''{{{altid2}}}'''<!--

Revision as of 05:09, 19 April 2019

??
VLC uses this protocol (or access module) to read data from a device or network.

Usage

{{protocol |<protocol> |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 <protocol> given. Use this when altid would not make sense.

Examples

Example, http

{{protocol|HTTP|altid=https}}

See also