Difference between revisions of "Template:Drep"
Jump to navigation
Jump to search
imported>Arthur Rubin (changing to include "(decade)", per comment at WT:YEARS) |
imported>Plastikspork m (Changed protection level of Template:Drep: Highly visible template ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(No difference)
| |
Revision as of 07:49, 7 March 2014
{{{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
- d: adds (decade) to link only, and only if immediately following b
The above options can be combined, in that order (but t not with n or s).
This template is used by {{dr-make}}.