Template:Featured: Difference between revisions

From Pikipedia, the Pikmin wiki
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|}}}}}.'' {{#if:{{{2|}}}|[[File:White flower.png]]|[[File:Pink flower.png]]}}</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}}}}}.'' {{#if:{{{2|}}}|[[File:White flower.png]]|[[File:Pink flower.png]]}}</center>
|}<noinclude>[[Category:Templates|{{PAGENAME}}]][[Category:Box templates|{{PAGENAME}}]][[category:Featured articles| ]]
|}<noinclude>


==Use==
==Info==
*For old featured articles: ''<nowiki>{{featured|date1|date2}}</nowiki>'', where dates 1 and 2 are dates featured from and to respectively.
This template should be placed at the bottom of featured articles, either current features or old ones.
*For currently featured articles: ''<nowiki>{{featured|date}}</nowiki>'', where the date is the date featured from.</noinclude>
 
==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

The pink flower in the Challenge Mode of Pikmin 2. It represents courses that were finished, with no Pikmin lost.This article is currently a featured article, as of {{{1}}}. The pink flower in the Challenge Mode of Pikmin 2. It represents courses that were finished, with no Pikmin lost.

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

Code Result
{{featured|February 3<sup>rd</sup> 2014}}
The pink flower in the Challenge Mode of Pikmin 2. It represents courses that were finished, with no Pikmin lost.This article is currently a featured article, as of February 3rd 2014. The pink flower in the Challenge Mode of Pikmin 2. It represents courses that were finished, with no Pikmin lost.
{{featured|August 15<sup>th</sup> 2014|October 22<sup>nd</sup> 2014}}
Icon of a white flower in the Challenge Mode of Pikmin 2. It represents a course that is beaten, but with Pikmin who were lost.This article was a featured article from August 15th 2014 to October 22nd 2014. Icon of a white flower in the Challenge Mode of Pikmin 2. It represents a course that is beaten, but with Pikmin who were lost.