HTML5+RDFa is a machine-readable format. But I think what you are asking
for is either better documentation of the template-related stuff (did you
read through the slides in
https://phabricator.wikimedia.org/T105175 ?) or
HTML template parameter support (
https://phabricator.wikimedia.org/T52587)
which is in the codebase but not enabled by default in production.
--scott