Template:Codec Infobox: Difference between revisions

From Hydrogenaudio Knowledgebase
m (Added to "Infobox templates" category.)
(Simplified table formatting.)
Line 1: Line 1:
{| align="right" style="padding-left: 15px;"
{| class="ha-infobox" style="width: 256px; float: right; margin-left: 10px; margin-bottom: 10px; border: solid 1px #AAAAAA; background-color: #F9F9F9;"
|
|+ style="font-size: 125%; font-weight: bold;" | {{{name|{{PAGENAME}}}}}
{| cellspacing="5" style="width: 24em; font-size: 90%; text-align: left; border:1px solid; background: rgb(250,250,255);"
|+ style="font-size: 130%; font-weight: bold;" | {{{name}}}
|-
|-
! colspan="2" style="text-align:center; font-size: 80%; font-weight: normal;" | {{{logo}}}
| colspan="2" style="text-align:center;" | {{{logo}}}
|-
|-
! colspan="2" style="text-align:center; font-size: 80%; font-weight: normal;" | {{{purpose}}}
| colspan="2" style="text-align:center; font-size: 80%;" | {{{purpose}}}
|- style="text-align:left; font-weight:bold;"
|-  
| Type: || [[{{{type}}}]]
| '''Type'''
|- style="text-align:left; font-weight:bold;"
| [[{{ucfirst:{{{type}}}}}]]
| Developer: || {{{maintainer}}}
|-  
|- style="text-align:left; font-weight:bold;"
| '''Developer(s)'''
| Recommended encoder: || [[{{{recommended_encoder}}}|{{{recommended_text|{{{recommended_encoder}}}}}}]]
| {{{maintainer|{{{developer}}}}}}
|- style="text-align:left; font-weight:bold;"
|-  
| Website: || {{{website}}}
| '''Recommended encoder'''
|}
| [[{{{recommended_encoder}}}|{{{recommended_text|{{{recommended_encoder}}}}}}]]
|-  
| '''Website'''
| {{{website}}}
|}<noinclude>
|}<noinclude>
== Usage ==
== Usage ==
{| style="background: transparent;"
<pre style="display:table">{{Codec Infobox
|<pre>{{Codec Infobox
| name                =  
| name                =  
| logo                =  
| logo                =  
Line 28: Line 28:
| recommended_text    =  
| recommended_text    =  
| website            =  
| website            =  
}}
}}</pre>
</pre>
|}


* '''website''' field: If the URL is too long, enclose it in the WikiLink syntax, i.e. '''<code><nowiki>[</nowiki><font style="color:#ccccff;"><nowiki>http://www.somewhere.net/</nowiki></font> Click Here]</code>'''.
; website
* '''type''' field: Either "Lossy" or "Lossless"
: If the URL is too long, enclose it in the WikiLink syntax, i.e. '''<code><nowiki>[</nowiki><font style="color:#ccccff;"><nowiki>http://www.somewhere.net/</nowiki></font> Click Here]</code>'''.
* '''recommended_text''' field: optional, display name for recommended codec
; type  
: Either "Lossy" or "Lossless".
; recommended_text
: Pptional, display name for recommended codec.
[[Category:Infobox templates|Codec]]
[[Category:Infobox templates|Codec]]
</noinclude>
</noinclude>

Revision as of 14:42, 21 October 2018

Codec Infobox
{{{logo}}}
{{{purpose}}}
Type [[{{{type}}}]]
Developer(s) {{{developer}}}
Recommended encoder [[{{{recommended_encoder}}}|{{{recommended_encoder}}}]]
Website {{{website}}}

Usage

{{Codec Infobox
| name                = 
| logo                = 
| type                = 
| purpose             = 
| maintainer          = 
| recommended_encoder = 
| recommended_text    = 
| website             = 
}}
website
If the URL is too long, enclose it in the WikiLink syntax, i.e. [http://www.somewhere.net/ Click Here].
type
Either "Lossy" or "Lossless".
recommended_text
Pptional, display name for recommended codec.