Seems like the template type is part of the work flow; image 8 and image 9. This must be stored at Wikidata as abstract types, as there are a lot of different ways to implement references. Local code must also be prepared to handle typeless references, as it will probably be a lot of references that lacks type for a long time.
I'm attempting to make code for figuring out which template is a likely match in w:no:Modul:Property map, but it isn't completed yet.
Note that some references has an implicit type by lack of specific information, even slight differences in some information, or even that the information could be lacking completely. A well-known example is newspapers that publish short versions of the articles on the net, and complete articles on paper. When users find the story in the paper they try to look the articles up on the web, and link to them, without realizing the web-version is shorter, and that specific information (the reason for using the article as reference) is missing.
Note also that a lot of references at Wikidata does not have required pieces of information, like “title”. We could run a citoid-bot to fill in titles, and perhaps some other fields, but until that is done (not sure if that will ever be finished) a fallback for cite templates are necessary. This can be implemented quite easily in Lua, but it must be done.