Template:Microcontroller: Difference between revisions
(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="...") |
(Removed "review" and a stray bracket) |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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=" | <div style="color:#ff7a00;font-size:9pt;">{{#if: {{{manufacturer|}}}|{{{manufacturer}}}|Unspecified}}</div> | ||
<div style="color:#ffffff;font-face:times new roman;font-size:12pt;font-weight:bold;">{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div> | |||
<div style="height:3px;background:#8fd81d;"></div> | |||
<div style=" | |||
</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 | {{#if: {{{status|}}}|{{!}} colspan='2' {{!}} Status: <span style='color:#d79100;'>{{{status}}}</span>|}} | ||
|- style='line-height:14px;' | |- style='line-height:14px;' | ||
|- style='color:#d79100;' | |- style='color:#d79100;' | ||
{{#if: {{{desc|}}}|{{!}} colspan='2' {{!}} {{{desc}}}|}} | {{#if: {{{desc|}}}|{{!}} colspan='2' {{!}} {{{desc}}}|}} | ||
|- style='line-height:14px;' | |- style='line-height:14px;' | ||
{{#if: {{{datasheet|}}}|{{!}} colspan='2' {{!}} | {{#if: {{{datasheet|}}}|{{!}} colspan='2' {{!}} <span style='color:#d79100;'>[{{{datasheet}}} Datasheet]</span>|}} | ||
|} | |} | ||
</div> | </div> | ||
|} | |} | ||
</div> | </div> | ||
</includeonly> | <!--/includeonly--> | ||
<noinclude> | <noinclude> | ||
==Template usage== | ==Template usage== | ||
| Line 36: | Line 33: | ||
|datasheet= | |datasheet= | ||
|status= | |status= | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
| Line 52: | Line 48: | ||
|- | |- | ||
| '''status''' || One of the following:<br>"In Production", "Obsolete" | | '''status''' || One of the following:<br>"In Production", "Obsolete" | ||
|} | |} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Latest revision as of 07:09, 20 April 2024
|
Unspecified
Microcontroller
|
Template usage
Displays a Microcontroller panel on the right.
{{Microcontroller
|name=
|manufacturer=
|image=
|datasheet=
|status=
}}
| 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" |