Template:File template notice
To place a file in this category, add the tag {{[[Template:{{{1}}}|{{{1}}}]]}} to the bottom of the file's description page. If you are not sure which category a file belongs to, consult the file copyright tag page. If this category is very large, please consider placing your file in a new or existing subcategory. Free files can be moved to the Wikimedia Commons. |
{{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.
This template is placed on a category page to inform editors of how to add files to that category using a template.
The |free=yes
parameter prevents the template from including the __NOGALLERY__
behavior switch in the category. See WP:NFG for more info.
The code |free=exempt
adds the category to Category:Wikipedia non-free content criteria exemptions. This option should only be used after consensus is obtained at Wikipedia talk:Non-free content.
Examples
{{File template notice|PD-art|free=yes}}
returns:To place a file in this category, add the tag {{PD-art}}
to the bottom of the file's description page. If you are not sure which category a file belongs to, consult the file copyright tag page. If this category is very large, please consider placing your file in a new or existing subcategory. Free files can be moved to the Wikimedia Commons.{{File template notice|Non-free logo|sports logos}}
returns:To place a file in this category, add the tag {{Non-free logo|sports logos}}
to the bottom of the file's description page. If you are not sure which category a file belongs to, consult the file copyright tag page. If this category is very large, please consider placing your file in a new or existing subcategory. Free files can be moved to the Wikimedia Commons.
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 |