Template:Infobox place/people/person: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><tr><th>{{#ask:[[Category:people]][[Has name::{{{1}}}]]|?Has role|mainlabel=-|headers=hide|format=plainlist}}</th><td>{{#if:{{#ask:[[Category:people]][[Has name::{{{1}}}]]|?Has link|mainlabel=-|headers=hide|format=plainlist}}|[{{#ask:[[Category:people]][[Has name::{{{1}}}]]|?Has link#|mainlabel=-|headers=hide|format=plainlist}} {{{1}}}]|{{{1}}}}}</td></tr></includeonly> | <includeonly>{{#ifexpr:{{#ask:[[Category:people]][[Has name::{{{1}}}]][[With role::true]]||format=count}}>0|<tr><th>{{#ask:[[Category:people]][[Has name::{{{1}}}]]|?Has role|mainlabel=-|headers=hide|format=plainlist}}</th><td>|<div>}}{{#if:{{#ask:[[Category:people]][[Has name::{{{1}}}]]|?Has link|mainlabel=-|headers=hide|format=plainlist}}|[{{#ask:[[Category:people]][[Has name::{{{1}}}]]|?Has link#|mainlabel=-|headers=hide|format=plainlist}} {{{1}}}]|{{{1}}}}}{{#ifexpr:{{#ask:[[Category:people]][[Has name::{{{1}}}]][[With role::true]]||format=count}}>0|</td></tr>|</div>}} | ||
</includeonly> |