模板:Eras
{{{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.
范例
编辑{{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
上述文档嵌入自Template:Eras/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |