Difference between revisions of "Template:File template notice"
Jump to navigation
Jump to search
imported>Ilmari Karonen (allow parameter "free=exempt" for categories in Category:Wikipedia non-free content criteria exemptions) |
imported>Timeshifter (category tree. Move free images to commons.) |
||
| Line 3: | Line 3: | ||
| textstyle = text-align: center; | | textstyle = text-align: center; | ||
| text = To place an image in this [[Wikipedia:Category|category]], add the tag '''{{[[Template:{{{1}}}|{{{1}}}]]}}''' to the bottom of the image's description page. If you are not sure which category an image belongs to, consult the <!-- | | text = To place an image in this [[Wikipedia:Category|category]], add the tag '''{{[[Template:{{{1}}}|{{{1}}}]]}}''' to the bottom of the image's description page. If you are not sure which category an image belongs to, consult the <!-- | ||
| − | -->{{#if:{{{2|}}}|[[{{{2}}}|appropriate tag page]]|[[Wikipedia:Image copyright tags|image copyright tag page]]}}. If this category is very large, please consider adding a | + | -->{{#if:{{{2|}}}|[[{{{2}}}|appropriate tag page]]|[[Wikipedia:Image copyright tags|image copyright tag page]]}}. If this category is very large, please consider adding a category tree '''{{tl|Category tree}}''' or place your image in a new or existing subcategory. Free images can be moved to the [[Wikimedia Commons]]. {{#switch:{{{free|}}} |
|yes= | |yes= | ||
|exempt=[[Category:Wikipedia non-free content criteria exemptions]] | |exempt=[[Category:Wikipedia non-free content criteria exemptions]] | ||
Revision as of 02:51, 24 February 2009
| To place an image in this category, add the tag {{[[Template:{{{1}}}|{{{1}}}]]}} to the bottom of the image's description page. If you are not sure which category an image belongs to, consult the image copyright tag page. If this category is very large, please consider adding a category tree {{Category tree}} or place your image in a new or existing subcategory. Free images can be moved to the Wikimedia Commons. |
{{File template notice|Template name}}
The first parameter (template name) is required, while the second (alternate tag page) is not.
This template is placed on a category page to inform editors of how to add files to that category using a template.
- Example
{{Image template notice|PD-art|free=yes}} returns:
| To place an image in this category, add the tag {{PD-art}} to the bottom of the image's description page. If you are not sure which category an image belongs to, consult the image copyright tag page. If this category is very large, please consider adding a category tree {{Category tree}} or place your image in a new or existing subcategory. Free images can be moved to the Wikimedia Commons. |
The |free=yes parameter prevents the template from including the __NOGALLERY__ behavior switch in the category. See WP:NFG for more info.
Other category-header templates
| The above documentation is transcluded from Template:File template notice/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |