Template:Infobox electronic component/doc

From Fox Labs Wiki
Revision as of 04:16, 27 October 2024 by Inari (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} === Code === <syntaxhighlight lang="wikitext" style="overflow:auto"> {{Infobox electronic component | name = | image = | caption = | type = | working_principle = | invented = | fir...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Code

{{Infobox electronic component
| name              =
| image             =
| caption           =
| type              =
| working_principle =
| invented          =
| first_produced    =
| pins              =
| symbol            =
| symbol_caption    =
}}

Details

  • name: Name of the component
  • image: A photograph of the component. It works best at 225px width, for example [[File:RBG-LED.jpg|225px]]
  • caption: A brief caption for the image.
  • type: A general category for the component - similar to the heading in a supplier's catalogue.
  • working_principle: The physical phenomenon upon which the component is based.
  • invented: The name of the inventor of the first practical device, and the date.
  • first_produced: The date of first introduction to the market.
  • pins: List of the standard pin layout. Probably more useful for ICs.
  • symbol: The standard circuit symbol for the device. Major regional variations in symbols may be included.
  • symbol_caption: A brief caption that explains sections of the symbol. Optional.

Example

Light-emitting diode
File:RBG-LED.jpg
Red, green and blue LEDs of the 5mm type
TypePassive, optoelectronic
Working principleTemplate:Px2Electroluminescence
InventedNick Holonyak Jr. (1962)
Pin configuration Anode and Cathode
Electronic symbol
File:LED symbol.svg
{{Infobox electronic component
 | name              = Light-emitting diode
 | image             = RBG-LED.jpg
 | caption           = Red, green and blue LEDs of the 5mm type
 | type              = [[Passive component|Passive]], [[optoelectronic]]
 | working_principle = [[Electroluminescence]]
 | invented          = [[Nick Holonyak Jr.]] (1962)
 | first_produced    =
 | pins              = [[Anode]] and [[Cathode]]
 | symbol            = [[File:LED symbol.svg]]
 | symbol_caption    =
}}

Template:-

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for Infobox electronic component

This template adds an infobox to articles about electrical components.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename component

Name of the component.

Stringrequired
Imageimage photo

A photograph of the component.

Filesuggested
Image sizeimage_size

The size of the image, in pixels.

Numbersuggested
Captioncaption photo_caption

A brief caption for the image.

Contentsuggested
Alt textalt

The alternative text for the image (see [[Wikipedia:Manual of Style/Accessibility/Alternative text for images]]).

Contentsuggested
Typetype

A general category for the component - similar to the heading in a supplier's catalogue.

Example
[[Optoelectronic]]
Stringsuggested
Working principleworking_principle

The physical phenomenon upon which the component is based.

Example
[[Electroluminescence]]
Stringsuggested
Inventor and date of inventioninvented

The name of the inventor of the first practical device, and the date.

Example
[[Nick Holonyak Jr.]] (1962)
Stringsuggested
First produced when?first_produced

The date of first introduction to the market.

Stringoptional
Pinspins

List of the standard pin layout.

Example
[[Anode]] and [[Cathode]]
Stringoptional
Circuit symbolsymbol

The standard circuit symbol for the device. Major regional variations in symbols may be included.

Filesuggested
Circuit symbol captionsymbol_caption

A brief caption that explains sections of the symbol. Optional.

Contentoptional