Difference between revisions of "Template:Infobox"

From Rockchip open source Document
Jump to: navigation, search
(Created page with "{{infobox | above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | abovestyle = background: #dedede; | image = {{{image|}}} | caption = {{{caption|}}} | headerstyle...")
 
Line 1: Line 1:
{{infobox
+
<includeonly><table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{#if:{{{float|}}}|float: {{{float}}}; clear: {{#ifeq:{{{float|}}}|none|both|{{{float}}}}}; margin: 0 0 1em 1em;}} {{{bodystyle|}}}">
| above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
<!--
| abovestyle = background: #dedede;
+
Title
 
+
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
| image = {{{image|}}}
+
Header
| caption = {{{caption|}}}
+
-->{{#if:{{{above|}}}|<tr><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
 
+
{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
| headerstyle = background: #dedede;
+
Image
 
+
-->{{#if:{{{image|}}}|{{Infobox/row
| header1 =
+
|data={{{image}}}{{#if:{{{caption|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|}}}</span>}}
| label1 = Manufacturer
+
|datastyle={{{imagestyle|}}}
| data1 = {{{manufacturer|}}}
+
|class={{{imageclass|}}}
 
+
|rowclass={{{imagerowclass|}}}
| header2 =
+
}} }}<!--
| label2 = Process
+
Data rows
| data2 = {{{process|}}}
+
-->{{Infobox/row
 
+
|header={{{header1|}}} |headerstyle={{{headerstyle|}}}
| header3 =
+
|label={{{label1|}}}  |labelstyle={{{labelstyle|}}}
| label3 = CPU
+
|data={{{data1|}}}    |datastyle={{{datastyle|}}}
| data3 = {{{cpu|}}}
+
|class={{{class1|}}}  |rowclass={{{rowclass1|}}}
 
+
}}{{Infobox/row
| header4 =
+
|header={{{header2|}}} |headerstyle={{{headerstyle|}}}
| label4 = L2
+
|label={{{label2|}}}  |labelstyle={{{labelstyle|}}}
| data4 = {{{l2|}}}
+
|data={{{data2|}}}    |datastyle={{{datastyle|}}}
 
+
|class={{{class2|}}}  |rowclass={{{rowclass2|}}}
| header5 =
+
}}{{Infobox/row
| label5 = Extensions
+
|header={{{header3|}}} |headerstyle={{{headerstyle|}}}
| data5 = {{{extensions|}}}
+
|label={{{label3|}}}  |labelstyle={{{labelstyle|}}}
 
+
|data={{{data3|}}}    |datastyle={{{datastyle|}}}
| header6 =  
+
|class={{{class3|}}}  |rowclass={{{rowclass3|}}}
| label6 = Memory
+
}}{{Infobox/row
| data6 = {{{memory|}}}
+
|header={{{header4|}}} |headerstyle={{{headerstyle|}}}
 
+
|label={{{label4|}}}  |labelstyle={{{labelstyle|}}}
| header7 =  
+
|data={{{data4|}}}    |datastyle={{{datastyle|}}}
| label7 = GPU
+
|class={{{class4|}}}  |rowclass={{{rowclass4|}}}
| data7 = {{{gpu|}}}
+
}}{{Infobox/row
 
+
|header={{{header5|}}} |headerstyle={{{headerstyle|}}}
| header8 =
+
|label={{{label5|}}}  |labelstyle={{{labelstyle|}}}
| label8 = VPU
+
|data={{{data5|}}}    |datastyle={{{datastyle|}}}
| data8 = {{{vpu|}}}
+
|class={{{class5|}}}  |rowclass={{{rowclass5|}}}
 
+
}}{{Infobox/row
| header9 =
+
|header={{{header6|}}} |headerstyle={{{headerstyle|}}}
| label9 = APU
+
|label={{{label6|}}}  |labelstyle={{{labelstyle|}}}
| data9 = {{{apu|}}}
+
|data={{{data6|}}}    |datastyle={{{datastyle|}}}
 
+
|class={{{class6|}}}  |rowclass={{{rowclass6|}}}
| header10 = Connectivity
+
}}{{Infobox/row
| label10 =  
+
|header={{{header7|}}} |headerstyle={{{headerstyle|}}}
| data10 =  
+
|label={{{label7|}}}  |labelstyle={{{labelstyle|}}}
 
+
|data={{{data7|}}}    |datastyle={{{datastyle|}}}
| header11 =
+
|class={{{class7|}}}  |rowclass={{{rowclass7|}}}
| label11 = Video
+
}}{{Infobox/row
| data11 = {{{video|}}}
+
|header={{{header8|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label8|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data8|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class8|}}}  |rowclass={{{rowclass8|}}}
 +
}}{{Infobox/row
 +
|header={{{header9|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label9|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data9|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class9|}}}  |rowclass={{{rowclass9|}}}
 +
}}{{Infobox/row
 +
|header={{{header10|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label10|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data10|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class10|}}}  |rowclass={{{rowclass10|}}}
 +
}}{{Infobox/row
 +
|header={{{header11|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label11|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data11|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class11|}}}  |rowclass={{{rowclass11|}}}
 +
}}{{Infobox/row
 +
|header={{{header12|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label12|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data12|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class12|}}}  |rowclass={{{rowclass12|}}}
 +
}}{{Infobox/row
 +
|header={{{header13|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label13|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data13|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class13|}}}  |rowclass={{{rowclass13|}}}
 +
}}{{Infobox/row
 +
|header={{{header14|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label14|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data14|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class14|}}}  |rowclass={{{rowclass14|}}}
 +
}}{{Infobox/row
 +
|header={{{header15|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label15|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data15|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class15|}}}  |rowclass={{{rowclass15|}}}
 +
}}{{Infobox/row
 +
|header={{{header16|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label16|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data16|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class16|}}}  |rowclass={{{rowclass16|}}}
 +
}}{{Infobox/row
 +
|header={{{header17|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label17|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data17|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class17|}}}  |rowclass={{{rowclass17|}}}
 +
}}{{Infobox/row
 +
|header={{{header18|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label18|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data18|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class18|}}}  |rowclass={{{rowclass18|}}}
 +
}}{{Infobox/row
 +
|header={{{header19|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label19|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data19|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class19|}}}  |rowclass={{{rowclass19|}}}
 +
}}{{Infobox/row
 +
|header={{{header20|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label20|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data20|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class20|}}}  |rowclass={{{rowclass20|}}}
 +
}}
 +
{{Infobox/row
 +
|header={{{header21|}}} |headerstyle={{{headerstyle|}}}
 +
|label={{{label21|}}}  |labelstyle={{{labelstyle|}}}
 +
|data={{{data21|}}}    |datastyle={{{datastyle|}}}
 +
|class={{{class21|}}}  |rowclass={{{rowclass21|}}}
 +
}}
 +
</table></includeonly><noinclude>
 +
== Usage ==
 +
== See also ==
 +
* {{tl|Infobox/row}}
  
| header12 =
+
[[Category:Infobox]]</noinclude>
| label12 = Audio
 
| data12 = {{{audio|}}}
 
 
 
| header13 =
 
| label13 = Network
 
| data13 = {{{network|}}}
 
 
 
| header14 =
 
| label14 = Storage
 
| data14 = {{{storage|}}}
 
 
 
| header15 =
 
| label15 = USB
 
| data15 = {{{usb|}}}
 
 
 
| header16 =
 
| label16 = Other
 
| data16 = {{{other|}}}
 
 
 
| header17 =
 
| label17 = Release Date
 
| data17 = {{{release_date|}}}
 
 
 
| header18 =
 
| label18 = Website
 
| data18 = {{{website|}}}
 
}}
 

Revision as of 03:18, 8 March 2017

Usage

See also