Difference between revisions of "Template:Featured picture"

From blackwiki
Jump to navigation Jump to search
imported>Train2104
(only categorize files)
imported>Evad37
(restrict top icon to file namespace)
Line 1: Line 1:
{{Top icon | imagename = cscr-featured.svg | wikilink = Wikipedia:Featured pictures | description = This is a featured picture. Click here for more information. | id = featured-star }}<div style="display:none; right:10px;" class="featured-picture metadata topicon" id="featured-star">[[Image:Cscr-featured.svg|14px|This picture has been featured on Wikipedia and is considered one of the best images Wikipedia has to offer. For more information, click here.|link=Wikipedia:Featured pictures]]</div>{{imbox
+
{{file other|1={{Top icon | imagename = cscr-featured.svg | wikilink = Wikipedia:Featured pictures | description = This is a featured picture. Click here for more information. | id = featured-star }}<div style="display:none; right:10px;" class="featured-picture metadata topicon" id="featured-star">[[Image:Cscr-featured.svg|14px|This picture has been featured on Wikipedia and is considered one of the best images Wikipedia has to offer. For more information, click here.|link=Wikipedia:Featured pictures]]</div>}}{{imbox
 
| type = featured
 
| type = featured
 
| image = [[Image:Cscr-featured.svg|50px|Featured picture star]]
 
| image = [[Image:Cscr-featured.svg|50px|Featured picture star]]

Revision as of 02:28, 22 June 2018

Template documentation[view] [edit] [history] [purge]

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