Template:Infobox place/people: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) 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/ | <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> |