Template:Parts: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
It inserts a table that lists components used in a specific instrument. | It inserts a table that lists components used in a specific instrument. | ||
(To list only custom ICs, see the [[:Template:Custom ICs|Custom ICs]] | (To list only custom ICs or CRTs, see the [[:Template:Custom ICs|Custom ICs]] and [[:Template:CRTs|CRTs]] templates, respectively.) | ||
Call it as | Call it as | ||
Line 12: | Line 12: | ||
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> | ||
====Some Parts | ====Some Parts Used in the {{{1}}}==== | ||
<small>{{#cargo_query: | <small>{{#cargo_query: | ||
tables=Components | tables=Components | ||
|fields=_pageName= | |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=:''(no results)'' | |||
}}</small> __NOEDITSECTION__ | }}</small> __NOEDITSECTION__ | ||
</includeonly> |
Latest revision as of 14:31, 21 June 2024
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.