Template:Designer: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


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

Revision as of 09:46, 25 August 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).