Modèle:Date

De Pikmin FR
Version datée du 29 janvier 2026 à 20:12 par Trig Jegman (discussion | contributions) (content ported from https://splatoonwiki.org/wiki/Template:Date)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

This template will automatically format dates to suit a user's preferences. The preferences can be changed at Special:Preferences.

For logged-out users and users who did not choose a preference, the date format will default to d mmmm yyyy (10 mars 2026).

Usage

{{date|<date>}}

For <date>, enter the date in ISO 8601 format: yyyy-mm-dd (2026-03-10). While the template can technically accept a very wide variety of date formats, the ISO format is preferred for compactness, and for consistency across wiki articles.

If the year is unknown, enter the date in named-month format such as mmm d (mars 10) or d mmmm (10 mars).

Date format reference (some of these are not used on this page, but are mentioned for comparison and understanding):

  • yy – two-digit year, e.g. 24
  • yyyy – four-digit year, e.g. 2024
  • m – one-digit month for months below 10, e.g. 3
  • mm – two-digit month, e.g. 03
  • mmm – three-letter abbreviation for month, e.g. Mar
  • mmmm – month spelled out in full, e.g. March
  • d – one-digit day of the month for days below 10, e.g. 2
  • dd – two-digit day of the month, e.g. 02
  • ddd – three-letter abbreviation for day of the week, e.g. Fri
  • dddd – day of the week spelled out in full, e.g. Friday