Open main menu

Template:Date2/doc

< Template:Date2
Revision as of 02:18, 2 January 2019 by Johannes Axner (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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