Template:Convertnamespace/doc

This template takes a page name as its only parameter, and outputs the namespace ID associated with it, similar to the magic word { { NAMESPACE}}, that outputs the namespace name.