Template talk:Article for improvement banner/Picture box

Automation
The code here looks rather complex, so seeking your help as you seem to be the main author. It'd be nice to automate this, just having it select the first image on the page if one exists. Excerpt seems capable of it or something similar when files is set. &#123;{u&#124; Sdkb  }&#125;  talk 07:00, 24 November 2020 (UTC)
 * I rather like the system the way it presently is, where a custom image and caption is used. I have been managing this for some time on the Articles for improvement/Schedule page. Sometimes, captions in articles are not accurate or provide little information, and sometimes the first image used is not necessarily the best image relative to an article's topical focus. Personally, I would rather not automate this, and keep it manual. North America1000 18:23, 28 November 2020 (UTC)