Template:Iffile

From Wikimedia Commons, the free media repository
Jump to: navigation, search


Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Iffile/doc.

Dialog-warning-orange.svg Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.
  • Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the servers since it fills up the job queue.
  • Keep in mind that templates that are used on file description pages also show up on other wikis.
  • This page has been protected from editing to prevent vandalism. Only administrators can edit it. Get their attention by placing {{edit protected}} at the talk page.
English: Shorthand to display something only in the File namespaces
Français: Raccourci pour afficher quelque-chose seulement dans l’espace de nom Fichier

Usage

{{Iffile |1= }}

Short for {{#ifeq:{{NAMESPACE}}|File|...}}.

Intended usage is for templates that should categorise only when used in File namespace.

Template parameters

Parameter Description Default Status
1
English: The wikitext to display if the test conclusive
Français: Le wikitexte à afficher si le test est concluant
empty required

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.