Template:Checkccns/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(←Created page with " ==Description== Checks if the page is in the '''Custom content''' namespace and outputs what was passed if true. ==Syntax== {{Tlx|Checkcns...") |
mNo edit summary |
||
Line 4: | Line 4: | ||
==Syntax== |
==Syntax== |
||
{{Tlx| |
{{Tlx|Checkccns|code to include if the article is in the Custom content namespace}} or {{Tlx|Checkccns|code to include if the article is in the Custom content namespace|code to include if it is not in the Custom content namespace}} |
||
==Examples== |
==Examples== |
Latest revision as of 17:25, 6 May 2019
Description[edit source]
Checks if the page is in the Custom content namespace and outputs what was passed if true.
Syntax[edit source]
{{Checkccns|code to include if the article is in the Custom content namespace}}
or {{Checkccns|code to include if the article is in the Custom content namespace|code to include if it is not in the Custom content namespace}}
Examples[edit source]
{{Checkccns|category}}
or <includeonly>{{Checkccns|category}}</includeonly>
if included in templates.