FANDOM


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Checkpns/doc to edit this documentation. (How does this work?)
Description:

Checks if the page is in the Project namespace and outputs what was passed if true. Useful for templates that can be used on articles in all or any namespace.

Syntax:

{{Checkpns|<code to include if the article is in the Project namespace>}} or {{Checkpns|<code to include if the article is in the Project namespace>|<code to include if it is not in the Project namespace>}}

Example:

{{Checkpns|<category>}} or <includeonly>{{Checkpns|<category>}}</includeonly> if included in templates.

See also:
Community content is available under CC-BY-SA unless otherwise noted.