Template:Fileonly

Revision as of 17:39, 22 March 2024 by Habblet (talk | contribs) (Created page with "{{#ifeq:{{NAMESPACE}}|{{ns:6}}|{{{1|}}}}}<noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:Fileonly/doc. [edit] [history] [purge]

The Fileonly template allows a particular piece of text to only be displayed when included in the file/image namespace. Primarily used when adding category links or categories to templates.

Usage

{{Fileonly|text}}

Example not available.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

This template allows a particular piece of text to only be displayed when included in the file/image namespace.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

Text to be displayed only in the File/Image namespace.

Stringrequired

See also