Template:Designer: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
(5 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 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>
====Products====


</noinclude><includeonly>====Products by {{{1}}}====
<small>
{{#cargo_query:tables=Products
{{#cargo_query:tables=Products
|fields=_pageName=Model,Class,Description,Designers,Introduced
|fields=_pageName=Model,Class,Description,Designers,Introduced
|where=Designers HOLDS "{{{1}}}"
|where=Designers HOLDS "{{{1}}}"
|order by=Introduced ASC
|format=table
|format=table
}}
}}</small>
 
====Components====


====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
}}
}}</small></includeonly>
</includeonly>

Revision as of 01:54, 15 November 2021

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.