https://commons.wikimedia.org/wiki/Template:Artwork should be rebuild as LUA module https://commons.wikimedia.org/wiki/Module:Artwork. All current functionality should be kept. For some fielsd a fallback to Wikidata should be implemented. This fallback should be used is the field is not set locally and the "wikidata" field is set to a Q<id>.
Zolo already made a start with this.