Template:Eras/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Eras. It contains usage information, categories and other content that is not part of the original template page. |
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