add a digit template
Add support for setting a parent type

For the component and module