Template:InfoboxDevice: Difference between revisions

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