Template:Date2/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Date2. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template is used for displaying basic dates
{{Date2|Day|Month|Year}}
If you want a link to the month or day, you will use this:
{{Date2|[[Day]]|[[Month]]|[[Year]]}}
In case you want a link such as Day Month [[Year in film]]
, you will use this:
{{Date2|Day|Month|[[Year in film|Year}}
Examples
Correct usage
Input | Output |
---|---|
{{date2|1|January|2008}}
|
1 January 2008 |
{{date2|[[1 January|1]]|[[January]]|2008}}
|
1 January 2008 |
{{date2|1|January|[[2008 in film|2008]]}}
|
1 January 2008 |
{{date2|January|1, |2008}}
|
January 1, 2008 |
Incorrect usage
Input | Output |
---|---|
{{date2|January|1,|2008}}
|
January 1, 2008 |