Template:D/doc

From Angelina Jordan Wiki
Revision as of 12:55, 28 January 2021 by Dcljr (talk | contribs) (doc self=)
This is a subpage documenting Template:D. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template links dates and formats them visually according to users' preferences. If no date is specified, it uses the current date (which is probably not what you want, since the link target would change each day).

The name of the template is based on the word "date".

Usage

  • {{d|YYYY-MM-DD}}
  • {{d|YYYY-MM-DD|self=char}}

The second form creates a link to an anchor on the same page; it is mainly for linking to related dates from entries in our Timeline. The value char can be any string containing at least one non-whitespace character.

Examples

See also

  • {{da}} – formats a date and makes it an anchor for incoming links
  • {{du}} – formats a date but doesn't link it