Difference between revisions of "Template:Codec video"

From VideoLAN Wiki
Jump to navigation Jump to search
m (change color)
Line 1: Line 1:
 
{{top box
 
{{top box
 
|id={{{id|{{{1|??}}}}}}
 
|id={{{id|{{{1|??}}}}}}
|text=This is a [[Codec#Video_Codecs|video codec]].
+
|text=This is a [[Codec#Video_Codecs|video codec]]. The name to use at the [[command line]] is '''{{{id|{{{1|??}}}}}}'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''{{#if:{{{altid2|}}}|, or '''{{{altid2}}}'''}}}}.
  
The name to use at the [[command line]] is '''{{{id|{{{1|??}}}}}}'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''{{#if:{{{altid2|}}}|, or '''{{{altid2}}}'''}}}}.
+
{{#if:{{{for|}}}| This codec can be used inside the {{{for}}} containers. }}
  
{{#if:{{{for|}}}| This codec can be used inside the {{{for}}} containers. }}
+
{{#if:{{{mod|}}}| This codec is from the [[Documentation:Modules/{{{mod}}}|{{{mod}}}]] module. }}
 
|bgcol=#fcf0fc
 
|bgcol=#fcf0fc
 
|brcol=#c0a0c0
 
|brcol=#c0a0c0
Line 13: Line 13:
  
 
Usage:
 
Usage:
  <nowiki>{{codec video | id= | altid= | altid2= | for= }}</nowiki>
+
  <nowiki>{{codec video | id= | altid= | altid2= | for= | mod= }}</nowiki>
  
 
You should supply id, the rest are optional.
 
You should supply id, the rest are optional.
 
* id: the module name for the codec. If there's other shortcuts to the same module, use altid and altid2.
 
* id: the module name for the codec. If there's other shortcuts to the same module, use altid and altid2.
 
* for: a list of containers this codec is compatible with. Put the names in <nowiki>[[ ]]</nowiki> so they link properly.
 
* for: a list of containers this codec is compatible with. Put the names in <nowiki>[[ ]]</nowiki> so they link properly.
 +
* mod: module name from [[Documentation:Modules]]
  
 
</noinclude>
 
</noinclude>

Revision as of 01:41, 19 December 2006

??
This is a video codec. The name to use at the command line is ??.

For video codecs.

Usage:

{{codec video | id= | altid= | altid2= | for= | mod= }}

You should supply id, the rest are optional.

  • id: the module name for the codec. If there's other shortcuts to the same module, use altid and altid2.
  • for: a list of containers this codec is compatible with. Put the names in [[ ]] so they link properly.
  • mod: module name from Documentation:Modules