Template:Product: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{TemplateGen|params=<nowiki>image=###image class=img-fluid(default)|as-is(without resizing)###description=###|category1=###|category2=###</nowiki><br/><nowiki>|documentation={{DocBox|system={Android,Linux,Yocto,Hardware}|content=###}}</nowiki><br/><nowiki>|cpu=###</nowiki><br/><nowiki>|ram=###</nowiki><br/><nowiki>|display=###</nowiki><br/><nowiki>|gfx=###</nowiki><br/><nowiki>|storage=###</nowiki><br/><nowiki>|rtc=###</nowiki><br/><nowiki>|i2c=###</nowiki><br/><nowiki>|spi=###</nowiki><br/><nowiki>|net=###</nowiki><br/><nowiki>|temp=Commercial\Extended </nowiki><br/><nowiki>|usb=###</nowiki><br/><nowiki>|audio=###</nowiki><br/><nowiki>|uart=###</nowiki><br/><nowiki>|dim=###</nowiki><br/><nowiki>|wire=###</nowiki>}}</noinclude>__notoc__
<noinclude>{{TemplateGen|params=<nowiki>image=###image class=img-fluid(default)|as-is(without resizing)###description=###|category1=###|category2=###</nowiki><br/><nowiki>|documentation={{DocBox|system={Android,Linux,Yocto,Hardware}|content=###}}</nowiki><br/><nowiki>|cpu=###</nowiki><br/><nowiki>|ram=###</nowiki><br/><nowiki>|display=###</nowiki><br/><nowiki>|gfx=###</nowiki><br/><nowiki>|storage=###</nowiki><br/><nowiki>|rtc=###</nowiki><br/><nowiki>|i2c=###</nowiki><br/><nowiki>|spi=###</nowiki><br/><nowiki>|net=###</nowiki><br/><nowiki>|temp=Commercial\Extended </nowiki><br/><nowiki>|usb=###</nowiki><br/><nowiki>|audio=###</nowiki><br/><nowiki>|uart=###</nowiki><br/><nowiki>|dim=###</nowiki><br/><nowiki>|wire=###</nowiki>}}</noinclude>__notoc__<!--Description-->
<!--Description-->
<div class="mt-3 card bg-light border-0">
<div class="mt-3 card bg-light border-0">
<div class="card-header bg-main text-white">
<div class="card-header bg-main text-white">
Line 15: Line 14:
</div>
</div>
</div><!-- SEO -->{{#seo:
</div><!-- SEO -->{{#seo:
   |description={{#sub:{{{seo description|{{{description|}}}}}}|0|{{#expr:180 - 0{{#len:{{#explode:{{#sub:{{{seo description|{{{description|}}}}}}|0|180}}| |-1}}}}}} }}
   |description={{#sub:{{{seo description|{{{description|}}}}}}|0|{{#expr:180 - ( 0{{#len:{{#explode:{{#sub:{{{seo description|{{{description|}}}}}}|0|180}}| |-1}}}} + 1 ) }} }}...
   |modified_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
   |modified_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
}}<!--Documentation-->
}}<!--Documentation--><div class="card-deck flex-column flex-lg-row">{{{documentation}}}
<div class="card-deck flex-column flex-lg-row">
{{{documentation}}}
<div class="mt-3 card specs bg-light border-0">
<div class="mt-3 card specs bg-light border-0">
<div class="card-header bg-blue text-white"  style="font-size: 12pt;">
<div class="card-header bg-blue text-white"  style="font-size: 12pt;">
<div class="font-weight-bold">Specs summary</div>
<div class="font-weight-bold">Specs summary</div>
</div>
</div>
<div class="card-body row px-3 py-0">
<div class="card-body row px-3 py-0 align-items-start">
<table id="specs" class="table bg-light py-0" style="font-size:90%">
<table id="specs" class="table bg-light py-0" style="font-size:90%"><!--
{{#if:{{{cpu}}}|<tr><td style="width:90px">'''CPU'''</td><td>{{{cpu}}}</td></tr>}}
-->{{#if:{{{cpu}}}|<tr><td style="width:90px">'''CPU'''</td><td>{{{cpu}}}</td></tr>}}<!--
{{#if:{{{ram}}}|<tr><td>'''Memory'''</td><td>{{{ram}}}</td></tr>|}}
-->{{#if:{{{ram}}}|<tr><td>'''Memory'''</td><td>{{{ram}}}</td></tr>|}}<!--
{{#if:{{{gfx}}}|<tr><td>'''GPU'''</td><td>{{{gfx}}}</td></tr>|}}
-->{{#if:{{{gfx}}}|<tr><td>'''GPU'''</td><td>{{{gfx}}}</td></tr>|}}<!--
{{#if:{{{display}}}|<tr><td>'''Display'''</td><td>{{{display}}}</td></tr>|}}
-->{{#if:{{{display}}}|<tr><td>'''Display'''</td><td>{{{display}}}</td></tr>|}}<!--
{{#if:{{{storage}}}|<tr><td>'''Storage'''</td><td>{{{storage}}}</td></tr>|}}
-->{{#if:{{{storage}}}|<tr><td>'''Storage'''</td><td>{{{storage}}}</td></tr>|}}<!--
{{#if:{{{net}}}|<tr><td>'''Network'''</td><td>{{{net}}}</td></tr>|}}
-->{{#if:{{{net}}}|<tr><td>'''Network'''</td><td>{{{net}}}</td></tr>|}}<!--
{{#if:{{{rtc}}}|<tr><td>'''RTC'''</td><td>{{{rtc}}}</td></tr>|}}
-->{{#if:{{{rtc}}}|<tr><td>'''RTC'''</td><td>{{{rtc}}}</td></tr>|}}<!--
{{#if:{{{i2c}}}|<tr><td>'''I2C'''</td><td>{{{i2c}}}</td></tr>|}}
-->{{#if:{{{i2c}}}|<tr><td>'''I2C'''</td><td>{{{i2c}}}</td></tr>|}}<!--
{{#if:{{{spi}}}|<tr><td>'''SPI'''</td><td>{{{spi}}}</td></tr>|}}
-->{{#if:{{{wire}}}|<tr><td>'''One-Wire'''</td><td>{{{wire}}}</td></tr>|}}<!--
{{#if:{{{wire}}}|<tr><td>'''One-Wire'''</td><td>{{{wire}}}</td></tr>|}}
-->{{#if:{{{spi}}}|<tr><td>'''SPI'''</td><td>{{{spi}}}</td></tr>|}}<!--
{{#if:{{{uart}}}|<tr><td>'''UARTs'''</td><td>{{{uart}}}</td></tr>|}}
-->{{#if:{{{can}}}|<tr><td>'''CAN bus'''</td><td>{{{can}}}</td></tr>|}}<!--
{{#if:{{{usb}}}|<tr><td>'''USB'''</td><td>{{{usb}}}</td></tr>|}}
-->{{#if:{{{uart}}}|<tr><td>'''UARTs'''</td><td>{{{uart}}}</td></tr>|}}<!--
{{#if:{{{audio}}}|<tr><td>'''Audio'''</td><td>{{{audio}}}</td></tr>|}}
-->{{#if:{{{usb}}}|<tr><td>'''USB'''</td><td>{{{usb}}}</td></tr>|}}<!--
{{#if:{{{temp}}}|<tr><td>'''Temperature Range'''</td><td>{{{temp}}}</td></tr>|}}
-->{{#if:{{{audio}}}|<tr><td>'''Audio'''</td><td>{{{audio}}}</td></tr>|}}<!--
{{#if:{{{dim}}}|<tr><td>'''Dimensions'''</td><td>{{{dim}}}</td></tr>|}}
-->{{#if:{{{temp}}}|<tr><td>'''Temperature Range'''</td><td>{{{temp}}}</td></tr>|}}<!--
-->{{#if:{{{dim}}}|<tr><td>'''Dimensions'''</td><td>{{{dim}}}</td></tr>|}}
</table>
</table>
</div>
</div>

Latest revision as of 20:33, 23 December 2023

Usage

Please use this string:

{{Product|image=###image class=img-fluid(default)|as-is(without resizing)###description=###|category1=###|category2=###
|documentation={{DocBox|system={Android,Linux,Yocto,Hardware}|content=###}}
|cpu=###
|ram=###
|display=###
|gfx=###
|storage=###
|rtc=###
|i2c=###
|spi=###
|net=###
|temp=Commercial\Extended
|usb=###
|audio=###
|uart=###
|dim=###
|wire=###}}

Product
[[File:{{{image}}}|class=img-fluid mb-3|Product]]

{{{description}}}

{{{documentation}}}
Specs summary
CPU{{{cpu}}}
Memory{{{ram}}}
GPU{{{gfx}}}
Display{{{display}}}
Storage{{{storage}}}
Network{{{net}}}
RTC{{{rtc}}}
I2C{{{i2c}}}
One-Wire{{{wire}}}
SPI{{{spi}}}
CAN bus{{{can}}}
UARTs{{{uart}}}
USB{{{usb}}}
Audio{{{audio}}}
Temperature Range{{{temp}}}
Dimensions{{{dim}}}

[[Category:{{{category1}}}]] [[Category:{{{category2}}}]]