跳转到内容

Template:Auc/data/year/doc

维基百科,自由的百科全书

This is only a helper template of {{Auc}} that creates a year string.

Usage

[编辑]

E.g. {{Auc/data/year|2003|CE|abbr=off}} → 2003 Common Era

E.g. {{Auc/data/year|258|AUC|alink=off|flip}} → 258 AUC

Parameters

[编辑]

无描述。

模板参数

参数描述类型状态
Year1

The year that will be shown

数字必需
Era2

The abbreviated era

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

Invert the order of year and era

示例值
flip
字符串可选
Abbreviationsabbr

Use abbreviation

字符串可选
Automatic linkalink

Create internal link for the era

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

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

页面名称可选