Open main menu

Changes

update documentation
{{Documentation subpage}}
<!-------------------------------------------------------------------
Place categories where indicated at the bottom of this page,
please; interwikis to Wikidata (see [[Wikipedia:Wikidata]]).
-------------------------------------------------------------------->

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

== Usage ==

'''Basic usage'''

&#123;{featured picture|''FPC subpage''}&#125;

'''All parameters'''

&#123;{featured picture|''FPC subpage''|type=''filetype''|category=''category''}&#125;

== 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 additionally to [[:Category:Featured pictures]].

== Categories ==

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

* <code><nowiki>{{featured picture}}</nowiki></code>

{{featured picture|category=}}

* <code><nowiki>{{featured picture|Tower of Hanoi}}</nowiki></code>

{{featured picture|Tower of Hanoi|category=}}

== See also ==
* [[Commons:Template:Featured picture|Wikimedia Commons version]]

<includeonly>
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-------------------------------------------------------------------
Categories below here, interwikis to Wikidata.
-------------------------------------------------------------------->
[[Category:Title templates|{{PAGENAME}}]]
[[Category:Wikipedia featured content templates|{{PAGENAME}}]]

}}
</includeonly>
Anonymous user