Template talk:FPCresult

From Wikipedia, the free encyclopedia
Latest comment: 28 January 2013 by Redrose64 in topic Adding noinclude
Jump to navigation Jump to search

Template:Tfdend Placed at the end of a Wikipedia:Featured picture candidates/Example page after the vote is closed.

Usage: {{FPCresult|Promoted|Image:FILENAME.JPG}} or {{FPCresult|Not promoted| }}


  • Note: The bot will assume that anything without the leading keyword Image: means that the picture was not promoted. -- AllyUnion (talk) 22:29, 5 Apr 2005 (UTC)

Implementing category

Template:Tlx There has been a suggestion at the Featured picture candidates talk page to implement the following category: Category:Ended featured picture nominations

The category should be for the page of template transclusion, not the template page itself. This is the code that requested to be pasted at the bottom of the template source:

<includeonly>[[Category:Ended featured picture nominations]]<includeonly>

Implementing this would be greatly appreciated. ZooFari 15:49, 18 April 2009 (UTC)Reply

Query - will this interfere with the bot that apparently uses this page? —  Tivedshambo  (t/c) 18:39, 18 April 2009 (UTC)Reply
Can't see how this could cause a problem. — Martin (MSGJ · talk) 19:50, 18 April 2009 (UTC)Reply
Ok, File:Yes check.svg Done —  Tivedshambo  (t/c) 21:17, 18 April 2009 (UTC)Reply

Edit requested

Template:Tlx Can:

'''{{{1}}} {{{2}}}'''<includeonly>[[Category:Ended featured picture nominations]]</includeonly>

Be changed to :

'''{{{1|}}} {{{2|}}}'''<includeonly>[[Category:Ended featured picture nominations]]</includeonly>

Among other things, this will make the usage {{FPCresult|Not promoted}} work, whereas {{FPCresult|Not promoted|}} is currently required. Shoemaker's Holiday Over 184 FCs served 00:31, 9 August 2009 (UTC)Reply

File:Yes check.svg Done Let me know if there are any problems. Plastikspork (talk) 00:09, 10 August 2009 (UTC)Reply

Question: Should the space be there if there is no second argument? Plastikspork (talk) 00:12, 10 August 2009 (UTC)Reply

Category

Template:FPER Please add this template to Template:Cl, by adding:

<noinclude>[[Category:Wikipedia featured content templates]]</noinclude>

DH85868993 (talk) 02:03, 7 August 2012 (UTC)Reply

File:Yes check.svg Done Skier Dude (talk) 04:37, 7 August 2012 (UTC)Reply
Thanks. DH85868993 (talk) 06:07, 7 August 2012 (UTC)Reply

Adding noinclude

Template:Tl Please change the template code to the following, in order to prevent the categories from appearing on the FPC main page.

<templatestyles src="Pre/styles.css"/>

'''{{{1<includeonly>|</includeonly>}}} {{{2<includeonly>|</includeonly>}}}'''<<includeonly>noinclude>[[Category:Ended featured picture nominations]]</noinclude</includeonly>><noinclude>[[Category:Wikipedia featured content templates]]</noinclude>

--125.25.147.169 (talk) 16:19, 28 January 2013 (UTC)Reply

File:Red information icon with gradient background.svg Not done: I think that's overcomplicated. Do nested XHTML tags formed like <<includeonly>noinclude> really work? Could it be coded using templates designed to test the namespace, like Template:Tlx? --Redrose64 (talk) 17:20, 28 January 2013 (UTC)Reply