Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 18:29, 30 March 2025 by imported>Mudscape (Source: https://oldschool.runescape.wiki/w/Template:Fileonly)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template loop detected: Template:DW/Fileonly/doc
The above text is transcluded from Template:DW/Fileonly/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:DW/Fileonly/doc. (View all subpages of this page.)

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

<templatedata> { "params": { "1": { "label": "Text", "description": "Text to be displayed only in the File/Image namespace.", "type": "string", "required": true } }, "format": "inline", "description": "This template allows a particular piece of text to only be displayed when included in the file/image namespace." } </templatedata>

See also