Template:File template notice
This template is placed on a category page to inform editors of how to add files to that category using a template.
Syntax
{{File template notice|Template name|parameter (optional)}}
The first parameter (template name) is required, while the second (parameter to be passed to the template) is not.
The |free=yes
parameter prevents the template from including the __NOGALLERY__
behavior switch in the category. See WP:NFG for more info.
After obtaining consensus at Wikipedia talk:Non-free content, the code |free=exempt
adds the category to Category:Wikipedia non-free content criteria exemptions.
Examples
{{File template notice|PD-art|free=yes}}
returns:{{File template notice|Non-free logo|sports logos}}
returns:
TemplateData
TemplateData for File template notice
A category header template to indicate that files can be placed in the category by use of a specific template
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template name | 1 | Name of template (without the Template: prefix) used to place images in this category | File | required |
Parameter | 2 | Parameter passed to the template to place the file in this category
| Line | optional |
free | free | If set to "yes", suppress inclusion of the __NOGALLERY__ magic word. See [[WP:NFG]] for more information.
| Line | optional |