Template:Checkmns/doc

From The Sims Wiki, a collaborative database for The Sims series
This is the current revision of this page, as edited by K6ka (talk | contribs) at 23:59, 23 February 2019 (5 revisions imported: Import from https://sims.wikia.com). The present address (URL) is a permanent link to this version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
Checks if the page is in the main namespace and outputs what was passed if true. Useful for templates that can be used on articles in all or any namespace.
Syntax
{{Checkmns|<code to include if the article is in the main namespace>}} or {{Checkmns|<code to include if the article is in the main namespace>|<code to include if it is not in the main namespace>}}
Example

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

See also