Template:Discrete component: Difference between revisions

From TekWiki
Jump to navigation Jump to search
(Created page with "<noinclude> '''This is the "Discrete component" template.''' : ''If you have come here looking to edit the page for a particular instrument, you took a wrong turn – please...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 26: Line 26:
{{Discrete component
{{Discrete component
|Model=2N5454
|Model=2N5454
|Part_nos=151-1042-00
|Part_nos=151-1042-00,151-1042-01
|Description=dual JFET
|Description=dual JFET
|Used_in=7B80;7B53A;
|Used_in=7B80;7B53A;
Line 33: Line 33:
|}
|}


<code><nowiki>manufacturer=</nowiki></code> should be a page name, <code><nowiki>part_nos=</nowiki></code> a comma-delimited list of part numbers like 154-1234-56, <code><nowiki>used_in=</nowiki></code> a semicolon-delimited list of page names (without link brackets), e.g. "502;556", <code><nowiki>designers=</nowiki></code> a semicolon-delimited list of page names.
<code><nowiki>manufacturer=</nowiki></code> (optional) should be a page name, <code><nowiki>part_nos=</nowiki></code> a comma-delimited list of part numbers like 154-1234-56, <code><nowiki>used_in=</nowiki></code> a semicolon-delimited list of page names (without link brackets), e.g. "502;556", <code><nowiki>designers=</nowiki></code> a semicolon-delimited list of page names.


{{#cargo_attach:
{{#cargo_attach:
Line 49: Line 49:
|Used_in={{{Used_in|}}}
|Used_in={{{Used_in|}}}
|Designers={{{Designers|}}}
|Designers={{{Designers|}}}
}}}}The '''{{{Manufacturer}}} {{{Model}}}''' {{#ifeq: {{{Model}}} | {{{Part_nos}}} |  | {{#if: {{{Part_nos}}} |  (P/N {{{Part_nos}}}) | }}}} is {{#ifeq:{{{an}}} | an | an | a}} {{{Description}}}</includeonly>
}}}}The '''{{#if: {{{Manufacturer|}}} | {{{Manufacturer}}} | }} {{{Model}}}''' {{#ifeq: {{{Model}}} | {{{Part_nos}}} |  | {{#if: {{{Part_nos}}} |  (P/N {{{Part_nos}}}) | }}}} is {{#ifeq:{{{an}}} | an | an | a}} {{{Description}}}</includeonly>

Latest revision as of 00:32, 5 April 2023

This is the "Discrete component" template.

If you have come here looking to edit the page for a particular instrument, you took a wrong turn – please do not edit this template.
Instead, please go back to the instrument's page and edit that.

For monolithic ICs, please use Template:Monolithic IC instead.

This template should be invoked in the following format: Example:
{{Discrete component
|Manufacturer=
|Model=
|Part_nos=
|Description=
|Used_in=
|Designers=
}}
{{Discrete component
|Model=2N5454
|Part_nos=151-1042-00,151-1042-01
|Description=dual JFET
|Used_in=7B80;7B53A;
}}

manufacturer= (optional) should be a page name, part_nos= a comma-delimited list of part numbers like 154-1234-56, used_in= a semicolon-delimited list of page names (without link brackets), e.g. "502;556", designers= a semicolon-delimited list of page names.

This template adds rows to the table "Components", which is declared by the template Component. View table.

See Article templates for details on other templates available in TekWiki.