Dokuwiki has a system of namespace templates:
https://www.dokuwiki.org/namespace_templates
You can create different namespaces for your different requirements, each with a namespace template, and when you access a new page it will be pre-formatted for that namespace. You might also find useful in this case the wrap plugin.