Difference between revisions of "Template:File template notice/doc"
Jump to navigation
Jump to search
imported>Frietjes (Removed sitelinks migrated to Wikidata) |
imported>Vanisaac |
||
| (One intermediate revision by one other user not shown) | |||
| Line 6: | Line 6: | ||
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. | ||
{{namespace category}} | {{namespace category}} | ||
| − | <includeonly><!-- | + | <includeonly>{{Sandbox other||<!-- |
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. --> | ||
[[Category:Category namespace templates]] | [[Category:Category namespace templates]] | ||
| − | </includeonly> | + | }}</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:
| 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.