Difference between revisions of "Template:Device Infobox/Motherboard"

From Vogons Wiki
Jump to: navigation, search
(Move br element inside conditions)
(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}}}]] }}
  
<!-- Default to 1 if the template parameter is not specified, so that forgetting the parameter will cause the item to show up -->
+
{{#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|1}}} > 0 or
+
  {{{ISA slots/8-bit|0}}} > 0 or
{{{ISA slots/16-bit|1}}} > 0 |
+
  {{{ISA slots/16-bit|0}}} > 0
  {{Device Infobox/Item | ISA slots | <!--
+
| {{Device Infobox/Item | ISA slots | <!--
     -->{{#ifexpr:{{{ISA slots/8-bit|1}}} > 0 | [[Has 8-bit ISA slots::{{{ISA slots/8-bit|Unknown}}}|{{{ISA slots/8-bit|Unknown}}} @ 8-bit]]<br/>}}<!--
+
     -->{{#ifexpr:{{{ISA slots/8-bit|0}}} > 0 | {{{ISA slots/8-bit}}} @ 8-bit<br/>}}<!--
     -->{{#ifexpr:{{{ISA slots/16-bit|1}}} > 0 | [[Has 16-bit ISA slots::{{{ISA slots/16-bit|Unknown}}}|{{{ISA slots/16-bit|Unknown}}} @ 16-bit]]}}
+
     -->{{#ifexpr:{{{ISA slots/16-bit|0}}} > 0 | {{{ISA slots/16-bit}}} @ 16-bit}}
 
   }}
 
   }}
|
 
{{#set:
 
| Has 8-bit ISA slots = 0
 
| Has 16-bit ISA slots = 0
 
| Has total ISA slots = 0
 
}}
 
 
}}
 
}}
  
 
{{#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}}} }} }}
  
<!-- Default to 1 if the template parameter is not specified, so that forgetting the parameter will cause the item to show up -->
+
{{#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|1}}} > 0 or
+
  {{{PCI slots/32-bit/33|0}}} > 0 or
{{{PCI slots/32-bit/66|1}}} > 0 or
+
  {{{PCI slots/32-bit/66|0}}} > 0 or
{{{PCI slots/64-bit/33|1}}} > 0 or
+
  {{{PCI slots/64-bit/33|0}}} > 0 or
{{{PCI slots/64-bit/66|1}}} > 0 or
+
  {{{PCI slots/64-bit/66|0}}} > 0 or
{{{PCI slots/64-bit/133|1}}} > 0 |
+
  {{{PCI slots/64-bit/133|0}}} > 0
  {{Device Infobox/Item | PCI slots | <!--
+
| {{Device Infobox/Item | PCI slots | <!--
     -->{{#ifexpr:{{{PCI slots/32-bit/33|1}}} > 0 | [[Has 32-bit 33MHz PCI slots::{{{PCI slots/32-bit/33|Unknown}}}|{{{PCI slots/32-bit/33|Unknown}}} @ 32-bit 33MHz]]<br/>}}<!--
+
     -->{{#ifexpr:{{{PCI slots/32-bit/33|0}}} > 0 | {{{PCI slots/32-bit/33}}} @ 32-bit 33MHz<br/>}}<!--
     -->{{#ifexpr:{{{PCI slots/32-bit/66|1}}} > 0 | [[Has 32-bit 66MHz PCI slots::{{{PCI slots/32-bit/66|Unknown}}}|{{{PCI slots/32-bit/66|Unknown}}} @ 32-bit 66MHz]]<br/>}}<!--
+
     -->{{#ifexpr:{{{PCI slots/32-bit/66|0}}} > 0 | {{{PCI slots/32-bit/66}}} @ 32-bit 66MHz<br/>}}<!--
     -->{{#ifexpr:{{{PCI slots/64-bit/33|1}}} > 0 | [[Has 64-bit 33MHz PCI slots::{{{PCI slots/64-bit/33|Unknown}}}|{{{PCI slots/64-bit/33|Unknown}}} @ 64-bit 33MHz]]<br/>}}<!--
+
     -->{{#ifexpr:{{{PCI slots/64-bit/33|0}}} > 0 | {{{PCI slots/64-bit/33}}} @ 64-bit 33MHz<br/>}}<!--
     -->{{#ifexpr:{{{PCI slots/64-bit/66|1}}} > 0 | [[Has 64-bit 66MHz PCI slots::{{{PCI slots/64-bit/66|Unknown}}}|{{{PCI slots/64-bit/66|Unknown}}} @ 64-bit 66MHz]]<br/>}}<!--
+
     -->{{#ifexpr:{{{PCI slots/64-bit/66|0}}} > 0 | {{{PCI slots/64-bit/66}}} @ 64-bit 66MHz<br/>}}<!--
     -->{{#ifexpr:{{{PCI slots/64-bit/133|1}}} > 0 | [[Has 64-bit 133MHz PCI slots::{{{PCI slots/64-bit/133|Unknown}}}|{{{PCI slots/64-bit/133|Unknown}}} @ 64-bit 133MHz]]}}<!--
+
     -->{{#ifexpr:{{{PCI slots/64-bit/133|0}}} > 0 | {{{PCI slots/64-bit/133}}} @ 64-bit 133MHz<br/>}}<!--
    -->[[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}}} }}|]]
+
 
   }}
 
   }}
|
 
{{#set:
 
| Has 32-bit 33MHz PCI slots = 0
 
| Has 32-bit 66MHz PCI slots = 0
 
| Has 64-bit 33MHz PCI slots = 0
 
| Has 64-bit 66MHz PCI slots = 0
 
| Has 64-bit 133MHz PCI slots = 0
 
| Has total PCI slots = 0
 
}}
 
 
}}
 
}}
  
 
<!-- 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|1}}} > 0 | [[Has SIPP RAM slots::{{{RAM slots/SIPP|Unknown}}}]] @ [[SIPP RAM|SIPP]]<br/>}}<!--
+
   -->{{#ifexpr:{{{RAM slots/SIPP|0}}} > 0 | [[Has SIPP RAM slots::{{{RAM slots/SIPP}}}]] @ [[SIPP RAM|SIPP]]<br/>}}<!--
   -->{{#ifexpr:{{{RAM slots/30-pin|1}}} > 0 | [[Has 30-pin RAM slots::{{{RAM slots/30-pin|Unknown}}}]] @ [[30-pin RAM|30-pin]]<br/>}}<!--
+
   -->{{#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|1}}} > 0 | [[Has 72-pin RAM slots::{{{RAM slots/72-pin|Unknown}}}]] @ [[72-pin RAM|72-pin]]<br/>}}<!--
+
   -->{{#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|1}}} > 0 | [[Has SDRAM RAM slots::{{{RAM slots/SDRAM|Unknown}}}]] @ [[SDRAM]]<br/>}}<!--
+
   -->{{#ifexpr:{{{RAM slots/SDRAM|0}}} > 0 | [[Has SDRAM RAM slots::{{{RAM slots/SDRAM}}}]] @ [[SDRAM]]<br/>}}<!--
   -->{{#ifexpr:{{{RAM slots/RDRAM|1}}} > 0 | [[Has RDRAM RAM slots::{{{RAM slots/RDRAM|Unknown}}}]] @ [[RDRAM]]<br/>}}<!--
+
   -->{{#ifexpr:{{{RAM slots/RDRAM|0}}} > 0 | [[Has RDRAM RAM slots::{{{RAM slots/RDRAM}}}]] @ [[RDRAM]]<br/>}}<!--
   -->{{#ifexpr:{{{RAM slots/DDR1|1}}} > 0 | [[Has DDR1 RAM slots::{{{RAM slots/DDR1|Unknown}}}]] @ [[DDR1]]<br/>}}<!--
+
   -->{{#ifexpr:{{{RAM slots/DDR1|0}}} > 0 | [[Has DDR1 RAM slots::{{{RAM slots/DDR1}}}]] @ [[DDR1]]<br/>}}<!--
   -->{{#ifexpr:{{{RAM slots/DDR2|1}}} > 0 | [[Has DDR2 RAM slots::{{{RAM slots/DDR2|Unknown}}}]] @ [[DDR2]]<br/>}}<!--
+
   -->{{#ifexpr:{{{RAM slots/DDR2|0}}} > 0 | [[Has DDR2 RAM slots::{{{RAM slots/DDR2}}}]] @ [[DDR2]]<br/>}}<!--
   -->{{#ifexpr:{{{RAM slots/DDR3|1}}} > 0 | [[Has DDR3 RAM slots::{{{RAM slots/DDR3|Unknown}}}]] @ [[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 13:43, 18 March 2016

Device Infobox/Motherboard
There is no image of this device — upload one!
{{#ifexpr: 0 > 0 or 0 > 0 or 0 > 0 or 0 > 0 or 0 > 0 | {{Device Infobox/Item | PCI slots |
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:
  • AT - full-size AT
  • Baby AT - small AT
  • ATX - full-size ATX
  • EATX - extended ATX (servers)
  • microATX - fewer slots than standard ATX
  • Mini ITX
  • PC/104 - embedded PCs
  • XT

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:
  • PLCC68 - 68-pin PLCC, 286
  • PGA132 - 386
  • Socket 3 - 486 and POD
  • Socket 5 - early Pentium
  • Socket 7 - later Pentium MMX / AMD K5 and K6 / Cyrix 6x86
  • Socket 8 - Pentium Pro
  • Slot 1 - early Pentium II/III
  • Slot 2 - Pentium II/III Xeon
  • Socket 370 - later Pentium II/III
  • Slot A - early AMD K7
  • Socket 462 - later AMD K7
  • Socket 423 - early Pentium 4
  • Socket 478 - later Pentium 4

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:
  • None - no ROM chip is present
  • 28-pin JEDEC - standard byte-wide 28-pin ROM/PROM
  • 32-pin JEDEC - standard 32-pin EEPROM/flash chip
  • PLCC32 - 32-pin PLCC flash chip
  • TSOP40 - 40-pin TSOP package, usually flash memory

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").