Template:CRT: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 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 or component, you took a wrong turn – please do not edit this template. ''
: ''Instead, please go back to the calling page and edit that.''
 
{| cellpadding="5"
|-
!This template should be invoked in the following format:
!Example:
|-  valign="top"
|
<pre>
<pre>
{{CRT
{{CRT
Line 12: 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=Components
{{#if:{{NAMESPACE}}||{{#cargo_store:_table=Components
Line 25: Line 51:
|Used_in={{{Used_in|}}}
|Used_in={{{Used_in|}}}
|Designers={{{Designers|}}}
|Designers={{{Designers|}}}
}}}}The '''{{{Manufacturer}}} {{#ifeq: {{{Model}}} | {{{Part_nos}}} | {{{Model}}}''' | {{{Model}}}''' {{#if: {{{Part_nos}}} |  (P/N {{{Part_nos}}}) | }}}} is a {{{Description}}}</includeonly>
}}}}The '''{{{Manufacturer}}} {{{Model}}}''' {{#ifeq: {{{Model}}} | {{{Part_nos}}} |  | {{#if: {{{Part_nos}}} |  (P/N {{{Part_nos}}}) | }}}} is a {{{Description}}}</includeonly>

Latest revision as of 02:53, 23 August 2023

This is the "CRT" template.

If you have come here looking to edit the page for a particular instrument or component, you took a wrong turn – please do not edit this template.
Instead, please go back to the calling 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.