Template talk:FPCresult

Latest comment: 11 years ago by Redrose64 in topic Adding noinclude

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

edit

{{editprotected}} 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,   Done —  Tivedshambo  (t/c) 21:17, 18 April 2009 (UTC)Reply

Edit requested

edit

{{editprotected}} 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

  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

edit

Please add this template to Category:Wikipedia featured content templates, by adding:

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

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

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

Adding noinclude

edit

{{editprotected}} Please change the template code to the following, in order to prevent the categories from appearing on the FPC main page.

'''{{{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

  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 {{main other}}? --Redrose64 (talk) 17:20, 28 January 2013 (UTC)Reply