Difference between revisions of "Template:Auc/data/year/doc"
< Template:Auc | data/year
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 a documentation subpage for Template:Auc/data/year. It contains usage information, categories and other content that is not part of the original template page. |
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Year | 1 | The year that will be shown | Number | required |
| Era | 2 | The abbreviated era
| Unknown | required |
| Abbreviations | abbr | Use abbreviation | String | optional |
| Links | links | Create internal links for the era
| Boolean | optional |