|
|
Line 1: |
Line 1: |
| <includeonly>{{{2}}} {{{1}}} (age {{#switch:{{{2|}}} | | <includeonly>{{{2}}} {{{1}}} (age {{#switch:{{{1|}}} |
| |ABY | | |ABY |
| |aby | | |aby |
Line 6: |
Line 6: |
| |AbY | | |AbY |
| |aBY | | |aBY |
| |abY = {{#expr:{{Current year}}-{{{1}}}}} | | |abY = {{#expr:{{Current year}}-{{{2}}}}} |
| |BBY | | |BBY |
| |bby | | |bby |
Line 13: |
Line 13: |
| |BbY | | |BbY |
| |bBY | | |bBY |
| |bbY = {{#expr:{{Current year}}+{{{1}}}}} | | |bbY = {{#expr:{{Current year}}+{{{2}}}}} |
| |{{#expr:{{Current year}}+{{{1}}}}} | | |{{#expr:{{Current year}}+{{{1}}}}} |
| }}) | | }}) |
Revision as of 00:51, 27 December 2015
For you use with displaying date and age for characters. To use this template, put in the numerical value of the year of birth ONLY as the first variable, then enter either BBY or '"ABY"' as the second variable.
Usage
{{Birthyear_and_Age|YEAR|ABY or BBY}}