Anonymous user
Template:Checkmns/doc: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
sims>A morris No edit summary |
sims>A morris mNo edit summary |
||
Line 1:
;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: {{T|Checkmns|code to include if the article is in the main namespace}} or {{T|Checkmns|code to include if the article is in the main namespace|code to include if it is not in the main namespace}}
;Example:
{{T|Checkmns|category}} or <nowiki><includeonly></nowiki>{{T|Checkmns|category}}<nowiki></includeonly></nowiki> if included in templates.
;See also
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>▼
* {{t|Checkfns}} for Fanon namespace.
▲* {{t|Checkuns}} for User namespace. <includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
|