Template:Checkfns/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Woganhemlock m (Reverted edits by Ĺаncer1289 (talk | block) to last version by A morris) |
sims>LostInRiverview mNo edit summary |
||
Line 7: | Line 7: | ||
* {{t|Checkmns}} |
* {{t|Checkmns}} |
||
* {{t|Checkuns}}<includeonly> |
* {{t|Checkuns}}<includeonly> |
||
[[Category: |
[[Category:Namespace checking templates|{{PAGENAME}}]]</includeonly><noinclude> |
||
[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 01:45, 22 December 2015
- Description
- Checks if the page is in the Fanon namespace and outputs what was passed if true. Useful for templates that can be used on articles in all or any namespace.
- Syntax
- {{Checkfns|<code to include if the article is in the Fanon namespace>}} or {{Checkfns|<code to include if the article is in the Fanon namespace>|<code to include if it is not in the Fanon namespace>}}
- Example
{{Checkfns|<category>}} or <includeonly>{{Checkfns|<category>}}</includeonly> if included in templates.
- See also