From WikiChip
Difference between revisions of "Template:chip identification"

Line 14: Line 14:
 
  -->{{#ifexpr: {{{parts|1}}} > 10|<td style="{{#if: {{{ex 11|}}}|background-color: #a6cee3;}}">{{{ex 11|}}}</td>}}<!--
 
  -->{{#ifexpr: {{{parts|1}}} > 10|<td style="{{#if: {{{ex 11|}}}|background-color: #a6cee3;}}">{{{ex 11|}}}</td>}}<!--
 
  --><td>&nbsp;</td></tr>
 
  --><td>&nbsp;</td></tr>
<tr style="font-size: 24px; text-align: center;"><!--
+
{{#if:{{{ex 2 1|}}}{{{ex 2 2|}}}{{{ex 2 3|}}}{{{ex 2 4|}}}{{{ex 2 5|}}}{{{ex 2 6|}}}{{{ex 2 7|}}}{{{ex 2 8|}}}{{{ex 2 9|}}}{{{ex 2 10|}}}{{{ex 2 11|}}}|<tr style="font-size: 24px; text-align: center;">}}<!--
  --><td style="background-color: #a3dbd2;">{{{ex 2 1|}}}</td><!--
+
  -->{{#ifexpr: {{{parts|1}}} > 1|<td style="{{#if: {{{ex 2 1|}}}|background-color: #a3dbd2;}}">{{{ex 2 1|}}}</td>}}<!--
 
  -->{{#ifexpr: {{{parts|1}}} > 1|<td style="{{#if: {{{ex 2 2|}}}|background-color: #ffffb3;}}">{{{ex 2 2|}}}</td>}}<!--
 
  -->{{#ifexpr: {{{parts|1}}} > 1|<td style="{{#if: {{{ex 2 2|}}}|background-color: #ffffb3;}}">{{{ex 2 2|}}}</td>}}<!--
 
  -->{{#ifexpr: {{{parts|1}}} > 2|<td style="{{#if: {{{ex 2 3|}}}|background-color: #bebada;}}">{{{ex 2 3|}}}</td>}}<!--
 
  -->{{#ifexpr: {{{parts|1}}} > 2|<td style="{{#if: {{{ex 2 3|}}}|background-color: #bebada;}}">{{{ex 2 3|}}}</td>}}<!--
Line 26: Line 26:
 
  -->{{#ifexpr: {{{parts|1}}} > 9|<td style="{{#if: {{{ex 2 10|}}}|background-color: #ffed6f;}}">{{{ex 2 10|}}}</td>}}<!--
 
  -->{{#ifexpr: {{{parts|1}}} > 9|<td style="{{#if: {{{ex 2 10|}}}|background-color: #ffed6f;}}">{{{ex 2 10|}}}</td>}}<!--
 
  -->{{#ifexpr: {{{parts|1}}} > 10|<td style="{{#if: {{{ex 2 11|}}}|background-color: #a6cee3;}}">{{{ex 2 11|}}}</td>}}<!--
 
  -->{{#ifexpr: {{{parts|1}}} > 10|<td style="{{#if: {{{ex 2 11|}}}|background-color: #a6cee3;}}">{{{ex 2 11|}}}</td>}}<!--
  --><td>&nbsp;</td></tr>{{#ifexpr: {{{parts|1}}} > 10|
+
  -->{{#if:{{{ex 2 1|}}}{{{ex 2 2|}}}{{{ex 2 3|}}}{{{ex 2 4|}}}{{{ex 2 5|}}}{{{ex 2 6|}}}{{{ex 2 7|}}}{{{ex 2 8|}}}{{{ex 2 9|}}}{{{ex 2 10|}}}{{{ex 2 11|}}}|<td>&nbsp;</td></tr>}}{{#ifexpr: {{{parts|1}}} > 10|
 
<tr><td style="background-color: #a3dbd2;">&nbsp;</td><!--
 
<tr><td style="background-color: #a3dbd2;">&nbsp;</td><!--
 
  --><td style="background-color: #ffffb3;">&nbsp;</td><!--
 
  --><td style="background-color: #ffffb3;">&nbsp;</td><!--

Revision as of 20:55, 16 November 2016

Code

{{chip identification
| style     = 
| parts     = 
| ex 1      = Put ' ' to have the box colored, otherwise leave blank
| ex 2      = 
| ex N...   = 
| ex 2 1    = 
| ex 2 2    = 
| ex 2 N... = 
| desc 1    = 
| desc 2    = 
| desc N... = 
}}

Example

{{chip identification
| parts     = 6
| ex 1      = HD
| ex 2      = 54
| ex 3      = LS
| ex 4      =
| ex 5      = 10
| ex 2 1    = SN
| ex 2 2    = 74
| ex 2 3    = HCT
| ex 2 4    = 2G
| ex 2 5    = 04
| ex 2 6    = N
| desc 1    = [[Manufacturer Prefix]]
| desc 2    = Specs/Temp Indicator
| desc 3    = Technology Indicator
| desc 4    = Gates Count
| desc 5    = Device Number
| desc 6    = Package Designation
}}
Identification
HD54LS10 
SN74HCT2G04N 
      Package Designation
     Device Number
    Gates Count
   Technology Indicator
  Specs/Temp Indicator
 Manufacturer Prefix