Template:Date: Difference between revisions

From Pikmin Fanon
(Created page with "{{{2}}} {{{1}}}<sup>{{#switch:{{{1}}}|1|21|31=st|2|22=nd|3|23=rd|#default=th}}</sup>{{#if:{{{3|}}}|, {{{3}}}}}<noinclude> ==Info== From {{c|Template:Date|Pikipedia}}. This t...")
 
 
Line 29: Line 29:
! Code || Result
! Code || Result
|-
|-
| <pre>{{date|1|February|2013}}</pre>
| <pre>{{date|1|November|2008}}</pre>
| {{date|1|February|2013}}
| {{date|1|November|2008}}
|}
|}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 13:34, 5 May 2023

{{{2}}} {{{1}}}th

Info

From Pikipedia.

This template serves to standardize the way dates are displayed on the wiki. Feed the date values into the template, and it will write it in a specific format.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 Yes Day The day number, from 1 to 31.
2 Yes Month The month's name, starting with a capital letter.
3 No Year The year number.

Skeleton

{{date|<day>|<month>|<year>}}

Examples

Code Result
{{date|1|November|2008}}
November 1st, 2008