Template:Featured: Difference between revisions
Jump to navigation
Jump to search
m (Cat.) |
(New documentation style.) |
||
Line 1: | Line 1: | ||
{|style="background-color:#ccffcc;border:2px outset #00bb00;" align="center" | {|style="background-color:#ccffcc;border:2px outset #00bb00;" align="center" | ||
|<center>{{#if:{{{2|}}}|[[File:White flower.png]]|[[File:Pink flower.png]]}}''This article {{#if:{{{2|}}}|was a featured article from {{{1|}}} to {{{2|}}}|is currently a featured article, as of {{{1 | |<center>{{#if:{{{2|}}}|[[File:White flower.png]]|[[File:Pink flower.png]]}}''This article {{#if:{{{2|}}}|was a featured article from {{{1|}}} to {{{2|}}}|is currently a featured article, as of {{{1}}}}}.'' {{#if:{{{2|}}}|[[File:White flower.png]]|[[File:Pink flower.png]]}}</center> | ||
|}<noinclude> | |}<noinclude> | ||
== | ==Info== | ||
This template should be placed at the bottom of featured articles, either current features or old ones. | |||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Name || Detailed description | |||
|- | |||
! 1 | |||
| '''Yes''' || || Start date || The date at which this article started being the featured article. Format: "month name/day/year", e.g.: "January 1<sup>st</sup> 2014". Remember to place the "st", "nd", "rd" or "th" inside <nowiki><sup></sup></nowiki> tags. | |||
|- | |||
! 2 | |||
| No || || End date || Same as above, but the date it stopped. If it is still the featured article, omit this parameter. | |||
|} | |||
==Template== | |||
<pre> | |||
{{featured|<start date>|<end date>}} | |||
</pre> | |||
==Examples== | |||
{| class = "wikitable" | |||
! Code || Result | |||
|- | |||
| <pre>{{featured|February 3<sup>rd</sup> 2014}}</pre> | |||
| {{featured|February 3<sup>rd</sup> 2014}} | |||
|- | |||
| <pre>{{featured|August 15<sup>th</sup> 2014|October 22<sup>nd</sup> 2014}}</pre> | |||
| {{featured|August 15<sup>th</sup> 2014|October 22<sup>nd</sup> 2014}} | |||
|} | |||
[[Category:Templates]] | |||
[[Category:Box templates]] | |||
[[category:Featured articles| ]] | |||
</noinclude> | |||
<includeonly>[[Category:Featured articles]]</includeonly> | <includeonly>[[Category:Featured articles]]</includeonly> |
Revision as of 10:21, October 14, 2014
Info
This template should be placed at the bottom of featured articles, either current features or old ones.
Parameters
Parameter | Mandatory | Default | Name | Detailed description |
---|---|---|---|---|
1 | Yes | Start date | The date at which this article started being the featured article. Format: "month name/day/year", e.g.: "January 1st 2014". Remember to place the "st", "nd", "rd" or "th" inside <sup></sup> tags. | |
2 | No | End date | Same as above, but the date it stopped. If it is still the featured article, omit this parameter. |
Template
{{featured|<start date>|<end date>}}
Examples