模板: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子頁面中添加分類。本模板的子頁面。 |