Template:Iffile

From FlightGear wiki
Revision as of 08:28, 14 June 2014 by Johan G (talk | contribs) (typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


The following template description is not displayed when the template is inserted in an article.

Goal

This template will show a text if a page is in the file namespace.

This template is mainly used for suppression of automatic categorisation, so that a category only is applied to pages in the file namespace.

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

Usage

{{iffile|text}}
text
Optional text to display if the page is in the file namespace.

Related templates

  • {{file other}} – Similar but extended functionality.