Want to contribute? Join the Discord and ask for the editor role.
Module:Namespace detect/doc: Difference between revisions
From RTGame Wiki
m (1 revision imported) |
No edit summary Tag: 2017 source edit |
||
Line 2: | Line 2: | ||
{{Wikipedia template}} | {{Wikipedia template}} | ||
'''Module:Namespace detect''' allows you to output different text depending on the [[ | '''Module:Namespace detect''' allows you to output different text depending on the [[RT:NS|namespace]] that a given page is in. It is a [[RT:Lua|Lua]] implementation of the {{tl|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. |
Latest revision as of 14:31, 7 May 2021
This is a documentation subpage for Module:Namespace detect.It contains usage information, categories, and other content that is not part of the original module page.
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.
This template is imported from Module:Namespace detect/doc on Wikipedia.
This template is imported from the English Wikipedia. Although the visual appearance might be different, the functionality is identical. Please refer to the Module:Namespace detect/doc page on Wikipedia for detailed documentation.
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.