Template:PatentLinks: Difference between revisions

From TekWiki
Jump to navigation Jump to search
(Created page with "<noinclude> This is the '''PatentLinjs''' template. It inserts a table that lists patents where the specified page is listed in the Links column. Call it as <pre> {{PatentLinks|7A42}} </pre> leaving no spaces around the inventor's name. Note: The table data comes from the ''Patents'' 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:CargoTabl...")
 
No edit summary
Line 16: Line 16:
<small>{{#cargo_query:
<small>{{#cargo_query:
tables=Patents
tables=Patents
|fields=_pageName=Page, Office, Number, Title, Inventors__full=Inventors, Company, Filing_date, Grant_date
|fields=_pageName=Page, Office, Number, Title, Inventors__full=Inventors, Filing_date, Grant_date
|where=Links HOLDS '{{{1}}}'
|where=Links HOLDS '{{{1}}}'
|order by=Filing_date ASC
|order by=Filing_date ASC

Revision as of 02:40, 8 June 2024

This is the PatentLinjs template.

It inserts a table that lists patents where the specified page is listed in the Links column.

Call it as

 {{PatentLinks|7A42}}

leaving no spaces around the inventor's name.

Note: The table data comes from the Patents 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.