Template:InfoboxDevice: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div>{{#if:{{{Picture|}}}|
<div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div>{{#if:{{{Picture|}}}|
<div class="infobox-image">[[File:{{{Picture}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{Picture}}}|300px]]</div>}}
<table>{{#if:{{{Release Year|}}}|<tr>
<table style="width:100%;">{{#if:{{{Release Year|}}}{{{Leak Risk|}}}{{{Batteries|}}}{{{Mounting Technology|}}}{{{Capacitor Types|}}}{{{Destructive Entry|}}}|<tr>
     <th>Release Year</th>
<th colspan=2 class="info-section">Preliminary Information</th>
</tr>}}
{{#if:{{{Release Year|}}}|<tr>
     <th>{{nowrap|Release Year}}</th>
     <td>{{{Release Year}}}</td>
     <td>{{{Release Year}}}</td>
</tr>}}{{#if:{{{Leak Risk|}}}|<tr>
</tr>}}{{#if:{{{Leak Risk|}}}|<tr>
     <th>Leak Risk</th>
     <th>{{nowrap|Leak Risk}}</th>
     <td>{{{Leak Risk}}}</td>
     <td>{{{Leak Risk}}}</td>
</tr>}}{{#if:{{{Batteries|}}}|<tr>
</tr>}}{{#if:{{{Batteries|}}}|<tr>
     <th>Batteries</th>
     <th>[[Batteries]]</th>
     <td>{{{Batteries}}}</td>
     <td>{{{Batteries}}}</td>
</tr>}}{{#if:{{{Mounting Technology|}}}|<tr>
</tr>}}{{#if:{{{Mounting Technology|}}}|<tr>
     <th>[https://caps.wiki/wiki/Part_Footprints Mounting Technology]</th>
     <th>{{nowrap|[[Part Footprints|Mounting Technology]]}}</th>
     <td>{{{Mounting Technology}}}</td>
     <td>{{{Mounting Technology}}}</td>
</tr>}}{{#if:{{{Capacitor Types|}}}|<tr>
</tr>}}{{#if:{{{Capacitor Types|}}}|<tr>
     <th>[[Capacitor Types]]</th>
     <th>{{nowrap|[[Capacitor Types]]}}</th>
     <td>{{{Capacitor Types}}}</td>
     <td>{{{Capacitor Types}}}</td>
</tr>}}{{#if:{{{Destructive Entry|}}}|<tr>
</tr>}}{{#if:{{{Destructive Entry|}}}|<tr>
     <th>Destructive Entry</th>
     <th>{{nowrap|Destructive Entry}}</th>
     <td>{{{Destructive Entry}}}</td>
     <td>{{{Destructive Entry}}}</td>
</tr>}}
</tr>}}{{#if:{{{CPU|}}}{{{Memory|}}}{{{Memory Type|}}}{{{Storage|}}}{{{Graphics|}}}{{{Display Interface|}}}{{{Sound|}}}|<tr>
    <th colspan=2 class="info-section">Hardware Specifications</th>
</tr>{{#if:{{{CPU|}}}|<tr>
    <th>CPU</th>
    <td>{{{CPU}}}</td>
</tr>}}{{#if:{{{Memory|}}}|<tr>
    <th>Memory Capacity</th>
    <td>{{{Memory}}}</td>
</tr>}}{{#if:{{{Memory Type|}}}|<tr>
    <th>Memory Type</th>
    <td>{{{Memory Type}}}</td>
</tr>}}{{#if:{{{Storage|}}}|<tr>
    <th>Storage</th>
    <td>{{{Storage}}}</td>
</tr>}}{{#if:{{{Graphics|}}}|<tr>
    <th>Graphics</th>
    <td>{{{Graphics}}}</td>
</tr>}}{{#if:{{{Display Interface|}}}|<tr>
    <th>Display Interface</th>
    <td>{{{Display Interface}}}</td>
</tr>}}{{#if:{{{Sound|}}}|<tr>
    <th>Sound</th>
    <td>{{{Sound}}}</td>
</tr>}}}}
 
{{#if:{{{Input Voltage|}}}{{{Current|}}}{{{Power Connector|}}}{{{Power Pinout|}}}|<tr>
    <th colspan=2 class="info-section">Power Requirements</th>
</tr>{{#if:{{{Input Voltage|}}}|<tr>
    <th>Input Voltage</th>
    <td>{{{Input Voltage}}}</td>
</tr>}}{{#if:{{{Current|}}}|<tr>
    <th>Current (Amps)</th>
    <td>{{{Current}}}</td>
</tr>}}{{#if:{{{Power Connector|}}}|<tr>
    <th>Power Connector</th>
    <td>{{{Power Connector}}}</td>
</tr>}}{{#if:{{{Power Pinout|}}}|<tr>
    <th colspan=2 class="info-section-sub">Power Pinout</th>
</tr><tr>
    <td colspan=2 class="infobox-image">[[File:{{{Power Pinout}}}|300px]]</td>
</tr>}}}}
 
{{#incat:CRT|<tr>
{{#incat:CRT|<tr>
     <th>CRT Guides</th>
     <th colspan=2  class="info-section">CRT Guides</th>
     <td>
</tr><tr>
* [[CRT]]
     <td colspan=2 style="text-align:center;">[[CRT|General Information]]&nbsp;· [[CRT Repair Cautions|Repair Cautions]]</td>
* [[CRT Repair Cautions]]</td>
</tr>}}
</tr>}}
</table>
</table>
</div>
</div><noinclude>{{/Doc}}</noinclude>
<noinclude>
<templatedata>
{
"params": {
"Title": {
"description": "Title for the box",
"type": "string"
},
"Picture": {
"description": "Picture of device",
"type": "wiki-file-name"
},
"Release Year": {
"description": "Release year of the device"
},
"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"
},
"Mounting Technology": {
"description": "Different styles of mounts parts on the device use",
"example": "Through Hole, SMD, BGA, Sockets"
},
"Capacitor Types": {
"description": "Different types of capacitors used on the device",
"example": "Aluminum Electrolytic, Tantalum, Ceramic, Polymer"
},
"Batteries": {
"description": "Types of batteries in the device",
"example": "Soldered, removable, rechargeable, encapsulated"
},
"Destructive Entry": {
"description": "Do you have to damage the device to open it?"
}
},
"description": "Infobox for giving quick useful info for the device",
"paramOrder": [
"Title",
"Picture",
"Release Year",
"Leak Risk",
"Mounting Technology",
"Capacitor Types",
"Batteries",
"Destructive Entry"
]
}
</templatedata>
</noinclude>

Latest revision as of 17:28, 12 August 2023

InfoboxDevice

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