模板: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
| 字串 | 非必填 |