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

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(create)
 
imported>Mr. Stradivarius
(→‎Parameters: give an example of the category parameter syntax)
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]]. This category can be suppressed by specifying this parameter with no text.
+
* '''category''' - a custom category to use instead of [[:Category:Featured pictures]]. This category can be suppressed by specifying this parameter with no text, i.e. <code><nowiki>{{featured picture|category=}}</nowiki></code>.
  
 
== Examples ==
 
== Examples ==

Revision as of 14:51, 23 June 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

  • 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").
  • category - a custom category to use instead of Category:Featured pictures. This category can be suppressed by specifying this parameter with no text, i.e. {{featured picture|category=}}.

Examples

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

See also