Template:Drep/sandbox
< Template:Drep
Jump to navigation
Jump to search
Revision as of 03:12, 15 November 2016 by imported>Wbm1058 (synchronize with live template)
{{{1}}}
| 50px | This is the template sandbox page for Template:Drep (diff). See also the companion subpage for test cases. |
File:Test Template Info-Icon - Version (2).svg Template documentation
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}}.
| The above documentation is transcluded from Template:Drep/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |