Difference between revisions of "Template:File template notice/doc"

From blackwiki
Jump to navigation Jump to search
imported>16@r
(/doc)
 
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(8 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. -->
 +
{{tlp|File template notice|Template name}}
 +
 
 
The first parameter (template name) is required, while the second (alternate tag page) is not.
 
The first parameter (template name) is required, while the second (alternate tag page) is not.
  
<includeonly><!--
+
This template is placed on a category page to inform editors of how to add files to that category ''using a template''.
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
 
[[Category:Category header templates|{{PAGENAME}}]]
+
;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.
  
[[uk:Шаблон:Image template notice]]
+
{{namespace category}}
[[zh:Template:Image template notice]]
+
<includeonly>{{Sandbox other||<!--
</includeonly>
+
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. -->
 +
[[Category:Category namespace templates]]
 +
}}</includeonly>

Latest revision as of 04:41, 25 April 2020

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