Difference between revisions of "Template:Featured picture/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(add category details)
imported>Armbrust
(update documentation)
Line 21: Line 21:
 
* '''1''' - the subpage of [[Wikipedia:Featured picture candidates]] for the image. This parameter is optional.
 
* '''1''' - the subpage of [[Wikipedia:Featured picture candidates]] for the image. This parameter is optional.
 
* '''type''' - the filetype. Can be "picture", "video", or "animation" (the default is "picture").
 
* '''type''' - the filetype. Can be "picture", "video", or "animation" (the default is "picture").
* '''category''' - a custom category to use instead of [[:Category:Featured pictures]]. Categories can be suppressed by using {{para|category|no}} or by specifying this parameter with no text, i.e. <code><nowiki>{{featured picture|category=}}</nowiki></code>.
+
* '''category''' - a custom category to use additionally to [[:Category:Featured pictures]].
  
 
== Categories ==
 
== Categories ==
  
This template adds pages to [[:Category:Featured pictures]] by default. This category can be overridden by using the {{para|category}} parameter as documented above. It also adds pages to [[:Category:Featured pictures promoted through delist]] if the subpage parameter begins with "delist". Both categories can be suppressed by using {{para|category}} or {{para|category=no}}.
+
This template adds pages to [[:Category:Featured pictures]] by default. An additional category can be added by using the {{para|category}} parameter as documented above. It also adds pages to [[:Category:Featured pictures promoted through delist]] if the subpage parameter begins with "delist".
  
 
== Examples ==
 
== Examples ==

Revision as of 08:50, 13 August 2014

This template is transcluded on the file description pages of featured pictures.

Usage

Basic usage

{{featured picture|FPC subpage}}

All parameters

{{featured picture|FPC subpage|type=filetype|category=category}}

Parameters

Categories

This template adds pages to Category:Featured pictures by default. An additional category can be added by using the |category= parameter as documented above. It also adds pages to Category:Featured pictures promoted through delist if the subpage parameter begins with "delist".

Examples

  • {{featured picture}}
  • {{featured picture|Tower of Hanoi}}

See also