Template:Featured: Difference between revisions

m
}}
(New documentation style.)
m (}})
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|style="background-color:#ccffcc;border:2px outset #00bb00;" align="center"
{{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}}}}}.''
|<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>
|4=text-align: center;|li={{#if:{{{2|}}}|White flower.png|Pink flower.png}}|ri={{#if:{{{2|}}}|White flower.png|Pink flower.png}}|lis=32px
|}<noinclude>
}}<includeonly>[[Category:Featured articles]]</includeonly><noinclude>


==Info==
==Info==
This template should be placed at the bottom of featured articles, either current features or old ones.
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==
==Parameters==
{| class = "wikitable"
{| class = "wikitable"
! Parameter || Mandatory || Default || Name || Detailed description
! Parameter || Mandatory || Default || Purpose || Detailed description
|-
|-
! 1
! 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.
| '''Yes''' ||  || Start date || The date at which this article started being the featured article. Use {{tem|date}} for this.
|-
|-
! 2
! 2
Line 17: Line 19:
|}
|}


==Template==
==Skeleton==
<pre>
<pre>
{{featured|<start date>|<end date>}}
{{featured|<start date>|<end date>}}
Line 26: Line 28:
! Code || Result
! Code || Result
|-
|-
| <pre>{{featured|February 3<sup>rd</sup> 2014}}</pre>
| <pre>{{featured|{{date|1|February|2023}}}}</pre>
| {{featured|February 3<sup>rd</sup> 2014}}
| {{featured|{{date|1|February|2023}}}}
|-
|-
| <pre>{{featured|August 15<sup>th</sup> 2014|October 22<sup>nd</sup> 2014}}</pre>
| <pre>{{featured|{{date|1|June|2021}}|{{date|1|August|2021}}}}</pre>
| {{featured|August 15<sup>th</sup> 2014|October 22<sup>nd</sup> 2014}}
| {{featured|{{date|1|June|2021}}|{{date|1|August|2021}}}}
|}
|}


[[Category:Templates]]
[[Category:Templates]]
[[Category:Box templates]]
[[Category:Box templates]]
[[category:Featured articles| ]]
[[Category:Featured articles| ]]</noinclude>
</noinclude>
<includeonly>[[Category:Featured articles]]</includeonly>