Template:Ab urbe condita date/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
[edit]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
[edit]No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Main year | year | The main year that will be shown | Number | required |
Main era | era | The main abbreviated era
| String | required |
Main page | page | A Wikipedia article for the specific year; if specified it overrides the effects of the |links= parameter on the year | Page name | optional |
Main flip | flip | Invert the order of main year and era | Boolean | optional |
Equals year | equals-year | The year the main year is equal to | Number | optional |
Equals era | equals-era | The era of the year the main year is equal to
| String | optional |
Equals page | equals-page | A Wikipedia article for the specific year; if specified it overrides the effects of the |links= parameter on the year | Page name | optional |
Equals flip | equals-flip | Invert the order of year and era in the equals part | Boolean | optional |
Abbreviations | abbr | Use abbreviations | String | optional |
Automatic links | alinks | Create internal links for the era
| Boolean | optional |
Display | disp | Display using a particular format
| String | optional |