Template:Date link
From Geohashing
Usage
This template employs features of template syntax, some of which may be too intricate for novices. Please discuss any shortcomings or faults of this template on its talk page before making any changes. You are also encouraged to contact the original creator via their user page prior to editing this template. If changes are necessary, please familiarise yourself with the template’s setup and WikiMedia parser functions before attempting to edit, or contact someone with knowledge of template syntax.
If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. |
- First parameter takes date in YYYY-MM-DD format. Link is automatically based on this parameter.
- Optional second parameter takes a formatting string à la PHP's date() function. Defaults to
l j F Y
format.{{date link|2008-06-21|l j F}}
gives Wednesday 21 May{{date link|2008-06-21|DdMY}}
gives Wed21May2008{{date link|2008-06-21}}
gives Wednesday 21 May 2008