Help:Parser functions/namespacenumber
Jump to navigation
Jump to search
| namespacenumber | {{NAMESPACENUMBER}} |
|
Get the namespace index number of the current page, or another if specified.
- Example
{{NAMESPACENUMBER}}--> 12{{NAMESPACENUMBER:Main Page}}--> 0
- Parameters
string unnamed (optional) Full page title to perform on.
- Returns
- int Namespace index number in plain text.
- See also
{{NAMESPACE}}Functionally similar, but returns the name (prefix) instead.