murfel claimed this task. murfel added a comment.
I think to implement it in the following way: catch all page which link to a given template, get HTML for each page, look for table with id="template_name" inside of HTML, parse key-values in the table and add them to Wikibase.
Did I get it right?
TASK DETAIL https://phabricator.wikimedia.org/T78416
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: murfel Cc: Aklapper, jayvdb, murfel, pywikipedia-bugs