m (1 revision imported) |
m (1 revision imported: New Files) |
Latest revision as of 11:54, 24 March 2024
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.
This module is unused.
This module is neither invoked by a template nor required/loaded by another module. If this is in error, make sure to add
{{Documentation}}
/{{No documentation}}
to the calling template's or parent's module documentation.Function list |
---|
L 29 — fetchValue L 41 — equalsArrayValue L 52 — p.getPageObject L 68 — p.getParamMappings L 72 — getNamespace L 113 — p._main L 131 — p.main L 138 — p.table L 154 — checkValue |
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.