Template:Compare image with Wikidata/doc
This is a documentation subpage for Template:Compare image with Wikidata. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template:Compare image with Wikidata may be added to an infobox template which displays an image. In any article using the infobox with an image, it adds either Category:Articles having same image on Wikidata and Wikipedia or Category:Articles having different image on Wikidata and Wikipedia. In any article using the infobox without an image, it adds Category:No local image but image on Wikidata (also used by Template:Wikidata image).
Usage
changeAdd the following to a template (if necessary, change "image" to whatever parameter name that template uses to display an image):
{{compare|local={{{image|}}}}}
Tracking categories
change- Category:Articles having same image on Wikidata and Wikipedia (57)
- Category:Articles having different image on Wikidata and Wikipedia (64)
- Category:No local image but image on Wikidata (965)
See also
change- {{Wikidata image}}