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

From blackwiki
Jump to navigation Jump to search
imported>Grufo
(Fix links=off)
imported>Grufo
Line 1: Line 1:
<includeonly>{{#switch: {{{links|}}}|no|off|false
+
<includeonly>{{#switch:{{{links|}}}
|{{uc:{{{1|}}}}}
+
|no|off|false={{uc:{{{1|}}}}}
|{{#switch: {{lc:{{{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 20:36, 27 September 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