Jump to content

Template:Ab urbe condita date/data/doublet/doc

From Wikipedia, the free encyclopedia

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.

Template parameters

ParameterDescriptionTypeStatus
Main yearyear

The main year that will be shown

Numberrequired
Main eraera

The main abbreviated era

Example
CE / BCE / AD / BC / AUC / PUC
Stringrequired
Main pagepage

A Wikipedia article for the specific year; if specified it overrides the effects of the |links= parameter on the year

Page nameoptional
Main flipflip

Invert the order of main year and era

Booleanoptional
Equals yearequals-year

The year the main year is equal to

Numberoptional
Equals eraequals-era

The era of the year the main year is equal to

Example
CE / BCE / AD / BC / AUC / PUC
Stringoptional
Equals pageequals-page

A Wikipedia article for the specific year; if specified it overrides the effects of the |links= parameter on the year

Page nameoptional
Equals flipequals-flip

Invert the order of year and era in the equals part

Booleanoptional
Abbreviationsabbr

Use abbreviations

Stringoptional
Automatic linksalinks

Create internal links for the era

Default
on
Example
on / yes / true / off / no / false
Booleanoptional
Displaydisp

Display using a particular format

Default
b
Example
b / sqbr / equals / comma / or / bor / cor / note / alone / number
Stringoptional