Template:Compare

{{#if:{{#property:P18}} {{Replace }}   | {{filepath:{{#invoke:WikidataIB |getPreferredValue |P18 |name=image |fetchwikidata=ALL |onlysourced=no |noicon=yes | maxvals=1 }}}} }} }}
 * {{#if:{{{local|}}}
 * {{#ifeq: {{filepath:
 * {{Replace|{{{local|}}}|File:|}}
 * Image:|}}