Template:Codec Infobox: Difference between revisions

From Hydrogenaudio Knowledgebase
m (Updated vertical alignment for "Recommended encoder" row.)
m (Minor font size fix.)
 
(3 intermediate revisions by 2 users 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;"
|+ style="font-size: 125%; font-weight: bold;" | {{{name|{{PAGENAME}}}}}
|-
! colspan="2" style="font-size: 125%" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align:center;" | {{{logo}}}
| colspan="2" style="text-align:center;" | {{{logo}}}
|-
|-
| 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)'''
| {{{maintainer|{{{developer}}}}}}
|-
| '''Release'''
| {{#dateformat:{{{released|TBC}}}|mdy}}
|-  
|-  
| '''Type'''
| '''Type'''
| [[{{ucfirst:{{{type}}}}}]]
| [[{{ucfirst:{{{type}}}}}]]
|-  
|- {{#if: {{{recommended_encoder|}}} | style="vertical-align: top;" | style="display: none;" }}
| '''Developer(s)'''
| {{{maintainer|{{{developer}}}}}}
|-
| '''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 20: Line 24:
== Usage ==
== Usage ==
<pre style="display:table">{{Codec Infobox
<pre style="display:table">{{Codec Infobox
| name               =  
| name     =  
| logo               =
| logo     =  
| type                =  
| purpose   =  
| purpose             =  
| developer =  
| maintainer          =  
| released  =  
| recommended_encoder =  
| type      =  
| recommended_text    =  
| website   =  
| website             =  
}}</pre>
}}</pre>


Line 34: 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".