Template:Date nolink

From Geohashing
Revision as of 16:39, 9 August 2010 by imported>Benjw (oh good gracious, I'm so dim)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template does exactly the same think as Template:Date link, but does not turn the resulting text into a wiki link. It is therefore useful for the meetup graticule map template when the expedition is a retro and you do not wish the date to show up as a red link.

  • First parameter takes date in YYYY-MM-DD format. Text 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 nolink|2008-06-21|l j F}} gives Wednesday 21 May
    • {{date nolink|2008-06-21|DdMY}} gives Wed21May2008
    • {{date nolink|2008-06-21}} gives Wednesday 21 May 2008