Template:Dr-make/doc

Usage
Produces a representation of a logically-numbered year/decade/century/millennium (first parameter). Second para is y/d/c/m. Representation style depends on the third parameter:
 * (parameter empty or absent): links to the year if it has an article (not a redirect)
 * y: always links
 * n: never links
 * t: produces simple text (no no-break spaces etc.), e.g. for use in category names
 * s: displays AD or BC in small capitals
 * a: adds AD if not BC
 * p: displays AD as prefix (only valid with a)
 * ys, ya, ysa, ns, na, nsa, sa: permitted combinations of above options
 * yap, ysap, nap, nsap, sap: combinations with AD prefix

Used by dr. Uses drep.

Examples

 * { {dr-make|1|y}}
 * { {dr-make|1|y|n}}
 * { {dr-make|1|y|t}}
 * { {dr-make|1|y|a}}
 * { {dr-make|1|y|sa}}
 * { {dr-make|212|y|a}}
 * { {dr-make|212|y|sa}}
 * { {dr-make|212|y|na}}
 * { {dr-make|212|y|nsa}}
 * { {dr-make|212|y|ap}}
 * { {dr-make|212|y|sap}}
 * { {dr-make|212|y|yap}}
 * { {dr-make|911|y}}
 * { {dr-make|-11|d}}
 * { {dr-make|-1|d}}
 * { {dr-make|0|d}}
 * { {dr-make|1|d}}
 * { {dr-make|10|d}}
 * { {dr-make|1|c}}
 * { {dr-make|1|c|a}}
 * { {dr-make|10|c}}
 * { {dr-make|1|m}}
 * { {dr-make|0|y}}
 * { {dr-make|0|y|s}}
 * { {dr-make|-2|y|ysa}}