Template:InfoboxDevice: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{year|}}}|<tr>
<table>{{#if:{{{Release Year|}}}|<tr>
     <th>Release Year</th>
     <th>Release Year</th>
     <td>{{{year}}}</td>
     <td>{{{Release Year}}}</td>
</tr>}}{{#if:{{{leaks|}}}|<tr>
</tr>}}{{#if:{{{Leak Risk|}}}|<tr>
     <th>Leak Risk</th>
     <th>Leak Risk</th>
     <td>{{{leaks}}}</td>
     <td>{{{Leak Risk}}}</td>
</tr>}}{{#if:{{{mounts|}}}|<tr>
</tr>}}{{#if:{{{Mounting Technology|}}}|<tr>
     <th>Mounting Technology</th>
     <th>Mounting Technology</th>
     <td>{{{mounts}}}</td>
     <td>{{{Mounting Technology}}}</td>
</tr>}}{{#if:{{{caps|}}}|<tr>
</tr>}}{{#if:{{{Capacitor Types|}}}|<tr>
     <th>Capacitor Types</th>
     <th>Capacitor Types</th>
     <td>{{{caps}}}</td>
     <td>{{{Capacitor Types}}}</td>
</tr>}}{{#if:{{{batteries|}}}|<tr>
</tr>}}{{#if:{{{Batteries|}}}|<tr>
     <th>Batteries</th>
     <th>Batteries</th>
     <td>{{{batteries}}}</td>
     <td>{{{Batteries}}}</td>
</tr>}}{{#if:{{{entry|}}}|<tr>
</tr>}}{{#if:{{{Destructive Entry|}}}|<tr>
     <th>Non-Destructive Entry</th>
     <th>Destructive Entry</th>
     <td>{{{entry}}}</td>
     <td>{{{Destructive Entry}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>
Line 52: Line 52:
"example": "Soldered, removable, rechargeable, encapsulated"
"example": "Soldered, removable, rechargeable, encapsulated"
},
},
"entry": {
"Destructive Entry": {
"description": "Do you have to damage the device to open it?"
"description": "Do you have to damage the device to open it?"
}
}
Line 65: Line 65:
"Capacitor Types",
"Capacitor Types",
"Batteries",
"Batteries",
"entry"
"Destructive Entry"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 00:06, 18 January 2022

InfoboxDevice

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

Unknownoptional
Release YearRelease Year

Release year of the device

Unknownoptional
Leak RiskLeak Risk

Likely hood that the device may have developed a leaking part that should be fixed

Example
Low, Medium, High
Unknownoptional
Mounting TechnologyMounting Technology

Different styles of mounts parts on the device use

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

Different types of capacitors used on the device

Example
Aluminum Electrolytic, Tantalum, Ceramic, Polymer
Unknownoptional
BatteriesBatteries

Types of batteries in the device

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

Do you have to damage the device to open it?

Unknownoptional