Template:CRT: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "CRT" template.
'''This is the "CRT" template.'''
It should be called in the following format:
 
: ''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.''
 
{| cellpadding="5"
|-
!This template should be invoked in the following format:
!Example:
|-  valign="top"
|
<pre>
<pre>
{{CRT
{{CRT
|Manufacturer=
|Manufacturer=
|Model=
|Model=
|Part_nos=
|Description=
|Description=
|Used_in=
|Used_in=
Line 11: Line 21:
}}
}}
</pre>
</pre>
|<pre><nowiki>
{{CRT
|Manufacturer=Tektronix
|Model=T7100
|Part_nos=154-0783-00
|Description=[[micro-channel plate CRT]]
|Used_in=7104; R7103
|Designers=Dennis Hall;Aris Silzars;Conrad Odenthal
}}
</nowiki></pre>
|}
<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>designers=</nowiki></code> a semicolon-delimited list of page names.
{{#cargo_attach:
{{#cargo_attach:
_table = Components
_table = Components
}}
}}
Edit the page to see the template text.
 
'''For a list of CRTs, see page [[Cathode-ray tube]]'''.
 
'''See [[Article templates]] for details on other templates available in TekWiki.'''
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:{{NAMESPACE}}||{{#cargo_store:_table=Compponents
{{#if:{{NAMESPACE}}||{{#cargo_store:_table=Components
|Class=CRT
|Class=CRT
|Manufacturer={{{Manufacturer|}}}
|Manufacturer={{{Manufacturer|}}}
|Model={{{Model|}}}
|Model={{{Model|}}}
|Part_nos={{{Part_nos|}}}
|Description={{{Description|}}}
|Description={{{Description|}}}
|Used_in={{{Used_in|}}}
|Used_in={{{Used_in|}}}
|Designers={{{Designers|}}}
|Designers={{{Designers|}}}
}}}}</includeonly>
}}}}The '''{{{Manufacturer}}} {{{Model}}}''' {{#ifeq: {{{Model}}} | {{{Part_nos}}} |  | {{#if: {{{Part_nos}}} |  (P/N {{{Part_nos}}}) | }}}} is a {{{Description}}}</includeonly>

Revision as of 03:37, 25 August 2021

This is the "CRT" 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.
This template should be invoked in the following format: Example:
{{CRT
|Manufacturer=
|Model=
|Part_nos=
|Description=
|Used_in=
|Designers=
}}
{{CRT
|Manufacturer=Tektronix
|Model=T7100
|Part_nos=154-0783-00
|Description=[[micro-channel plate CRT]]
|Used_in=7104; R7103
|Designers=Dennis Hall;Aris Silzars;Conrad Odenthal
}}

manufacturer= should be a page name, part_nos= a comma-delimited list of part numbers like 154-1234-56, 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.

For a list of CRTs, see page Cathode-ray tube.

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