Difference between revisions of "Template:Auc/data/year/doc"

From blackwiki
Jump to navigation Jump to search
imported>Grufo
m
imported>Grufo
(Parameter List)
Line 14: Line 14:
 
"label": "Year",
 
"label": "Year",
 
"description": "The year that will be shown",
 
"description": "The year that will be shown",
"type": "number"
+
"type": "number",
 +
"required": true
 
},
 
},
 
"2": {
 
"2": {
 
"label": "Era",
 
"label": "Era",
 
"description": "The abbreviated era",
 
"description": "The abbreviated era",
"example": "CE / BCE / AD / BC / AUC / PUC"
+
"example": "CE / BCE / AD / BC / AUC / PUC",
 +
"required": true
 
},
 
},
 
"abbr": {
 
"abbr": {

Revision as of 10:44, 2 October 2020

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

Parameters

No description.

Template parameters

ParameterDescriptionTypeStatus
Year1

The year that will be shown

Numberrequired
Era2

The abbreviated era

Example
CE / BCE / AD / BC / AUC / PUC
Unknownrequired
Abbreviationsabbr

Use abbreviation

Stringoptional
Linkslinks

Create internal links for the era

Default
true
Booleanoptional