Here's something I'm going to implement in the AxKit wiki. This is mostly for standardization of project pages at work.
If you create a page with a dot in the name, the part after the dot should be used to pull out a template.
e.g. if I create: FooBar.usecase it should start off with a template for use cases.
and if I create: FooBar.project it should start off with a template for projects.
The templates should be the pulled from the page with no prefix, so the .usecase page should be used for use case templates, and the .project page should be used for project page templates.
This way anyone can hack on the templates (they're version controlled within the wiki like everything else) and it becomes much easier to create similar looking pages.
Ooooo! Cool idea!
Who's going to design the.pornspam
template?
-ubu
If these appear at the top of the page, they're stripped off and honored.#title optional title with HTML markup
#abstract optional abstract with HTML markup
#template filename
#markup (wiki|html|pod)
Re:Specifying templates
Matts on 2004-02-17T22:57:03
The downside with this is you still start with a blank page. With dotfile templates you start with a full template file (be it in POD or XML or whatever format you choose for the template) and people who are writing certain types of new files can start by just filling in the blanks.
Hmm, must get to implementing it now:-)