Template:Featured: Difference between revisions
Jump to navigation
Jump to search
Greenpickle (talk | contribs) mNo edit summary |
m (}}) |
||
(22 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{| | {{box|boxclass=hide|''This article {{#if:{{{2|}}}|was a '''[[Pikipedia:Featured article|featured article]]''' from {{{1|}}} to {{{2|}}}|is currently a '''[[Pikipedia:Featured article|featured article]]''', as of {{{1}}}}}.'' | ||
| | |4=text-align: center;|li={{#if:{{{2|}}}|White flower.png|Pink flower.png}}|ri={{#if:{{{2|}}}|White flower.png|Pink flower.png}}|lis=32px | ||
|} | }}<includeonly>[[Category:Featured articles]]</includeonly><noinclude> | ||
== | ==Info== | ||
This template should be placed at the bottom of featured articles, either current features or old ones. | |||
Articles with this template are automatically categorized under [[:Category:Featured articles]]. | |||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Purpose || Detailed description | |||
|- | |||
! 1 | |||
| '''Yes''' || || Start date || The date at which this article started being the featured article. Use {{tem|date}} for this. | |||
|- | |||
! 2 | |||
| No || || End date || Same as above, but the date it stopped. If it is still the featured article, omit this parameter. | |||
|} | |||
==Skeleton== | |||
<pre> | |||
{{featured|<start date>|<end date>}} | |||
</pre> | |||
==Examples== | |||
{| class = "wikitable" | |||
! Code || Result | |||
|- | |||
| <pre>{{featured|{{date|1|February|2023}}}}</pre> | |||
| {{featured|{{date|1|February|2023}}}} | |||
|- | |||
| <pre>{{featured|{{date|1|June|2021}}|{{date|1|August|2021}}}}</pre> | |||
| {{featured|{{date|1|June|2021}}|{{date|1|August|2021}}}} | |||
|} | |||
[[Category:Templates]] | |||
[[Category:Box templates]] | |||
[[Category:Featured articles| ]]</noinclude> |
Latest revision as of 16:58, March 8, 2023
Info
This template should be placed at the bottom of featured articles, either current features or old ones.
Articles with this template are automatically categorized under Category:Featured articles.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | Yes | Start date | The date at which this article started being the featured article. Use {{date}} for this. | |
2 | No | End date | Same as above, but the date it stopped. If it is still the featured article, omit this parameter. |
Skeleton
{{featured|<start date>|<end date>}}
Examples
Code | Result |
---|---|
{{featured|{{date|1|February|2023}}}} |
|
{{featured|{{date|1|June|2021}}|{{date|1|August|2021}}}} |