Difference between revisions of "Template:Device Infobox/Motherboard"
Malvineous (Talk | contribs) (Move br element inside conditions) |
Malvineous (Talk | contribs) (Make ISA/PCI/RAM slots optional, otherwise a new slot type will cause all existing articles to have to be updated) |
||
Line 9: | Line 9: | ||
{{Device Infobox/Item | CPU socket | [[Has CPU socket::{{{CPU socket|Unknown}}}]] }} | {{Device Infobox/Item | CPU socket | [[Has CPU socket::{{{CPU socket|Unknown}}}]] }} | ||
− | + | {{#set: | |
+ | | Has 8-bit ISA slots = {{{ISA slots/8-bit|0}}} | ||
+ | | Has 16-bit ISA slots = {{{ISA slots/16-bit|0}}} | ||
+ | | Has total ISA slots = {{#expr: {{{ISA slots/8-bit|0}}} + {{{ISA slots/16-bit|0}}} }} | ||
+ | }} | ||
{{#ifexpr: | {{#ifexpr: | ||
− | {{{ISA slots/8-bit| | + | {{{ISA slots/8-bit|0}}} > 0 or |
− | {{{ISA slots/16-bit| | + | {{{ISA slots/16-bit|0}}} > 0 |
− | + | | {{Device Infobox/Item | ISA slots | <!-- | |
− | -->{{#ifexpr:{{{ISA slots/8-bit| | + | -->{{#ifexpr:{{{ISA slots/8-bit|0}}} > 0 | {{{ISA slots/8-bit}}} @ 8-bit<br/>}}<!-- |
− | -->{{#ifexpr:{{{ISA slots/16-bit| | + | -->{{#ifexpr:{{{ISA slots/16-bit|0}}} > 0 | {{{ISA slots/16-bit}}} @ 16-bit}} |
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
{{#set: Has total ISA slots = {{#expr: {{{ISA slots/8-bit|0}}} + {{{ISA slots/16-bit|0}}} }} }} | {{#set: Has total ISA slots = {{#expr: {{{ISA slots/8-bit|0}}} + {{{ISA slots/16-bit|0}}} }} }} | ||
− | + | {{#set: | |
+ | | Has 32-bit 33MHz PCI slots = {{{PCI slots/32-bit/33|0}}} | ||
+ | | Has 32-bit 66MHz PCI slots = {{{PCI slots/32-bit/66|0}}} | ||
+ | | Has 64-bit 33MHz PCI slots = {{{PCI slots/64-bit/33|0}}} | ||
+ | | Has 64-bit 66MHz PCI slots = {{{PCI slots/64-bit/66|0}}} | ||
+ | | Has 64-bit 133MHz PCI slots = {{{PCI slots/64-bit/133|0}}} | ||
+ | | Has total PCI slots = {{#expr: {{{PCI slots/32-bit/33|0}}} + {{{PCI slots/32-bit/66|0}}} + {{{PCI slots/64-bit/33|0}}} + {{{PCI slots/64-bit/66|0}}} + {{{PCI slots/64-bit/133|0}}} }} | ||
+ | }} | ||
{{#ifexpr: | {{#ifexpr: | ||
− | {{{PCI slots/32-bit/33| | + | {{{PCI slots/32-bit/33|0}}} > 0 or |
− | {{{PCI slots/32-bit/66| | + | {{{PCI slots/32-bit/66|0}}} > 0 or |
− | {{{PCI slots/64-bit/33| | + | {{{PCI slots/64-bit/33|0}}} > 0 or |
− | {{{PCI slots/64-bit/66| | + | {{{PCI slots/64-bit/66|0}}} > 0 or |
− | {{{PCI slots/64-bit/133| | + | {{{PCI slots/64-bit/133|0}}} > 0 |
− | + | | {{Device Infobox/Item | PCI slots | <!-- | |
− | -->{{#ifexpr:{{{PCI slots/32-bit/33| | + | -->{{#ifexpr:{{{PCI slots/32-bit/33|0}}} > 0 | {{{PCI slots/32-bit/33}}} @ 32-bit 33MHz<br/>}}<!-- |
− | -->{{#ifexpr:{{{PCI slots/32-bit/66| | + | -->{{#ifexpr:{{{PCI slots/32-bit/66|0}}} > 0 | {{{PCI slots/32-bit/66}}} @ 32-bit 66MHz<br/>}}<!-- |
− | -->{{#ifexpr:{{{PCI slots/64-bit/33| | + | -->{{#ifexpr:{{{PCI slots/64-bit/33|0}}} > 0 | {{{PCI slots/64-bit/33}}} @ 64-bit 33MHz<br/>}}<!-- |
− | -->{{#ifexpr:{{{PCI slots/64-bit/66| | + | -->{{#ifexpr:{{{PCI slots/64-bit/66|0}}} > 0 | {{{PCI slots/64-bit/66}}} @ 64-bit 66MHz<br/>}}<!-- |
− | -->{{#ifexpr:{{{PCI slots/64-bit/133| | + | -->{{#ifexpr:{{{PCI slots/64-bit/133|0}}} > 0 | {{{PCI slots/64-bit/133}}} @ 64-bit 133MHz<br/>}}<!-- |
− | + | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
<!-- Default to 1 if the template parameter is not specified, so that forgetting the parameter will cause the item to show up --> | <!-- Default to 1 if the template parameter is not specified, so that forgetting the parameter will cause the item to show up --> | ||
{{Device Infobox/Item | RAM slots | <!-- | {{Device Infobox/Item | RAM slots | <!-- | ||
− | -->{{#ifexpr:{{{RAM slots/SIPP| | + | -->{{#ifexpr:{{{RAM slots/SIPP|0}}} > 0 | [[Has SIPP RAM slots::{{{RAM slots/SIPP}}}]] @ [[SIPP RAM|SIPP]]<br/>}}<!-- |
− | -->{{#ifexpr:{{{RAM slots/30-pin| | + | -->{{#ifexpr:{{{RAM slots/30-pin|0}}} > 0 | [[Has 30-pin RAM slots::{{{RAM slots/30-pin}}}]] @ [[30-pin RAM|30-pin]]<br/>}}<!-- |
− | -->{{#ifexpr:{{{RAM slots/72-pin| | + | -->{{#ifexpr:{{{RAM slots/72-pin|0}}} > 0 | [[Has 72-pin RAM slots::{{{RAM slots/72-pin}}}]] @ [[72-pin RAM|72-pin]]<br/>}}<!-- |
− | -->{{#ifexpr:{{{RAM slots/SDRAM| | + | -->{{#ifexpr:{{{RAM slots/SDRAM|0}}} > 0 | [[Has SDRAM RAM slots::{{{RAM slots/SDRAM}}}]] @ [[SDRAM]]<br/>}}<!-- |
− | -->{{#ifexpr:{{{RAM slots/RDRAM| | + | -->{{#ifexpr:{{{RAM slots/RDRAM|0}}} > 0 | [[Has RDRAM RAM slots::{{{RAM slots/RDRAM}}}]] @ [[RDRAM]]<br/>}}<!-- |
− | -->{{#ifexpr:{{{RAM slots/DDR1| | + | -->{{#ifexpr:{{{RAM slots/DDR1|0}}} > 0 | [[Has DDR1 RAM slots::{{{RAM slots/DDR1}}}]] @ [[DDR1]]<br/>}}<!-- |
− | -->{{#ifexpr:{{{RAM slots/DDR2| | + | -->{{#ifexpr:{{{RAM slots/DDR2|0}}} > 0 | [[Has DDR2 RAM slots::{{{RAM slots/DDR2}}}]] @ [[DDR2]]<br/>}}<!-- |
− | -->{{#ifexpr:{{{RAM slots/DDR3| | + | -->{{#ifexpr:{{{RAM slots/DDR3|0}}} > 0 | [[Has DDR3 RAM slots::{{{RAM slots/DDR3}}}]] @ [[DDR3]]}} |
}} | }} | ||
{{Device Infobox/Item | Maximum RAM | [[Has maximum RAM::{{{Max RAM|Unknown}}}]]}} | {{Device Infobox/Item | Maximum RAM | [[Has maximum RAM::{{{Max RAM|Unknown}}}]]}} |
Revision as of 14:43, 18 March 2016
Bus type | Unknown |
---|---|
Bus width | Unknown |
Bus speed | Unknown |
8-bit ISA compatible? | Unknown |
PCI 5V tolerant? | Unknown |
PCI 3.3V tolerant? | |
Manufacturer | Unknown |
Chipset | Unknown |
Connectors | Unknown |
Requires -5VDC? | Unknown |
Requires -12VDC? | Unknown |
Config method | Unknown |
Motherboard | |
Form factor | Unknown |
CPU socket | Unknown |
RAM slots | |
Maximum RAM | Unknown |
Boot ROM | Unknown type, write ability unknown |
Driver | Missing download URL |
This template is used to populate the Device Infobox with information about a motherboard. See PC Chips M-209 for example use. As this template sits inside an infobox, it can be combined with other templates in the case of multi-function devices.
Valid parameters and examples specific to this infobox are:
Parameter | Meaning |
---|---|
Form factor = Value | Page name for the size and shape of the motherboard. One of:
Add others to this list as needed. See Wikipedia:Computer form factor for details |
CPU socket = Value | Page name for the type of CPU socket. One of:
Add others to this list as needed - try to be as generic as possible, avoiding part names and using interface names instead. |
ISA slots/8-bit = 0 | Number of 8-bit ISA slots. Set to 0 or omit entirely if there are none. |
ISA slots/16-bit = 0 | Number of 16-bit ISA slots. Set to 0 or omit entirely if there are none. |
PCI slots/32-bit/33 = 0 | Number of 32-bit 33MHz PCI slots. Set to 0 or omit entirely if there are none. |
PCI slots/32-bit/66 = 0 | Number of 32-bit 66MHz PCI slots. Set to 0 or omit entirely if there are none. |
PCI slots/64-bit/33 = 0 | Number of 64-bit 33MHz PCI slots. Set to 0 or omit entirely if there are none. |
PCI slots/64-bit/66 = 0 | Number of 64-bit 66MHz PCI slots. Set to 0 or omit entirely if there are none. |
PCI slots/64-bit/133 = 0 | Number of 64-bit 133MHz PCI slots. Set to 0 or omit entirely if there are none. |
RAM slots/SIPP = 0 | Property:Has SIPP RAM slots |
RAM slots/30-pin = 0 | Property:Has 30-pin RAM slots |
RAM slots/72-pin = 0 | Property:Has 72-pin RAM slots |
RAM slots/SDRAM = 0 | Number of SDRAM memory slots. Set to 0 or omit entirely if there are none. |
RAM slots/RDRAM = 0 | Number of RDRAM memory slots. Set to 0 or omit entirely if there are none. |
RAM slots/DDR1 = 0 | Number of DDR1 memory slots. Set to 0 or omit entirely if there are none. |
RAM slots/DDR2 = 0 | Number of DDR2 memory slots. Set to 0 or omit entirely if there are none. |
RAM slots/DDR3 = 0 | Number of DDR3 memory slots. Set to 0 or omit entirely if there are none. |
Is ROM socketed = Value | Boolean value indicating whether there is a ROM socket or not. Yes if there is a socket for a boot ROM, or No if there is no boot ROM socket, or the boot ROM chip is soldered onto the PCB (typical for flash ROM chips). |
ROM type = Value | Text value for the type of ROM/EEPROM/Flash chip. One of:
Add others to this list as needed - try to be as generic as possible, avoiding part names and using interface names instead. |
Is ROM writable = Value | Boolean value indicating whether the ROM can be reflashed by the target system. Yes if the card can program the ROM itself, or No if the card has no ROM programming capability. |
Default values are shown if the parameter is omitted, so do not use any parameters unless the value is known (most of the defaults say "unknown").