Template:Protocol: Difference between revisions
Jump to navigation
Jump to search
m Simplify wikicode |
Change layout visibly, eliminating unreachable code. I added protocol usage too |
||
| Line 3: | Line 3: | ||
|id={{{1|??}}} | |id={{{1|??}}} | ||
|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{{#if:{{{mod|{{lc:{{{1|}}}}}}}}| with '''<code>{{{mod|{{lc:{{{1}}}}}}}}</code><nowiki>://</nowiki></code>'''}}. {{{info|}}}<!-- | ||
Line 2: --> | Line 2: (conditional) -->{{#if:{{{mod|{{lc:{{{1|}}}}}}}}|<br />This protocol is handled by '''{{docmod|{{{mod|{{lc:{{{1}}}}}}}}}}'''.}}<!-- | ||
Line 3: (conditional) -->{{#if:{{{altid|}}}<!-- | |||
-->|The [[module]] name to use at the [[command line]] is '''{{{altid}}}'''<!-- | |||
-->{{#if:{{{altid2|}}}<!-- | |||
-->|, but you can also use '''{{{altid2}}}'''<!-- | |||
-->{{#if:{{{altid3|}}}<!-- | |||
-->|, or '''{{{altid3}}}'''<!-- | |||
-->{{#if:{{{altid4|}}}<!-- | |||
-->|, or '''{{{altid4}}}'''<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->}}.<!-- | |||
-->}} | |||
|bgcol=#ffe0e0 | |bgcol=#ffe0e0 | ||
|brcol=#e0c0c0<!-- | |brcol=#e0c0c0<!-- | ||
Revision as of 05:04, 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
- {{Codec audio}}
- {{Codec video}}
- {{Mux}}
- {{Protocol}}