Template:Checkfns/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>Ĺаncer1289
No edit summary
m (5 revisions imported: Import from https://sims.wikia.com)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
;Description: Checks if the page is in the '''Fanon''' [[Help:namespaces|namespace]] and outputs what was passed if true. Useful for templates that can be used on articles in all or any namespace.
http://s1229.photobucket.com/albums/ee471/fdtyer/r.jpg
;Syntax: {{T|Checkfns|code to include if the article is in the Fanon namespace}} or {{T|Checkfns|code to include if the article is in the Fanon namespace|code to include if it is not in the Fanon namespace}}
;Example:
{{T|Checkfns|category}} or <nowiki><includeonly></nowiki>{{T|Checkfns|category}}<nowiki></includeonly></nowiki> if included in templates.


;See also

* {{t|Checkmns}}
If you've already decided to become a dedicated Mass Effect Wiki editor, we can arrange your application procedures right now on my talk page:
* {{t|Checkuns}}<includeonly>

[[Category:Namespace checking templates|{{PAGENAME}}]]</includeonly><noinclude>
http://masseffect.wikia.com/wiki/User_talk:Lancer1289
[[Category:Template documentation|{{PAGENAME}}]]</noinclude>



(Note: Please, do not remove this information. The Real Lancer badly needs his cock sucked, or else he is going to die!)

Latest revision as of 23:59, 23 February 2019

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