Template:Wikidata image: Difference between revisions

From IndicWiki Sandbox
m 1 revision imported
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#if:{{NAMESPACE}}||
{{#if:{{#if:{{{qid|}}}||{{NAMESPACE}}}}{{{1|}}}{{{2|}}}||{{#if:{{#property:P18|from={{{qid|}}}}}|[[Category:{{if empty|{{{cat|}}}|No local image but image on Wikidata}}]]}}}}<noinclude>
  {{#if:{{{1|}}}  
  | {{#if:{{#property:P18}}
    | {{#ifeq:{{filepath:{{{1|}}} }}|{{filepath:{{#property:P18}} }}
      |  
      |
      }}
    | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}}
      |
      |
      }}
    }}
  | {{#if:{{#property:P18}}
    | {{#if:{{{2|}}}  
      |
      | [[Category:No local image but image on Wikidata]]  
    }}
    |
    }}
  }}
}}<noinclude>
{{doc}}
{{doc}}
</noinclude>
</noinclude>

Latest revision as of 12:27, 27 February 2026