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>")
 
No edit summary
Line 10: Line 10:
|entry =  
|entry =  
}}</nowiki></pre></code>
}}</nowiki></pre></code>
==TemplateData==
<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>

Revision as of 01:10, 20 February 2022

Use this template in Source Editing to include the infobox:

{{InfoboxDevice
|title = 
|image = 
|year = 
|mounts = 
|caps = 
|batteries = 
|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

Unknownoptional
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
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