Jump to content

Template:Ab urbe condita date/data/year/doc

From Humanipedia
Revision as of 15:58, 4 February 2025 by Humanipedia (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error in package.lua at line 80: module 'Module:Yesno' not found.

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

Usage[edit source]

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[edit source]

<templatedata> { "params": { "1": { "label": "Year", "description": "The year that will be shown", "type": "number", "required": true }, "2": { "label": "Era", "description": "The abbreviated era", "example": "CE / BCE / AD / BC / AUC / PUC", "required": true, "type": "string" }, "3": { "label": "Flip", "description": "Invert the order of year and era", "type": "string", "example": "flip" }, "abbr": { "label": "Abbreviations", "description": "Use abbreviation", "type": "string" }, "alink": { "label": "Automatic link", "description": "Create internal link for the era", "type": "boolean", "default": "true", "example": "on / yes / true / off / no / false" }, "page": { "label": "Page", "description": "A Wikipedia article for the specific year; if specified it overrides the |links= parameter", "type": "wiki-page-name" } } } </templatedata>