Difference between revisions of "Template:Drep"

From blackwiki
Jump to navigation Jump to search
imported>Kotniski
(sorry but such a change would have to be more complex - this affects centuries etc. as well as years)
imported>Arthur Rubin
m (Protected Template:Drep: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(No difference)

Revision as of 02:32, 26 December 2008

{{{1}}}

Produces a representation of a date. First parameter is the display text; second is the style; third is the link text (defaults to the display text). Style parameters:

  • (parameter empty or absent): no link
  • y/yy: link
  • n: no link even after y
  • t: no link even after y, but return the link text
  • s: displays AD or BC in small capitals
  • a: adds AD if no b
  • b: adds BC

The above options can be combined, in that order (but t not with n or s).

This template is used by {{dr-make}}.