Extension:NamespacePreload

The NamespacePreload extension lets you define text that should be preloaded on new pages in a certain namespace. This can be useful if you want to enforce some categorization style, or make all pages in a namespace use a certain template.

Usage
To define text that should be preloaded for a namespace first you have to determine the namespace ID. Please refer to the MediaWiki docs on how to do this. Once you obtain your namespace ID simply create a page by the following name:. For example, if you want to define a preload for the main namespace (ID 0), you should save it to this page:.

The contents of a message defined in this way is then parsed before being shown to the user, so all templates will be expanded. Basically, it behaves like a standard preloaded template.