模板: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.

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 yearyear

The main year that will be shown

数字必需
Main eraera

The main abbreviated era

示例值
CE / BCE / AD / BC / AUC / PUC
字符串必需
Main pagepage

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

页面名称可选
Main flipflip

Invert the order of main year and era

布尔可选
Equals yearequals-year

The year the main year is equal to

数字可选
Equals eraequals-era

The era of the year the main year is equal to

示例值
CE / BCE / AD / BC / AUC / PUC
字符串可选
Equals pageequals-page

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

页面名称可选
Equals flipequals-flip

Invert the order of year and era in the equals part

布尔可选
Abbreviationsabbr

Use abbreviations

字符串可选
Automatic linksalinks

Create internal links for the era

默认值
on
示例值
on / yes / true / off / no / false
布尔可选
Displaydisp

Display using a particular format

默认值
b
示例值
b / sqbr / equals / comma / or / bor / cor / note / alone / number
字符串可选