Template:Ns2idx
From XionKB
This template takes a string parameter {{{1}}}
that contains the human-readable form of a built-in namespace, and provides the built-in namespace ID number as its content. It handles all valid forms of capitalisation and space-underscore variance, as well as talk page namespaces.