Template:DocBox: Difference between revisions

From Variscite Wiki
(Created page with "<!-- main table --> {| style="width:200px;" |- {| style="padding:15px; background-color: #0066c7; color: white; font-size:30px; width:100%; height:50px; border-top-left-radius...")
 
No edit summary
 
(124 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- main table -->
<noinclude>{{TemplateGen|params=<nowiki>boxwidth=17(5 columns)/21(4)/29(3)/44(2)|system={Android,Linux,Yocto,Hardware,Debian,Ubuntu,Arago,Windows,FreeRTOS}|content=###</nowiki>}}</noinclude>
{| style="width:200px;"
<div class="mt-3 card rounded border-0">
|-
<div class="card-header bg-{{#switch: {{{system}}}
{| style="padding:15px; background-color: #0066c7; color: white; font-size:30px; width:100%; height:50px; border-top-left-radius:5px; border-top-right-radius:5px; "
|Android=green
|SOM's
|Linux=main
|}
|Yocto=darkblue
{| style=" background-color: #F0F0FF; width:100%; "
|Hardware=secondary
|-
|Debian=pink
|
|Ubuntu=orange
*dgdfg
|FreeRTOS=plate
*dfgdfg
|Arago=purple
|}
|Windows=primary
|}
|Boot2Qt=leaf
|#default=default
}} text-white" style="font-size: 12pt;">
<div class="font-weight-bold">{{#switch:{{{system}}}| Debian=Debian| Ubuntu=Ubuntu| Arago=Arago| Yocto=Yocto| FreeRTOS=FreeRTOS for M4| {{{system}}}}}</div>
</div>
<div class="card-body row m-0 p-0">
<div class="col d-flex flex-column justify-content-between p-3" style="background-color: #{{#switch: {{{system}}}| Android= F2FAD9| Linux=ffecd7| Yocto= d7e4f2|Hardware=e3e3e3|Debian=f1d8e1 |Ubuntu=ffe3d1 | FreeRTOS=e6fff9 | Arago=fff5dd |Windows=E0F7FD |Boot2Qt=e0fdf1 |@default=cccccc}};">
<div>
{{{content}}}
</div>
<div class="align-self-end" style="width:100px;">[[File:{{#switch: {{{system}}}| Android= Android.png| Linux=Linux.png| Yocto=Yocto.png| Hardware=Chip.png|Debian= Debian.png| Ubuntu= Ubuntu.png |Arago= Arago.png |Windows=Windows.png |FreeRTOS=Freertos.png | DART.png}}|class=img-fluid]]
</div>
</div>
</div>
</div>

Latest revision as of 00:07, 28 May 2020

Usage

Please use this string:

{{DocBox|boxwidth=17(5 columns)/21(4)/29(3)/44(2)|system={Android,Linux,Yocto,Hardware,Debian,Ubuntu,Arago,Windows,FreeRTOS}|content=###}}

{{{system}}}

{{{content}}}

DART.png