Help:Parser functions/subjectspace
Jump to navigation
Jump to search
| subjectspace | {{SUBJECTSPACE}} |
|
Each namespace group defines both content and talk pages; This will return the former for the current page, or another if specified. Content spaces themselves behave as they would if {{NAMESPACE}} were used; Mainspace pages, which don't have a prefix, will return empty.
- Example
{{SUBJECTSPACE}}--> Help{{SUBJECTSPACE:Help talk:Parser functions/subjectspace}}--> Help
- Parameters
string unnamed (optional) Full page title to perform on.
- Returns
- string Namespace prefix, if existing, in plain text.
- See also
{{TALKSPACE}}Counterpart to return the talk space instead.