模板:Eras/doc
外观
此页面是Template:Eras的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
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.
范例
[编辑]{{eras|215|AD}}
→ 215 AD{{eras|AD|40}}
→ AD 40{{eras|1100|BC}}
→ 1100 BC{{eras|12|CE}}
→ 12 CE{{eras|215|BCE}}
→ 215 BCE{{eras|1280|B.C.E.}}
→ 1280 BCE