Template:Designer: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:
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]]).
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>
</noinclude><includeonly>====Products by {{{1}}}====
====Products by {{{1}}}====
<small>
<small>
{{#cargo_query:tables=Products
{{#cargo_query:tables=Products
|fields=_pageName=Model,Class,Description,Designers,Introduced
|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>
}}</small>


Line 28: Line 29:
|where=Designers HOLDS "{{{1}}}"
|where=Designers HOLDS "{{{1}}}"
|format=table
|format=table
|default=
}}</small></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.