Template:Auc/data/year/doc
< Template:Auc | data/year
Jump to navigation
Jump to search
Revision as of 23:27, 3 October 2020 by Wikipedia>Grufo (Document the new |flip parameter and further examples)
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
E.g. {{Auc/data/year|258|AUC|alink=off|flip}}
→ 258 AUC
Parameters
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Year | 1 | The year that will be shown | Number | required |
Era | 2 | The abbreviated era
| String | required |
Flip | 3 | Invert the order of year and era
| String | optional |
Abbreviations | abbr | Use abbreviation | String | optional |
Automatic link | alink | Create internal link for the era
| Boolean | optional |
Page | page | A Wikipedia article for the specific year; if specified it overrides the |links= parameter | Page name | optional |