Template:Date2/doc
Appearance
This is a documentation subpage for Template:Date2. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]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
[edit]Correct usage
[edit]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 |
Incorrect usage
[edit]Input | Output |
---|---|
{{date2|January|1,|2008}}
|
January 1, 2008 |
{{date2|January|1, |2008}}
|
January 1, 2008 |