The generic "fetch property values" that I wrote is capable of replacing #property in a more intelligent manner - documented at:
For simple cases though, #property will work - for example if you paste the following into any section of an article and *preview* it, it will return the image from Wikidata:
{{#if: {{#property:p18}} | [[File:{{#property:p18}}|thumb]] |}}
Similarly, in an infobox, just using |image = {{#property:p18}} will work fine.
However, Wikidata can store multiple image filenames, so the question is: how do you want to deal with those cases?
Building a Lua call to return an image or something like Noimage.svg is a trivial job : I've made a demo module at:
Obviously calls can be buried inside templates to hide them from editors - either an infobox or create a template to make the image as a thumb outside of an infobox, etc.
--
Rexx