Template:Eras
Jump to navigation
Jump to search
{{{1}}}{{{2}}}
This template formats era designations (i.e. "AD", "BC", "CE" or "BCE") in small caps, without periods, and separated from the year number with a non-breaking space per WP:ERA guidelines. Era designations with periods (e.g. "B.C.E.") may be used as a template parameter, but the output will not contain periods.
Usage
{{eras|215|AD}}→ 215Template:SpaceAD{{eras|AD|40}}→ ADTemplate:Space40{{eras|1100|BC}}→ 1100Template:SpaceBC{{eras|12|CE}}→ 12Template:SpaceCE{{eras|215|BCE}}→ 215Template:SpaceBCE{{eras|1280|B.C.E.}}→ 1280Template:SpaceBCE
| The above documentation is transcluded from Template:Eras/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |