Difference between revisions of "Template:Date"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
m
Tag: Reverted
m (Undo revision 79685 by Username (talk))
Tag: Undo
Line 31: Line 31:
| <pre>{{date|1|January|2020}}</pre>
| <pre>{{date|1|January|2020}}</pre>
| {{date|1|January|2020}}
| {{date|1|January|2020}}
|}</noinclude>
|}
 
[[Category:Templates]]
</noinclude>

Revision as of 23:27, 23 April 2022

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

Info

From Pikmin Fanon.

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|January|2020}}
January 1st, 2020