Module:namespace/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Module:namespace. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

Allows templates to access information about namespaces from mw.site.namespaces. Namespaces can be accessed by name or id (number). Boolean properties are converted to 1 if true, else the empty string, so that they can be used in {{#if:}}.