Template:Ab urbe condita date/data/doublet: Difference between revisions
hp>HouseBlaster m HouseBlaster moved page Template:Ab Urbe Condita date/data/doublet to Template:Ab urbe condita date/data/doublet: caps |
Humanipedia (talk | contribs) m 1 revision imported |
(No difference)
|
Latest revision as of 15:58, 4 February 2025
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 source]
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 source]
<templatedata>{ "params": { "year": { "label": "Main year", "description": "The main year that will be shown", "type": "number", "required": true }, "era": { "label": "Main era", "description": "The main abbreviated era", "example": "CE / BCE / AD / BC / AUC / PUC", "type": "string", "required": true }, "page": { "label": "Main page", "description": "A Wikipedia article for the specific year; if specified it overrides the effects of the |links= parameter on the year", "type": "wiki-page-name" }, "flip": { "label": "Main flip", "description": "Invert the order of main year and era", "type": "boolean" }, "equals-year": { "label": "Equals year", "description": "The year the main year is equal to", "type": "number" }, "equals-era": { "label": "Equals era", "description": "The era of the year the main year is equal to", "example": "CE / BCE / AD / BC / AUC / PUC", "type": "string" }, "equals-page": { "label": "Equals page", "description": "A Wikipedia article for the specific year; if specified it overrides the effects of the |links= parameter on the year", "type": "wiki-page-name" }, "equals-flip": { "label": "Equals flip", "description": "Invert the order of year and era in the equals part", "type": "boolean" }, "abbr": { "label": "Abbreviations", "description": "Use abbreviations", "type": "string" }, "alinks": { "label": "Automatic links", "description": "Create internal links for the era", "type": "boolean", "default": "on", "example": "on / yes / true / off / no / false" }, "disp": { "label": "Display", "description": "Display using a particular format", "example": "b / sqbr / equals / comma / or / bor / cor / note / alone / number", "type": "string", "default": "b" } } }</templatedata>