模板:Auc/data/doublet
This is only a helper template of {{Auc}} that manages a pair of dates. It is not meant to be invoked directly by humans.
Usage
编辑E.g. {{Auc/data/doublet|year=2773|era=AUC|equals-year=2020|equals-era=CE|abbr=off}}
→ 2773 Ab Urbe Condita (2020 Common Era)
Parameters
编辑无描述。
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Main year | year | The main year that will be shown | 数字 | 必需 |
Main era | era | The main abbreviated era
| 字符串 | 必需 |
Main page | page | A Wikipedia article for the specific year; if specified it overrides the effects of the |links= parameter on the year | 页面名称 | 可选 |
Main flip | flip | Invert the order of main year and era | 布尔 | 可选 |
Equals year | equals-year | The year the main year is equal to | 数字 | 可选 |
Equals era | equals-era | The era of the year the main year is equal to
| 字符串 | 可选 |
Equals page | equals-page | A Wikipedia article for the specific year; if specified it overrides the effects of the |links= parameter on the year | 页面名称 | 可选 |
Equals flip | equals-flip | Invert the order of year and era in the equals part | 布尔 | 可选 |
Abbreviations | abbr | Use abbreviations | 字符串 | 可选 |
Automatic links | alinks | Create internal links for the era
| 布尔 | 可选 |
Display | disp | Display using a particular format
| 字符串 | 可选 |