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

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 1 interwiki links, now provided by Wikidata on d:Q8096702)
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 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 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''.
  
{{namespace category}}
+
;Example:
<includeonly><!--
+
<code><nowiki>{{Image template notice|PD-art|free=yes}}</nowiki></code> returns:
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
 
[[Category:Category namespace templates|{{PAGENAME}}]]
+
{{Image template notice|PD-art|free=yes}}
  
</includeonly>
+
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}}
[[mk:Шаблон:Белешка за шаблони за слики]]
+
<includeonly>{{Sandbox other||<!--
[[uk:Шаблон:Image template notice]]
+
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. -->
</includeonly>
+
[[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