Difference between revisions of "Template:Featured picture/doc"
Jump to navigation
Jump to search
imported>Mr. Stradivarius (→Parameters: give an example of the category parameter syntax) |
imported>Mr. Stradivarius (add category details) |
||
| 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]]. | + | * '''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>. |
| + | |||
| + | == 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}}. | ||
== Examples == | == Examples == | ||
Revision as of 14:59, 24 June 2014
| This is a documentation subpage for Template:Featured picture. It contains usage information, categories and other content that is not part of the original template page. |
This template is transcluded on the file description pages of featured pictures.
Contents
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. Categories can be suppressed by using
|category=noor by specifying this parameter with no text, i.e.{{featured picture|category=}}.
Categories
This template adds pages to Category:Featured pictures by default. This category can be overridden 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". Both categories can be suppressed by using |category= or |.
Examples
{{featured picture}}
| This is a featured picture, which means that members of the community have identified it as one of the finest images on the English Wikipedia, adding significantly to its accompanying article. If you have a different image of similar quality, be sure to upload it using the proper free license tag, add it to a relevant article, and nominate it. |
{{featured picture|Tower of Hanoi}}
| This is a featured picture, which means that members of the community have identified it as one of the finest images on the English Wikipedia, adding significantly to its accompanying article. If you have a different image of similar quality, be sure to upload it using the proper free license tag, add it to a relevant article, and nominate it. |
See also