Template:Codec Infobox: Difference between revisions

From Hydrogenaudio Knowledgebase
m (Added "Initial release" date row.)
m (Minor font size fix.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="ha-infobox" style="width: 256px; float: right; margin-left: 10px; margin-bottom: 10px; border: solid 1px #AAAAAA; background-color: #F9F9F9;"
{| class="infobox plainlinks" style="width: 256px; font-size: 88%; float: right; margin-left: 10px; margin-bottom: 10px; border: solid 1px #AAAAAA; background-color: #F9F9F9;"
|-
|-
! colspan="2" style="font-size: 125%" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size: 125%" | {{{name|{{PAGENAME}}}}}
Line 6: Line 6:
|-
|-
| colspan="2" style="text-align:center; font-size: 80%;" | {{{purpose}}}
| colspan="2" style="text-align:center; font-size: 80%;" | {{{purpose}}}
|-  
|- style="vertical-align: top;"
| '''Developer(s)'''
| '''Developer(s)'''
| {{{maintainer|{{{developer}}}}}}
| {{{maintainer|{{{developer}}}}}}
|-  
|-  
| '''Initial release'''
| '''Release'''
| {{#dateformat:{{{released|TBC}}}|mdy}}
| {{#dateformat:{{{released|TBC}}}|mdy}}
|-  
|-  
| '''Type'''
| '''Type'''
| [[{{ucfirst:{{{type}}}}}]]
| [[{{ucfirst:{{{type}}}}}]]
|-  
|- {{#if: {{{recommended_encoder|}}} | style="vertical-align: top;" | style="display: none;" }}
| '''Recommended encoder'''
| '''Recommended encoder'''
| style="vertical-align: top;" | [[{{{recommended_encoder}}}|{{{recommended_text|{{{recommended_encoder}}}}}}]]
| style="vertical-align: top;" | [[{{{recommended_encoder}}}|{{{recommended_text|{{{recommended_encoder}}}}}}]]
Line 24: Line 24:
== Usage ==
== Usage ==
<pre style="display:table">{{Codec Infobox
<pre style="display:table">{{Codec Infobox
| name               =  
| name     =  
| logo               =  
| logo     =  
| purpose             =  
| purpose   =  
| developer           =  
| developer =  
| released           =  
| released =  
| type               =
| type     =  
| recommended_encoder =
| website   =  
| recommended_text    =  
| website             =  
}}</pre>
}}</pre>


Line 39: Line 37:
; type  
; type  
: Either "Lossy" or "Lossless".
: Either "Lossy" or "Lossless".
; recommended_text
: Optional, display name for recommended codec.
[[Category:Infobox templates|Codec]]
[[Category:Infobox templates|Codec]]
</noinclude>
</noinclude>

Latest revision as of 18:00, 6 December 2019

Usage

{{Codec Infobox
| name      = 
| logo      = 
| purpose   = 
| developer = 
| released  = 
| type      = 
| website   = 
}}
website
If the URL is too long, enclose it in the WikiLink syntax, i.e. [http://www.somewhere.net/ Official website].
type
Either "Lossy" or "Lossless".