Template:Infobox place/people: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#arraymaptemplate:{{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:People]][[With role::true]]|?Has name|mainlabel=-|headers=hide|format=plainlist}}|Infobox place/people/individual|,|}}
<includeonly>{{#arraymaptemplate:{{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:People]][[With role::true]]|?Has name|mainlabel=-|headers=hide|format=plainlist}}|Infobox place/people/person|,|}}
{{#ifexpr:{{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:People]][[With role::false]]|format=count}}>0|<tr><th>People</th><td>{{#arraymap:{{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:People]][[With role::false]]|?Has name|mainlabel=-|headers=hide|format=plainlist}}|,|@@@@|<div>@@@@</div>|}}</td></tr>}}</includeonly>
{{#ifexpr:{{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:People]][[With role::false]]|format=count}}>0|<tr><th>People</th><td>{{#arraymap:{{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:People]][[With role::false]]|?Has name|mainlabel=-|headers=hide|format=plainlist}}|,|@@@@|<div>@@@@</div>|}}</td></tr>}}</includeonly>

Revision as of 18:48, 9 December 2024