Module:Namespace detect/doc

From RTGame Wiki

This is the documentation page for Module:Namespace detect

Module:Namespace detect requires Module:Arguments.
Module:Namespace detect requires Module:TableTools.
Module:Namespace detect requires Module:Yesno.
Module:Namespace detect loads data from Module:Namespace detect/data.
Module:Namespace detect is required by Module:Pagetype.

Module:Namespace detect allows you to output different text depending on the namespace that a given page is in. It is a Lua implementation of the {{namespace detect}} template, with a few improvements: all namespaces and all namespace aliases are supported, and namespace names are detected automatically for the local wiki.