Template:Designer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
leaving no spaces around the name. | leaving no spaces around the name. | ||
Note: The table data comes from the ''Products'' and ''Components'' [[special:CargoTables|CargoTables]], respectively. To change the table data, please edit the respective product or 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>====Products by {{{1}}}==== | |||
<small> | |||
{{#cargo_query:tables=Products | {{#cargo_query:tables=Products | ||
|fields=_pageName=Model | |fields=Manufacturer,_pageName=Model,Description,Designers,Introduced | ||
|where=Designers HOLDS "{{{1}}}" | |where=Designers HOLDS "{{{1}}}" | ||
|order by=Introduced ASC | |||
|format=table | |format=table | ||
}} | |default= | ||
}}</small> | |||
====Components by {{{1}}}==== | |||
<small> | |||
{{#cargo_query:tables=Components | {{#cargo_query:tables=Components | ||
|fields=_pageName=Model,Class,Description,Designers,Used_in | |fields=_pageName=Model,Class,Description,Designers,Used_in | ||
|where=Designers HOLDS "{{{1}}}" | |where=Designers HOLDS "{{{1}}}" | ||
|format=table | |format=table | ||
}} | |default= | ||
</includeonly> | }}</small></includeonly> |
Latest revision as of 10:50, 8 July 2024
This is the Designer template.
It inserts tables that list products and components designed by a specific person.
Call it as
{{Designer|John Doe}}
leaving no spaces around the name.
Note: The table data comes from the Products and Components CargoTables, respectively. To change the table data, please edit the respective product or 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.