Template:Dow tooltip/doc

From MOASSpedia
Jump to navigation Jump to search

Usage

Displays the day of the week in a tooltip for dates. For compatibility with current usage, the date displays the date as month and the day by default, but this can be altered by using |df= (short for "date format") with #time parser function syntax (examples below).

Example usage:

  • {{Dow tooltip|11 April 2024}} displays April 11
  • {{Dow tooltip|11 April 2024|df=j F}} displays 11 April
  • {{Dow tooltip|11 April 2024|df=F j, Y}} displays April 11, 2024
  • {{Dow tooltip|11 April 2024|df=j F Y}} displays 11 April 2024