Difference between revisions of "Template:Product"

From Variscite Wiki
Line 7: Line 7:
 
<div class="card-body row p-3">
 
<div class="card-body row p-3">
 
<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 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 class="col-md-7 col-lg-7 col-xl-8" style="font-size:17px;line-height:1.3em">{{{description}}}</div>
+
<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>
 
</div>
 
</div>

Revision as of 23:03, 3 November 2021

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}}}

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

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