Open main menu

This documentation is transcluded from Template:Iffileorcategory/doc.

English: Shorthand to display something only in the Category or File namespaces
Français: Raccourci pour afficher quelque-chose seulement dans l’espace de nom Fichier ou Catégorie


{{Iffileorcategory |1= }}

Short for {{#switch:{{NAMESPACE}}|{{ns:File}}|{{ns:Category}} = ...}}.

Intended usage is for templates that should categorise only when used in File or Category namespaces (such as {{Mérimée}} or {{Joconde}}.

Template parameters

English: The wikitext to display if the test conclusive
Français: Le wikitexte à afficher si le test est concluant

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

See also


This template is not intended to be localized.