Vorlage:Drep

Version vom 10. Oktober 2012, 15:44 Uhr von Red Rooster (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „{{#switch:{{{2|}}}|ysb|yysb|ysab|yysab=[[{{#if:{{{3|}}}|{{{3}}}|{{{1}}}}} BC|{{{1}}} <small>BC</small>]]| yb|yyb|yab|yyab=[[{{#if:{{{3|}}}|{{{3}}}|{{{1}}}…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

{{{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 Vorlage:Tl.