模板: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