Template:InfoboxDevice/Doc: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
(Created page with "Use this template in Source Editing to include the infobox: <code><pre><nowiki>{{InfoboxDevice |title = |image = |year = |mounts = |caps = |batteries = |entry = }}</nowiki></pre></code>")
 
m (Add storage)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Use this template in Source Editing to include the infobox:
Use this template in Source Editing to include the infobox:
<pre><nowiki>{{InfoboxDevice
| Title =
| Picture =
| Release Year =
| Leak Risk =
| Mounting Technology =
| Capacitor Types =
| Batteries =
| Destructive Entry =
}}</nowiki></pre>


<code><pre><nowiki>{{InfoboxDevice
==TemplateData==
|title =
<templatedata>
|image =
{
|year =
"params": {
|mounts =
"Title": {
|caps =
"description": "Title for the box",
|batteries =
"type": "string"
|entry =
},
}}</nowiki></pre></code>
"Picture": {
"description": "Picture of device",
"type": "wiki-file-name"
},
"Release Year": {
"description": "Release year of the device",
"type": "string"
},
"Leak Risk": {
"description": "Likely hood that the device may have developed a leaking part that could cause corrosive damage that should be fixed",
"example": "Low, Medium, High",
"type": "string"
},
"Mounting Technology": {
"description": "Different styles of mounts parts on the device use",
"example": "Through Hole, SMD, BGA, Sockets",
"type": "string",
"label": "Component Mounting Technology"
},
"Capacitor Types": {
"description": "Different types of capacitors used on the device",
"example": "Aluminum Electrolytic, Tantalum, Ceramic, Polymer",
"type": "string"
},
"Batteries": {
"description": "Types of batteries in the device",
"example": "Soldered, removable, rechargeable, encapsulated",
"type": "string"
},
"Destructive Entry": {
"description": "Do you have to damage the device to open it?",
"type": "string"
},
"CPU": {
"description": "The main processor of the device",
"type": "string",
"example": "8088 @ 4.77 MHz, 6502, Core i7-7700k"
},
"Memory": {
"description": "Standard amount and/or maximum memory for a device",
"type": "string",
"label": "Memory Capacity",
"example": "64-256kB, 4MB, 2GB"
},
"Graphics": {
"description": "Graphics processor specs or capability for the device",
"type": "string",
"example": "CGA, nVidia GeForce 9800 GT"
},
"Sound": {
"description": "Sound synthesis chip, output, or capabilities",
"type": "string",
"example": "SID, Piezo speaker, FM, OPL3"
},
"Memory Type": {
"description": "The module interface, IC model, or other information about the memory type",
"example": "4164 DIP, DDR2, SoC Integrated",
"type": "string"
},
"Display Interface": {
"description": "Connector and/or signalling standard for connecting a display",
"example": "Composite, VGA, HDMI",
"type": "string"
},
"Input Voltage": {
"description": "Voltage requirement to power device",
"example": "9V DC, 120V AC",
"type": "string"
},
"Current": {
"label": "Current (Amps)",
"description": "The amount of current the device requires or the power supply provides",
"example": "1.5A, 250mA",
"type": "string"
},
"Power Connector": {
"label": "Power Connector / Polarity",
"description": "Connector and polarity of power input",
"example": "Barrel Jack 5.5mm x 2.1mm Center Negative, Mini Din, IEC C13/C14 Socket",
"type": "string"
},
"Power Pinout": {
"description": "Image of power supply connector pinout",
"type": "wiki-file-name"
},
"Storage": {
"description": "Both fixed and removable storage types",
"example": "5.25in Floppy Disk, 3.5in IDE HDD, 400MB SCSI HDD",
"type": "string"
}
},
"description": "Infobox for giving quick useful info for the device",
"paramOrder": [
"Title",
"Picture",
"Release Year",
"Leak Risk",
"Mounting Technology",
"Capacitor Types",
"Batteries",
"Destructive Entry",
"CPU",
"Memory",
"Memory Type",
"Storage",
"Graphics",
"Display Interface",
"Sound",
"Input Voltage",
"Current",
"Power Connector",
"Power Pinout"
]
}
</templatedata>

Latest revision as of 14:24, 20 February 2022

Use this template in Source Editing to include the infobox:

{{InfoboxDevice
| Title = 
| Picture = 
| Release Year = 
| Leak Risk = 
| Mounting Technology = 
| Capacitor Types = 
| Batteries = 
| Destructive Entry = 
}}

TemplateData

Infobox for giving quick useful info for the device

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
TitleTitle

Title for the box

Stringoptional
PicturePicture

Picture of device

Fileoptional
Release YearRelease Year

Release year of the device

Stringoptional
Leak RiskLeak Risk

Likely hood that the device may have developed a leaking part that could cause corrosive damage that should be fixed

Example
Low, Medium, High
Stringoptional
Component Mounting TechnologyMounting Technology

Different styles of mounts parts on the device use

Example
Through Hole, SMD, BGA, Sockets
Stringoptional
Capacitor TypesCapacitor Types

Different types of capacitors used on the device

Example
Aluminum Electrolytic, Tantalum, Ceramic, Polymer
Stringoptional
BatteriesBatteries

Types of batteries in the device

Example
Soldered, removable, rechargeable, encapsulated
Stringoptional
Destructive EntryDestructive Entry

Do you have to damage the device to open it?

Stringoptional
CPUCPU

The main processor of the device

Example
8088 @ 4.77 MHz, 6502, Core i7-7700k
Stringoptional
Memory CapacityMemory

Standard amount and/or maximum memory for a device

Example
64-256kB, 4MB, 2GB
Stringoptional
Memory TypeMemory Type

The module interface, IC model, or other information about the memory type

Example
4164 DIP, DDR2, SoC Integrated
Stringoptional
StorageStorage

Both fixed and removable storage types

Example
5.25in Floppy Disk, 3.5in IDE HDD, 400MB SCSI HDD
Stringoptional
GraphicsGraphics

Graphics processor specs or capability for the device

Example
CGA, nVidia GeForce 9800 GT
Stringoptional
Display InterfaceDisplay Interface

Connector and/or signalling standard for connecting a display

Example
Composite, VGA, HDMI
Stringoptional
SoundSound

Sound synthesis chip, output, or capabilities

Example
SID, Piezo speaker, FM, OPL3
Stringoptional
Input VoltageInput Voltage

Voltage requirement to power device

Example
9V DC, 120V AC
Stringoptional
Current (Amps)Current

The amount of current the device requires or the power supply provides

Example
1.5A, 250mA
Stringoptional
Power Connector / PolarityPower Connector

Connector and polarity of power input

Example
Barrel Jack 5.5mm x 2.1mm Center Negative, Mini Din, IEC C13/C14 Socket
Stringoptional
Power PinoutPower Pinout

Image of power supply connector pinout

Fileoptional