Difference between revisions of "Template:Codec audio"

From VideoLAN Wiki
Jump to navigation Jump to search
(I added HTML comments <!-- Documentation below --> and <!-----> as page markers in the wikicode for clarity)
(Make documentation match Template:Codec video: by making the content similar, we can easily tell how the templates differ)
Line 1: Line 1:
 
{{top box
 
{{top box
 
|id={{{id|{{{1|??}}}}}}
 
|id={{{id|{{{1|??}}}}}}
|text=This is an [[Codec#Audio_Codecs|audio codec]]. The name to use at the [[command line]] is '''{{{id|{{{1|??}}}}}}'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''{{#if:{{{altid2|}}}|, or '''{{{altid2}}}'''}}}}.
+
|text=This is an [[Codec#Audio|audio codec]]. 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. }}
Line 18: Line 18:
 
* 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: the module which has this codec (from [[Documentation:Modules]]
+
* mod: module name from [[Documentation:Modules]]
  
 +
== See also ==
 +
* {{tl|Codec audio}}
 +
* {{tl|Codec video}}
 +
 +
[[Category:Templates]]
 
<!----------------------------------------------------------------------------->
 
<!----------------------------------------------------------------------------->
 
</noinclude>
 
</noinclude>

Revision as of 04:59, 18 February 2019

??
This is an audio codec. The name to use at the command line is ??.

For audio codecs.

Usage:

{{codec audio | 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

See also