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

From blackwiki
Jump to navigation Jump to search
imported>Hyacinth
(This template is placed on a category page to inform editors of how to add files to that category ''using a template''.)
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 3 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}}
 
{{tlp|File template notice|Template name}}
  
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 AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. -->
[[Category:Category namespace templates|{{PAGENAME}}]]
+
[[Category:Category namespace templates]]
 
+
}}</includeonly>
[[mk:Шаблон:Белешка за шаблони за слики]]
 
[[uk:Шаблон:Image template notice]]
 
[[zh:Template:Image template notice]]
 
</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