Difference between revisions of "Template:File template notice"

From blackwiki
Jump to navigation Jump to search
imported>16@r
({{documentation}})
imported>Mattbr
(Convert to {{cmbox}})
Line 1: Line 1:
{| style="margin: 10px; text-align:left; background: #eeffee; padding: 5px; border: 1px solid #aaaa88"
+
{{cmbox
| 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 <!--
+
| type = notice
 +
| 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 <!--
 
-->{{#if:{{{2|}}}|[[{{{2}}}|appropriate tag page]]|[[Wikipedia:Image copyright tags|image copyright tag page]]}}.  If this category is very large, please consider adding a table of contents ('''{{[[Template:CategoryTOC|CategoryTOC]]}}''') or place your image in a new or existing subcategory.{{#ifeq: {{{free|}}} | yes | | __NOGALLERY__ }}
 
-->{{#if:{{{2|}}}|[[{{{2}}}|appropriate tag page]]|[[Wikipedia:Image copyright tags|image copyright tag page]]}}.  If this category is very large, please consider adding a table of contents ('''{{[[Template:CategoryTOC|CategoryTOC]]}}''') or place your image in a new or existing subcategory.{{#ifeq: {{{free|}}} | yes | | __NOGALLERY__ }}
|}<noinclude>
+
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 15:31, 10 May 2008

Template documentation[view] [edit] [history] [purge]

{{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:

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