Difference between revisions of "Template:Infobox SoC"

From Rockchip open source Document
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="infobox" cellspacing="5" style="width:300px;">
+
<includeonly><table class="infobox" cellspacing="5" style="width:300px;">
{{#if:{{{title|}}}|<tr><th colspan="2" class="" style="text-align:center; font-size:125%; font-weight:bold; background: #dedede;">{{{title}}}</th></tr>}}
+
<tr><th colspan="2" class="" style="text-align:center; font-size:125%; font-weight:bold; background: #c1d7ea;">{{{title}}}</th></tr>
 
<tr class=""><td colspan="2" class="" style="text-align:center;">
 
<tr class=""><td colspan="2" class="" style="text-align:center;">
 
{{{image}}}</td></tr>
 
{{{image}}}</td></tr>
Line 13: Line 13:
 
<tr class=""><th scope="row" style="text-align:left;">GPU</th><td class="" style="">
 
<tr class=""><th scope="row" style="text-align:left;">GPU</th><td class="" style="">
 
{{{gpu}}}</td></tr>
 
{{{gpu}}}</td></tr>
<tr><th colspan="2" class="" style="text-align:center; background: #dedede;">Connectivity</th></tr>
+
{{#if:{{{vpu|}}}|<tr class=""><th scope="row" style="text-align:left;">VPU</th><td class="" style="">
 +
{{{vpu}}}</td></tr>}}
 +
<tr><th colspan="2" class="" style="text-align:center; background: #c1d7ea;">Connectivity</th></tr>
 
<tr class=""><th scope="row" style="text-align:left;">Video</th><td class="" style="">
 
<tr class=""><th scope="row" style="text-align:left;">Video</th><td class="" style="">
 
{{{video}}}</td></tr>
 
{{{video}}}</td></tr>
Line 20: Line 22:
 
<tr class=""><th scope="row" style="text-align:left;">Storage</th><td class="" style="">
 
<tr class=""><th scope="row" style="text-align:left;">Storage</th><td class="" style="">
 
{{{storage}}}</td></tr>
 
{{{storage}}}</td></tr>
<tr class=""><th scope="row" style="text-align:left;">USB</th><td class="" style="">
+
{{#if:{{{Connectivity|}}}|<tr class=""><th scope="row" style="text-align:left;">Connectivity</th><td class="" style="">
{{{usb}}}</td></tr>
+
{{{Connectivity}}}</td></tr>}}
<tr class=""><th scope="row" style="text-align:left;">Release Date</th><td class="" style="">
+
{{#if:{{{Interface|}}}|<tr class=""><th scope="row" style="text-align:left;">Interface</th><td class="" style="">
{{{release_date}}}</td></tr>
+
{{{Interface}}}</td></tr>}}
<tr class=""><th scope="row" style="text-align:left;">Website</th><td class="" style="">
+
{{#if:{{{usb|}}}|<tr class=""><th scope="row" style="text-align:left;">USB</th><td class="" style="">
[{{{website}}} Product Page]
+
{{{usb}}}</td></tr>}}
 +
{{#if:{{{release_date|}}}|<tr class=""><th scope="row" style="text-align:left;">Release Date</th><td class="" style="">
 +
{{{release_date}}}</td></tr>}}
 +
{{#if:{{{website|}}}|<tr class=""><th scope="row" style="text-align:left;">Website</th><td class="" style="">
 +
[{{{website}}} Product Page]}}
 
</td></tr>
 
</td></tr>
</table>
+
</table></includeonly>

Latest revision as of 03:52, 21 March 2017