The template check works on fake metadata, not real books. This means that the contents of #awards is a single word, "#awards". Your template fails in this case because it expects any value to be a triplet. Change the template to handle "malformed" awards, ones that don't have the "correct" number of periods, by checking the length of components after the split().
|