Difference between revisions of "Template:Auc/data/abbr"

From blackwiki
Jump to navigation Jump to search
imported>Grufo
m (Grufo moved page Template:Auc/data/epochs to Template:Auc/data/abbr: Update)
imported>Grufo
Line 1: Line 1:
 
<includeonly>{{#switch:{{{links|}}}
 
<includeonly>{{#switch:{{{links|}}}
|no|off|false={{uc:{{{1|}}}}}
+
|no|off|false={{#switch:{{lc:{{{1|}}}}}
|{{#switch:{{lc:{{{1|}}}}}
+
|auc={{#switch:{{lc:{{{abbr|}}}}}|greg|none|off=Ab Urbe Condita|AUC}}
 +
|puc={{#switch:{{lc:{{{abbr|}}}}}|greg|none|off=Pre Urbe Condita|PUC}}
 +
|ce={{#switch:{{lc:{{{abbr|}}}}}|auc|none|off=Common Era|CE}}
 +
|ad={{#switch:{{lc:{{{abbr|}}}}}|auc|none|off=Anno Domini|AD}}
 +
|bce={{#switch:{{lc:{{{abbr|}}}}}|auc|none|off=Before Common Era|BCE}}
 +
|bc={{#switch:{{lc:{{{abbr|}}}}}|auc|none|off=Before Christ|BC}}
 +
|{{uc:{{{1|}}}}}
 +
}}|{{#switch:{{lc:{{{1|}}}}}
 
|auc=[[Ab urbe condita|{{#switch:{{lc:{{{abbr|}}}}}|greg|none|off=Ab Urbe Condita|AUC}}]]
 
|auc=[[Ab urbe condita|{{#switch:{{lc:{{{abbr|}}}}}|greg|none|off=Ab Urbe Condita|AUC}}]]
 
|puc=[[Ab urbe condita|{{#switch:{{lc:{{{abbr|}}}}}|greg|none|off=Pre Urbe Condita|PUC}}]]
 
|puc=[[Ab urbe condita|{{#switch:{{lc:{{{abbr|}}}}}|greg|none|off=Pre Urbe Condita|PUC}}]]

Revision as of 15:22, 2 October 2020

Template documentation[view] [edit] [history] [purge]

This is only a helper template of {{Auc}} that manages abbreviations. It is not meant to be invoked directly by humans.

Usage

E.g. {{Auc/data/abbr|BCE|abbr=off}}Before Common Era

Parameters

No description.

Template parameters

ParameterDescriptionTypeStatus
Era1

The abbreviated era

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

Use abbreviation

Stringoptional
Automatic linkalink

Create internal link for the era

Default
true
Booleanoptional