Template:Parts: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
<small>{{#cargo_query:
<small>{{#cargo_query:
tables=Components
tables=Components
|fields=_pageName=Page,Part_nos=Part Number(s),Class=Class,Description=Description,Used_in__full=Used in
|fields=_pageName=Part,Part_nos=Part Number(s),Class=Class,Description=Description,Used_in__full=Used in
|where=Used_in HOLDS '{{{1}}}'
|where=Used_in HOLDS '{{{1}}}'
|limit=100
|limit=100
|offset=0
|offset=0
|default=
}}</small> __NOEDITSECTION__
}}</small> __NOEDITSECTION__
</includeonly>
</includeonly>

Latest revision as of 08:41, 19 November 2023

This is the Parts template.

It inserts a table that lists components used in a specific instrument. (To list only custom ICs or CRTs, see the Custom ICs and CRTs templates, respectively.)

Call it as

 {{Parts|575}}

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.