Template:Convertnamespace
[edit] Template documentation
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.
Usage
edit{{convertnamespace|Main Page}} → 0