Difference between revisions of "Template:Featured picture"

From blackwiki
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]].
}}<includeonly>[[Category:Featured pictures|{{PAGENAME}}]]<!--
+
}}{{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]]}}</includeonly><noinclude>
 
 
{{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

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