Module:Namespace detect/doc

From Isuzu Vehicross Wiki
Revision as of 19:14, 3 July 2023 by Knigh7s (talk | contribs) (Created page with "{{Documentation}} {{Wikipedia template}} '''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 {{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.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Namespace detect

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
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 used to indicate a template is imported from English Wikipedia. It should be placed at the top of the template documentation page.

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.