Difference between revisions of "Template:Featured picture"
Jump to navigation
Jump to search
imported>MSGJ (add top icon per suggestion of User:Adam Cuerden) |
imported>Timrollpickering m (→top: per WP:CFDS, replaced: Featured pictures that have not appeared on the main page → Featured pictures that have not appeared on the Main Page) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| 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]] | ||
| text = This is a [[Wikipedia:Featured pictures|featured {{#switch:{{{type}}}|picture=picture|video=video|animation=animation|#default=picture}}]], which means that [[Wikipedia:Featured picture candidates|members of the community]] have {{#if:{{{1|}}}|'''''[[Wikipedia:Featured picture candidates/{{{1}}}|identified]]'''''|{{#ifexist:Wikipedia:Featured picture candidates/{{FULLPAGENAME}}|'''''[[Wikipedia:Featured picture candidates/{{FULLPAGENAME}}|identified]]'''''|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 [[Special:Upload|upload]] it using the proper [[Wikipedia:File copyright tags|free license tag]], [[Wikipedia:Extended image syntax|add]] it to a relevant article, and [[Wikipedia:Featured picture candidates|nominate it]]. | | text = This is a [[Wikipedia:Featured pictures|featured {{#switch:{{{type}}}|picture=picture|video=video|animation=animation|#default=picture}}]], which means that [[Wikipedia:Featured picture candidates|members of the community]] have {{#if:{{{1|}}}|'''''[[Wikipedia:Featured picture candidates/{{{1}}}|identified]]'''''|{{#ifexist:Wikipedia:Featured picture candidates/{{FULLPAGENAME}}|'''''[[Wikipedia:Featured picture candidates/{{FULLPAGENAME}}|identified]]'''''|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 [[Special:Upload|upload]] it using the proper [[Wikipedia:File copyright tags|free license tag]], [[Wikipedia:Extended image syntax|add]] it to a relevant article, and [[Wikipedia:Featured picture candidates|nominate it]]. | ||
| − | }} | + | }}{{file other|[[Category:Featured pictures|{{PAGENAME}}]]<!-- |
| − | + | -->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | |
| − | --> | + | -->{{#ifeq: {{#titleparts:{{{1|foo}}}|1|1}}|Delist|[[Category:Featured pictures promoted through delist]]}}|}}<!-- |
| − | {{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | + | -->{{if in page|%{%{%s*[Pp]icture ?of ?the ?day%s*{{!}}||[[Category:Featured pictures that have not appeared on the Main Page|{{#time:Y-m|{{if in page|%[%[Category:Featured picture nominations/(%P+)|%1||page=Wikipedia:Featured picture candidates/{{{1|{{FULLPAGENAME}}}}}|sub=yes}}}}]]}}<noinclude> |
| − | |||
| − | -->{{#ifeq: {{#titleparts:{{{1|foo}}}|1|1}}|Delist|[[Category:Featured pictures promoted through delist]]}}</ | ||
{{documentation}} | {{documentation}} | ||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:52, 19 August 2019
| 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. |
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 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 |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}}
| 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
| The above documentation is transcluded from Template:Featured picture/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |