Difference between revisions of "Template:Codec"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Undo revision 59874 by DoesItReallyMatter (talk))
(Implement tracking-category logic: add pages with missing ids to Category:Codecs missing ids)
Line 1: Line 1:
 
{{top box
 
{{top box
|id={{#if:{{{id|}}}|{{{id}}}|??}}
+
|id={{#if:{{{id|}}}|{{{id}}}|??[[Category:Codecs missing ids]]}}
 
|text=<!--
 
|text=<!--
 
Line 1: -->This is <!--
 
Line 1: -->This is <!--

Revision as of 08:41, 9 April 2019

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

A meta-template for codecs.

Usage:

{{codec |type= | id= | altid= | altid2= | encoder= | for= | mod= }}

You should supply type and id, the rest are optional.

  • type: the type of codec, currently audio or video
  • id: the module name for the codec. If other shortcuts to the same module exist, also list them with altid, or 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
  • encoder: if equal to y, display a message, currently "VLC can encode using this codec."

See also