Module:Namespace detect/doc: Difference between revisions

From RTGame Wiki
RTGame>Alistair3149
m (1 revision imported)
 
m (1 revision imported)
(No difference)

Revision as of 16:52, 2 May 2021

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.