Template:Iffileorcategory


Template documentationview · edit · history · purge ]
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

Usage

{{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

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

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

Localization

This template is not intended to be localized.