Difference between revisions of "Template:Codec Infobox"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m (Minor font size fix.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| align="right" style="padding-left: 15px;"
+
{| class="infobox plainlinks" style="width: 256px; font-size: 88%; float: right; margin-left: 10px; margin-bottom: 10px; border: solid 1px #AAAAAA; background-color: #F9F9F9;"
|
+
{| 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="font-size: 125%" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
! colspan="2" style="text-align:center; font-size: 80%; font-weight: normal;" | {{{purpose}}}
+
| colspan="2" style="text-align:center;" | {{{logo}}}
|- style="text-align:left; font-weight:bold;"
+
|-
| Type: || [[{{{type}}}]]
+
| colspan="2" style="text-align:center; font-size: 80%;" | {{{purpose}}}
|- style="text-align:left; font-weight:bold;"
+
|- style="vertical-align: top;"
| Developer: || {{{maintainer}}}
+
| '''Developer(s)'''
|- style="text-align:left; font-weight:bold;"
+
| {{{maintainer|{{{developer}}}}}}
| Recommended encoder: || [[{{{recommended_encoder}}}|{{{recommended_text|{{{recommended_encoder}}}}}}]]
+
|-
|- style="text-align:left; font-weight:bold;"
+
| '''Release'''
| Website: || {{{website}}}
+
| {{#dateformat:{{{released|TBC}}}|mdy}}
|}
+
|-
 +
| '''Type'''
 +
| [[{{ucfirst:{{{type}}}}}]]
 +
|- {{#if: {{{recommended_encoder|}}} | style="vertical-align: top;" | style="display: none;" }}
 +
| '''Recommended encoder'''
 +
| style="vertical-align: top;" | [[{{{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 =
+
| purpose   =  
| type =  
+
| developer =  
| purpose =  
+
| released  =  
| maintainer =  
+
| type      =  
| recommended_encoder =  
+
| website   =  
| recommended_text =
+
}}</pre>
| website =  
+
}}
+
</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>[http://www.somewhere.net/ Official website]</nowiki>}}.
* '''recommended_text''' field: optional, display name for recommended codec
+
; type  
 +
: Either "Lossy" or "Lossless".
 +
[[Category:Infobox templates|Codec]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:00, 6 December 2019

Usage[edit]

{{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".