Hacktastic but basically working template instantiation output