Template:Checkcns/doc

This is an old revision of this page, as edited by sims>K6ka at 21:26, 12 December 2015 (Created page with ";Description: Checks if the page is in the '''Category''' namespace and outputs what was passed if true. ;Syntax: {{T|Checkcns|code to incl..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Description
Checks if the page is in the Category namespace and outputs what was passed if true.
Syntax
{{Checkcns|<code to include if the article is in the Category namespace>}} or {{Checkcns|<code to include if the article is in the Category namespace>|<code to include if it is not in the Category namespace>}}
Example

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

See also