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

From blackwiki
Jump to navigation Jump to search
imported>Grufo
imported>Grufo
(Rename |links= parameter to |alink=)
 
Line 1: Line 1:
<includeonly>{{#switch:{{{links|}}}
+
<includeonly>{{#switch:{{{alink|}}}
 
|no|off|false={{#switch:{{lc:{{{1|}}}}}
 
|no|off|false={{#switch:{{lc:{{{1|}}}}}
 
|auc={{#switch:{{lc:{{{abbr|}}}}}|greg|none|off=Ab Urbe Condita|AUC}}
 
|auc={{#switch:{{lc:{{{abbr|}}}}}|greg|none|off=Ab Urbe Condita|AUC}}

Latest revision as of 17:25, 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