Template:DW/Fileonly
Template page
More actions
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.)
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>