Difference between revisions of "Template:Auc/data/abbr"
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
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Era | 1 | The abbreviated era
| String | required |
| Abbreviations | abbr | Use abbreviation | String | optional |
| Automatic link | alink | Create internal link for the era
| Boolean | optional |
| The above documentation is transcluded from Template:Auc/data/abbr/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |