變更
Template can be used to find pages without image but with an image on wikidata
{{#if:{{NAMESPACE}}||
{{#if:{{{1|}}}
| {{#if:{{#property:P18}}
| {{#ifeq:{{filepath:{{{1|}}} }}|{{filepath:{{#property:P18}} }}
| [[Category:Local image same as Wikidata]]
| [[Category:Local image different then Wikidata]]
}}
| {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}}
|
| [[Category:Local image but no image on Wikidata]]
}}
}}
| {{#if:{{#property:P18}}
| {{#if:{{{2|}}}
|
| [[Category:No local image but image on Wikidata]]
}}
| [[Category:No local image and no image on Wikidata]]
}}
}}
}}
{{#if:{{{1|}}}
| {{#if:{{#property:P18}}
| {{#ifeq:{{filepath:{{{1|}}} }}|{{filepath:{{#property:P18}} }}
| [[Category:Local image same as Wikidata]]
| [[Category:Local image different then Wikidata]]
}}
| {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}}
|
| [[Category:Local image but no image on Wikidata]]
}}
}}
| {{#if:{{#property:P18}}
| {{#if:{{{2|}}}
|
| [[Category:No local image but image on Wikidata]]
}}
| [[Category:No local image and no image on Wikidata]]
}}
}}
}}