datastate() function to provide the container used by default templates
Merge pull request #1047 from tzz/feature/datastate

datastate() function to provide the container used by default templates