Template:People: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 13: Line 13:
Note: The table data comes from the ''Persons'' [[special:CargoTables|CargoTable]]. To change the table data, please edit the respective instrument 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.
Note: The table data comes from the ''Persons'' [[special:CargoTables|CargoTable]]. To change the table data, please edit the respective instrument 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>
<small>
===People affiliated with {{{1}}}===
===People affiliated with {{{1}}}===
<small>{{#cargo_query:tables=Persons
{{#cargo_query:tables=Persons
|fields=_pageName=Name,Birth_date,Death_date,Countries,Affiliations
|fields=_pageName=Name,Birth_date,Death_date,Countries,Affiliations
|where=Persons.Affiliations HOLDS "{{{1}}}"
|where=Persons.Affiliations HOLDS "{{{1}}}"
|format=table
|format=table
}}</small></includeonly>
}}</small></includeonly>

Latest revision as of 04:23, 23 August 2023

This is the "People" template.

It inserts a table that lists personsaffiliated with a specified company.

It should be called as

 {{People|Analog Devices}}

leaving no spaces around the company name.

Note: The table data comes from the Persons CargoTable. To change the table data, please edit the respective instrument 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.