Template:Microcontroller: Difference between revisions

From Cyber Hobbies
(Created page with "<includeonly> <div style="float:right;"> {| cellspacing="0" cellpadding="15" border="1" |- style="background:#202224;width:250px;color:#ffffff;" | style='padding:7;margin:5;' | <div style="width:256px;background:#202224;"> <div style="position:relative;top:0;left:0;width:256px;background:#202224;padding:5;margin:5;height:50px;"> {{#if: {{{button|}}}|<div style="position:absolute;top:0px;left:0px;width:50px;height:36px;">[[Image:{{{button}}}|50px|top|]]</div>|<div style="...")
 
No edit summary
Line 1: Line 1:
<includeonly>
<!--includeonly-->
<div style="float:right;">
<div style="float:right;">
{| cellspacing="0" cellpadding="15" border="1"
{| cellspacing="0" cellpadding="15" border="1"
Line 5: Line 5:
| style='padding:7;margin:5;' |
| style='padding:7;margin:5;' |
<div style="width:256px;background:#202224;">
<div style="width:256px;background:#202224;">
<div style="position:relative;top:0;left:0;width:256px;background:#202224;padding:5;margin:5;height:50px;">
<div style="color:#ff7a00;font-size:9pt;">{{#if: {{{manufacturer|}}}|{{{manufacturer}}}|Unspecified}}</div>
{{#if: {{{button|}}}|<div style="position:absolute;top:0px;left:0px;width:50px;height:36px;">[[Image:{{{button}}}|50px|top|]]</div>|<div style="position:absolute;top:0px;left:0px;width:50px;height:36px;background:#555555;"></div>}}
<div style="color:#ffffff;font-face:times new roman;font-size:12pt;font-weight:bold;">{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div>
<div style="position:absolute;top:39px;left:0px;width:50px;height:3px;background:#8fd81d;"></div>
<div style="height:3px;background:#8fd81d;"></div>
<div style="position:absolute;top:-2px;left:54px;width:194px;color:#ff7a00;font-size:9pt;">{{#if: {{{manufacturer|}}}|{{{manufacturer}}}|Unspecified}}</div>
<div style="position:absolute;top:15px;left:54px;width:194px;color:#ffffff;font-face:times new roman;font-size:12pt;font-weight:bold;">{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div>
</div>
{{#if: {{{image|}}}|[[Image:{{{image}}}|256px]]|}}
{{#if: {{{image|}}}|[[Image:{{{image}}}|256px]]|}}
{| style='cellpadding:0;cellspacing:0;border:none;width:250px;background:#202224;color:#ffffff;font-size:95%;'
{| style='cellpadding:0;cellspacing:0;border:none;width:250px;background:#202224;color:#ffffff;font-size:95%;'
|- style='line-height:14px;'
|- style='line-height:14px;'
{{#if: {{{status|}}}|{{!}} colspan='2' {{!}} Status: <span style='color:#d79100;'>{{{status}}} {{{review|}}}</span>|}}
{{#if: {{{status|}}}|{{!}} colspan='2' {{!}} Status: <span style='color:#d79100;'>{{{status}}} {{{review|}}}</span>|}} {{{review|}}}
|- style='line-height:14px;'
|- style='line-height:14px;'
|- style='color:#d79100;'
|- style='color:#d79100;'
Line 24: Line 21:
|}
|}
</div>
</div>
</includeonly>
<!--/includeonly-->
<noinclude>
<noinclude>
==Template usage==
==Template usage==

Revision as of 07:03, 20 April 2024

Unspecified
Microcontroller

Template usage

Displays a Microcontroller panel on the right.


{{Microcontroller
|name=
|manufacturer=
|image=
|datasheet=
|status=
|review=
}}

name Name of the product
manufacturer Manufacturer of the product
image (OPTIONAL) The name of the image for this product
datasheet Link to manufacturer datasheet
status One of the following:
"In Production", "Obsolete"
review Last date the product status was reviewed in DD MMM YYYY format