From WikiChip
Difference between revisions of "Template:chip identification"
(Added optional title parameter.) |
|||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <table style="border-collapse: collapse;"> | + | <includeonly><table style="border-collapse: collapse; padding: 10px; {{{style|}}}"> |
− | <tr><td style="text-align: center; font-weight:bold;" colspan="{{#expr:{{{parts|1}}} + 1}}">Identification</td></tr> | + | <tr><td style="text-align: center; font-weight:bold;" colspan="{{#expr:{{{parts|1}}} + 1}}">{{{title|Identification}}}</td></tr> |
− | <tr style="font-size: | + | <tr style="font-size: 24px; text-align: center;"><!-- |
--><td style="background-color: #a3dbd2;">{{{ex 1|}}}</td><!-- | --><td style="background-color: #a3dbd2;">{{{ex 1|}}}</td><!-- | ||
-->{{#ifexpr: {{{parts|1}}} > 1|<td style="background-color: #ffffb3;">{{{ex 2|}}}</td>}}<!-- | -->{{#ifexpr: {{{parts|1}}} > 1|<td style="background-color: #ffffb3;">{{{ex 2|}}}</td>}}<!-- | ||
− | -->{{#ifexpr: {{{parts|1}}} > 2|<td style="background-color: #bebada;">{{{ex 3|}}}</td>}}<!-- | + | -->{{#ifexpr: {{{parts|1}}} > 2|<td style="{{#if: {{{ex 3|}}}|background-color: #bebada;}}">{{{ex 3|}}}</td>}}<!-- |
− | -->{{#ifexpr: {{{parts|1}}} > 3|<td style="background-color: # | + | -->{{#ifexpr: {{{parts|1}}} > 3|<td style="{{#if: {{{ex 4|}}}|background-color: #fdbcb5;}}">{{{ex 4|}}}</td>}}<!-- |
− | -->{{#ifexpr: {{{parts|1}}} > 4|<td style="background-color: # | + | -->{{#ifexpr: {{{parts|1}}} > 4|<td style="{{#if: {{{ex 5|}}}|background-color: #b3d0e5;}}">{{{ex 5|}}}</td>}}<!-- |
− | -->{{#ifexpr: {{{parts|1}}} > 5|<td style="background-color: #fdb462;">{{{ex 6|}}}</td>}}<!-- | + | -->{{#ifexpr: {{{parts|1}}} > 5|<td style="{{#if: {{{ex 6|}}}|background-color: #fdb462;}}">{{{ex 6|}}}</td>}}<!-- |
− | -->{{#ifexpr: {{{parts|1}}} > 6|<td style="background-color: #b3de69;">{{{ex 7|}}}</td>}}<!-- | + | -->{{#ifexpr: {{{parts|1}}} > 6|<td style="{{#if: {{{ex 7|}}}|background-color: #b3de69;}}">{{{ex 7|}}}</td>}}<!-- |
− | -->{{#ifexpr: {{{parts|1}}} > 7|<td style="background-color: #fccde5;">{{{ex 8|}}}</td>}}<!-- | + | -->{{#ifexpr: {{{parts|1}}} > 7|<td style="{{#if: {{{ex 8|}}}|background-color: #fccde5;}}">{{{ex 8|}}}</td>}}<!-- |
− | -->{{#ifexpr: {{{parts|1}}} > 8|<td style="background-color: #d9d9d9;">{{{ex 9|}}}</td>}}<!-- | + | -->{{#ifexpr: {{{parts|1}}} > 8|<td style="{{#if: {{{ex 9|}}}|background-color: #d9d9d9;}}">{{{ex 9|}}}</td>}}<!-- |
− | -->{{#ifexpr: {{{parts|1}}} > 9|<td style="background-color: #ffed6f;">{{{ex 10|}}}</td>}}<!-- | + | -->{{#ifexpr: {{{parts|1}}} > 9|<td style="{{#if: {{{ex 10|}}}|background-color: #ffed6f;}}">{{{ex 10|}}}</td>}}<!-- |
− | -->{{#ifexpr: {{{parts|1}}} > 10|<td style="background-color: #a6cee3;">{{{ex 11|}}}</td>}}<!-- | + | -->{{#ifexpr: {{{parts|1}}} > 10|<td style="{{#if: {{{ex 11|}}}|background-color: #a6cee3;}}">{{{ex 11|}}}</td>}}<!-- |
--><td> </td></tr> | --><td> </td></tr> | ||
− | + | {{#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;">}}<!-- | |
− | + | -->{{#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>}}<!-- | |
− | <tr><td style="background-color: #a3dbd2;"> </td>< | + | -->{{#ifexpr: {{{parts|1}}} > 2|<td style="{{#if: {{{ex 2 3|}}}|background-color: #bebada;}}">{{{ex 2 3|}}}</td>}}<!-- |
− | + | -->{{#ifexpr: {{{parts|1}}} > 3|<td style="{{#if: {{{ex 2 4|}}}|background-color: #fdbcb5;}}">{{{ex 2 4|}}}</td>}}<!-- | |
− | + | -->{{#ifexpr: {{{parts|1}}} > 4|<td style="{{#if: {{{ex 2 5|}}}|background-color: #b3d0e5;}}">{{{ex 2 5|}}}</td>}}<!-- | |
− | <tr><td style="background-color: #a3dbd2;"> </td>< | + | -->{{#ifexpr: {{{parts|1}}} > 5|<td style="{{#if: {{{ex 2 6|}}}|background-color: #fdb462;}}">{{{ex 2 6|}}}</td>}}<!-- |
− | + | -->{{#ifexpr: {{{parts|1}}} > 6|<td style="{{#if: {{{ex 2 7|}}}|background-color: #b3de69;}}">{{{ex 2 7|}}}</td>}}<!-- | |
− | <tr><td style="background-color: #a3dbd2;"> </td>< | + | -->{{#ifexpr: {{{parts|1}}} > 7|<td style="{{#if: {{{ex 2 8|}}}|background-color: #fccde5;}}">{{{ex 2 8|}}}</td>}}<!-- |
− | + | -->{{#ifexpr: {{{parts|1}}} > 8|<td style="{{#if: {{{ex 2 9|}}}|background-color: #d9d9d9;}}">{{{ex 2 9|}}}</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>}}<!-- |
+ | -->{{#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> </td></tr>}}{{#ifexpr: {{{parts|1}}} > 10| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;"> </td><!-- | ||
+ | --><td style="background-color: #fdbcb5;"> </td><!-- | ||
+ | --><td style="background-color: #b3d0e5;"> </td><!-- | ||
+ | --><td style="background-color: #fdb462;"> </td><!-- | ||
+ | --><td style="background-color: #b3de69;"> </td><!-- | ||
+ | --><td style="background-color: #fccde5;"> </td><!-- | ||
+ | --><td style="background-color: #d9d9d9;"> </td><!-- | ||
+ | --><td style="background-color: #ffed6f;"> </td><!-- | ||
+ | --><td style="background-color: #a6cee3;"> </td><!-- | ||
+ | --><td style="background-color: #a6cee3;">{{{desc 11|}}}</td></tr>}}{{#ifexpr: {{{parts|1}}} > 9| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;"> </td><!-- | ||
+ | --><td style="background-color: #fdbcb5;"> </td><!-- | ||
+ | --><td style="background-color: #b3d0e5;"> </td><!-- | ||
+ | --><td style="background-color: #fdb462;"> </td><!-- | ||
+ | --><td style="background-color: #b3de69;"> </td><!-- | ||
+ | --><td style="background-color: #fccde5;"> </td><!-- | ||
+ | --><td style="background-color: #d9d9d9;"> </td><!-- | ||
+ | --><td style="background-color: #ffed6f;"> </td><!-- | ||
+ | --><td style="background-color: #ffed6f;" colspan="{{#expr:{{{parts}}} - 9}}">{{{desc 10|}}}</td></tr>}}{{#ifexpr: {{{parts|1}}} > 8| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;"> </td><!-- | ||
+ | --><td style="background-color: #fdbcb5;"> </td><!-- | ||
+ | --><td style="background-color: #b3d0e5;"> </td><!-- | ||
+ | --><td style="background-color: #fdb462;"> </td><!-- | ||
+ | --><td style="background-color: #b3de69;"> </td><!-- | ||
+ | --><td style="background-color: #fccde5;"> </td><!-- | ||
+ | --><td style="background-color: #d9d9d9;"> </td><!-- | ||
+ | --><td style="background-color: #d9d9d9;" colspan="{{#expr:{{{parts}}} - 8}}">{{{desc 9|}}}</td></tr>}}{{#ifexpr: {{{parts|1}}} > 7| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;"> </td><!-- | ||
+ | --><td style="background-color: #fdbcb5;"> </td><!-- | ||
+ | --><td style="background-color: #b3d0e5;"> </td><!-- | ||
+ | --><td style="background-color: #fdb462;"> </td><!-- | ||
+ | --><td style="background-color: #b3de69;"> </td><!-- | ||
+ | --><td style="background-color: #fccde5;"> </td><!-- | ||
+ | --><td style="background-color: #fccde5;" colspan="{{#expr:{{{parts}}} - 7}}">{{{desc 8|}}}</td></tr>}}{{#ifexpr: {{{parts|1}}} > 6| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;"> </td><!-- | ||
+ | --><td style="background-color: #fdbcb5;"> </td><!-- | ||
+ | --><td style="background-color: #b3d0e5;"> </td><!-- | ||
+ | --><td style="background-color: #fdb462;"> </td><!-- | ||
+ | --><td style="background-color: #b3de69;"> </td><!-- | ||
+ | --><td style="background-color: #b3de69;" colspan="{{#expr:{{{parts}}} - 6}}">{{{desc 7|}}}</td></tr>}}{{#ifexpr: {{{parts|1}}} > 5| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;"> </td><!-- | ||
+ | --><td style="background-color: #fdbcb5;"> </td><!-- | ||
+ | --><td style="background-color: #b3d0e5;"> </td><!-- | ||
+ | --><td style="background-color: #fdb462;"> </td><!-- | ||
+ | --><td style="background-color: #fdb462;" colspan="{{#expr:{{{parts}}} - 5}}">{{{desc 6|}}}</td></tr>}}{{#ifexpr: {{{parts|1}}} > 4| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;"> </td><!-- | ||
+ | --><td style="background-color: #fdbcb5;"> </td><!-- | ||
+ | --><td style="background-color: #b3d0e5;"> </td><!-- | ||
+ | --><td style="background-color: #b3d0e5;" colspan="{{#expr:{{{parts}}} - 4}}">{{{desc 5|}}}</td></tr>}}{{#ifexpr: {{{parts|1}}} > 3| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;"> </td><!-- | ||
+ | --><td style="background-color: #fdbcb5;"> </td><!-- | ||
+ | --><td style="background-color: #fdbcb5;" colspan="{{#expr:{{{parts}}} - 3}}">{{{desc 4|}}}</td></tr>}}{{#ifexpr: {{{parts|1}}} > 2| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;"> </td><!-- | ||
+ | --><td style="background-color: #bebada;" colspan="{{#expr:{{{parts}}} - 2}}">{{{desc 3|}}}</td></tr>}}{{#ifexpr: {{{parts|1}}} > 1| | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;"> </td><!-- | ||
+ | --><td style="background-color: #ffffb3;" colspan="{{#expr:{{{parts}}} - 1}}">{{{desc 2|}}}</td></tr>}} | ||
+ | <tr><td style="background-color: #a3dbd2;"> </td><!-- | ||
+ | --><td style="background-color: #a3dbd2;" colspan="{{{parts|1}}}">{{{desc 1|}}}</td></tr> | ||
+ | </table></includeonly><noinclude> | ||
+ | == Code == | ||
+ | <pre> | ||
+ | {{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... = | ||
+ | }} | ||
+ | </pre> | ||
+ | == Example == | ||
+ | {| | ||
+ | | | ||
+ | <pre style="width: 300px;">{{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 | ||
+ | }}</pre> | ||
+ | || {{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 | ||
+ | }} | ||
+ | |} | ||
+ | </noinclude> |
Latest revision as of 18:16, 16 May 2021
Code[edit]
{{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[edit]
{{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 }} |
|