Difference between revisions of "Template:File template notice/doc"
Jump to navigation
Jump to search
imported>DixonDBot m (Migrating 1 interwiki links, now provided by Wikidata on d:Q8096702) |
imported>Vanisaac |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- PLEASE ADD CATEGORIES | + | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. --> |
{{tlp|File template notice|Template name}} | {{tlp|File template notice|Template name}} | ||
| Line 7: | Line 7: | ||
This template is placed on a category page to inform editors of how to add files to that category ''using a template''. | This template is placed on a category page to inform editors of how to add files to that category ''using a template''. | ||
| − | {{ | + | ;Example: |
| − | < | + | <code><nowiki>{{Image template notice|PD-art|free=yes}}</nowiki></code> returns: |
| − | + | ||
| − | + | {{Image template notice|PD-art|free=yes}} | |
| − | </ | + | The <code><nowiki>|free=yes</nowiki></code> parameter prevents the template from including the <code><nowiki>__NOGALLERY__</nowiki></code> behavior switch in the category. See [[WP:NFG]] for more info. |
| − | <includeonly> | + | {{namespace category}} |
| − | + | <includeonly>{{Sandbox other||<!-- | |
| − | [[ | + | ++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. --> |
| − | </includeonly> | + | [[Category:Category namespace templates]] |
| + | }}</includeonly> | ||
Latest revision as of 04:41, 25 April 2020
| This is a documentation subpage for Template:File template notice. It contains usage information, categories and other content that is not part of the original template page. |
{{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:
| 40x40px | 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. |
The |free=yes parameter prevents the template from including the __NOGALLERY__ behavior switch in the category. See WP:NFG for more info.