Template:Auc/data/doublet/doc

From blackwiki
< Template:Auc‎ | data/doublet
Revision as of 04:28, 4 October 2020 by imported>Grufo (→‎Parameters)
Jump to navigation Jump to search

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|main-year=2773|main-era=AUC|equals-year=2020|equals-era=CE|abbr=off}} Template:Sp(2020 Common Era)

Parameters

No description.

Template parameters

ParameterDescriptionTypeStatus
Main yearmain-year

The main year that will be shown

Numberrequired
Main eramain-era

The main abbreviated era

Example
CE / BCE / AD / BC / AUC / PUC
Stringrequired
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
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 / note / alone / number
Stringoptional
Main pagemain-page

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

Pageoptional
Equals pageequals-page

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

Pageoptional
Main flipmain-flip

Invert the order of year and era in the main part

Booleanoptional
Equals flipequals-flip

Invert the order of year and era in the equals part

Booleanoptional