Template:Product: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
(171 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{TemplateGen|params=<nowiki>image=###description=###|category1=###|category2=###</nowiki><br/><nowiki>|documentation={{DocBox|system={Android,Linux,Yocto,Hardware}|content=###}}</nowiki><br/><nowiki>|cpu=###| | <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--> | ||
__notoc__ | <div class="mt-3 card bg-light border-0"> | ||
<!--Description--> | <div class="card-header bg-main text-white"> | ||
<div | <div class="lead font-weight-bold">{{PAGENAME}}</div> | ||
</div> | </div> | ||
<!-- | <div class="card-body row p-3"> | ||
<!--Documentation--> | <div class="product-header text-center col-md-5 col-lg-5 col-xl-4">[[File:{{{image}}}|class={{{image class|img-fluid}}} mb-3|{{PAGENAME}}]]</div> | ||
<div style=" | <div class="col-md-7 col-lg-7 col-xl-8 d-flex flex-column justify-content-between pb-3" style="font-size:17px;line-height:1.3em"> | ||
{{{ | {{{description}}} | ||
{{#if: {{{spec link|}}} | |||
|<div>[{{{spec link|}}} <span class="mw-ui-button mw-ui-progressive mt-3">Product Specifications</span>]</div> | |||
}} | |||
</div> | |||
</div> | |||
</div><!-- SEO -->{{#seo: | |||
|description={{#sub:{{{seo description|{{{description|}}}}}}|0|{{#expr:180 - ( 0{{#len:{{#explode:{{#sub:{{{seo description|{{{description|}}}}}}|0|180}}| |-1}}}} + 1 ) }} }}... | |||
|modified_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} | |||
}}<!--Documentation--><div class="card-deck flex-column flex-lg-row">{{{documentation}}} | |||
<div class="mt-3 card specs bg-light border-0"> | |||
<div class="card-header bg-blue text-white" style="font-size: 12pt;"> | |||
<div class="font-weight-bold">Specs summary</div> | |||
</div> | |||
<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%"><!-- | |||
-->{{#if:{{{cpu}}}|<tr><td style="width:90px">'''CPU'''</td><td>{{{cpu}}}</td></tr>}}<!-- | |||
-->{{#if:{{{ram}}}|<tr><td>'''Memory'''</td><td>{{{ram}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{gfx}}}|<tr><td>'''GPU'''</td><td>{{{gfx}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{display}}}|<tr><td>'''Display'''</td><td>{{{display}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{storage}}}|<tr><td>'''Storage'''</td><td>{{{storage}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{net}}}|<tr><td>'''Network'''</td><td>{{{net}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{rtc}}}|<tr><td>'''RTC'''</td><td>{{{rtc}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{i2c}}}|<tr><td>'''I2C'''</td><td>{{{i2c}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{wire}}}|<tr><td>'''One-Wire'''</td><td>{{{wire}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{spi}}}|<tr><td>'''SPI'''</td><td>{{{spi}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{can}}}|<tr><td>'''CAN bus'''</td><td>{{{can}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{uart}}}|<tr><td>'''UARTs'''</td><td>{{{uart}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{usb}}}|<tr><td>'''USB'''</td><td>{{{usb}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{audio}}}|<tr><td>'''Audio'''</td><td>{{{audio}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{temp}}}|<tr><td>'''Temperature Range'''</td><td>{{{temp}}}</td></tr>|}}<!-- | |||
-->{{#if:{{{dim}}}|<tr><td>'''Dimensions'''</td><td>{{{dim}}}</td></tr>|}} | |||
</table> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="text-right d-inline-block d-md-none"> | |||
[[#top|<span class="mw-ui-button mw-ui-progressive my-3">To the top</span>]] | |||
</div> | </div> | ||
<!--Categories--> | <!--Categories--> | ||
{{#if:{{{category1}}}|[[Category:{{{category1}}}]]|}} | {{#if:{{{category1}}}|[[Category:{{{category1}}}]]|}} | ||
{{#if:{{{category2}}}|[[Category:{{{category2}}}]]|}} | {{#if:{{{category2}}}|[[Category:{{{category2}}}]]|}} |
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}}}]]