Template:CRTs: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


It inserts a table that lists CRTs used in a specific instrument.
It inserts a table that lists CRTs used in a specific instrument.
:''2023-08 Note:  We are gradually shifting to the generic [[:Template:Parts|Parts template]] on instrument pages.''


Call it as
Call it as
Line 10: Line 11:
leaving no spaces around the instrument name.
leaving no spaces around the instrument name.


Note: The table data comes from the ''Components'' [[special:CargoTables|CargoTable]]. To change the table data, please edit the respective component page (that page needs to use one of the linked templates listed at [[special:CargoTables]]).
Note: The table data comes from the ''Components'' [[special:CargoTables|CargoTable]]. To change the table data, please edit the respective component page (that page needs to use one of the linked templates listed at [[special:CargoTables]]).  To force the table to be updated, it may be necessary to [https://www.mediawiki.org/wiki/Manual:Purge purge the page cache] by appending ''?action=purge'' to the URL of the page that includes this template.
</noinclude><includeonly>
</noinclude><includeonly>
====CRTs used in the {{{1}}}====
====CRTs used in the {{{1}}}====
<small>{{#cargo_query:
<small>{{#cargo_query:
tables=Components
tables=Components
|fields=_pageName=Page,Description=Description,Used_in__full=Used in
|fields=_pageName=Page,Part_nos,Description=Description,Designers,Used_in__full=Used in
|where=Used_in HOLDS '{{{1}}}' and Class = 'CRT'
|where=Used_in HOLDS '{{{1}}}' and Class = 'CRT'
|limit=100
|limit=100

Latest revision as of 02:37, 23 August 2023

CRTs template.

It inserts a table that lists CRTs used in a specific instrument.

2023-08 Note:  We are gradually shifting to the generic Parts template on instrument pages.

Call it as

 {{CRTs|R7912}}

leaving no spaces around the instrument name.

Note: The table data comes from the Components CargoTable. To change the table data, please edit the respective component page (that page needs to use one of the linked templates listed at special:CargoTables). To force the table to be updated, it may be necessary to purge the page cache by appending ?action=purge to the URL of the page that includes this template.