Difference between revisions of "Template:Drep"
Jump to navigation
Jump to search
imported>Kotniski |
imported>Shii (move Anno Domini to the front for typographical accuracy (yeah, i am crossing fingers over this one)) |
||
| Line 4: | Line 4: | ||
b|nb|ynb|ab|nab|ynab={{{1}}} BC| | b|nb|ynb|ab|nab|ynab={{{1}}} BC| | ||
tb|ytb|tab|ytab={{#if:{{{3|}}}|{{{3}}}|{{{1}}}}} BC| | tb|ytb|tab|ytab={{#if:{{{3|}}}|{{{3}}}|{{{1}}}}} BC| | ||
| − | ysa|yysa=[[{{#if:{{{3|}}}|{{{3}}}|{{{1}}}}}| | + | ysa|yysa=[[{{#if:{{{3|}}}|{{{3}}}|{{{1}}}}}|<small>AD</small> {{{1}}}]]| |
| − | ya|yya=[[{{#if:{{{3|}}}|{{{3}}}|{{{1}}}}}|{{{1}}} | + | ya|yya=[[{{#if:{{{3|}}}|{{{3}}}|{{{1}}}}}|AD {{{1}}}]]| |
| − | sa|nsa|ynsa= | + | sa|nsa|ynsa=<small>AD</small> {{{1}}}| |
| − | a|na|yna={{{1}}} | + | a|na|yna=AD {{{1}}}| |
ta|yta|t|yt={{#if:{{{3|}}}|{{{3}}}|{{{1}}}}}| | ta|yta|t|yt={{#if:{{{3|}}}|{{{3}}}|{{{1}}}}}| | ||
ys|yys|y|yy=[[{{#if:{{{3|}}}|{{{3}}}|{{{1}}}}}|{{{1}}}]]| | ys|yys|y|yy=[[{{#if:{{{3|}}}|{{{3}}}|{{{1}}}}}|{{{1}}}]]| | ||
Revision as of 06:39, 31 October 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}}.