Template:Page ns

From PZwiki
Notebook.pngTemplate Documentation

This template is used to display the name of the current page's namespace.

Usage

This template shouldn't be used directly.

Parameters

1
If set to true, the template will return "section" regardless of the namespace. Otherwise, it will return the name of the current namespace.

Examples

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch:{{{1|}}}
| section = section
| article = article
| template = template
| category = category
| page = page
| #default = {{Error|translation}}
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

The following templates use this template:

Editors can experiment in this template's sandbox.