Template:Birthyear and Age (legends): Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
(Created page with "<includeonly>{{{2}}} {{{1}}} (age {{#switch:{{{1|}}} |ABY |aby |Aby |ABy |AbY |aBY |abY = {{#expr:{{Current year}}-{{{2}}}}} |BBY |bby |Bby |BBy...")
 
No edit summary
Line 6: Line 6:
   |AbY
   |AbY
   |aBY  
   |aBY  
   |abY = {{#expr:{{Current year}}-{{{2}}}}}
   |abY = {{#expr:{{Current year}}-{{{2}}}+1}}
   |BBY
   |BBY
   |bby
   |bby
Line 13: Line 13:
   |BbY
   |BbY
   |bBY  
   |bBY  
   |bbY = {{#expr:{{Current year}}+{{{2}}}}}
   |bbY = {{#expr:{{Current year}}+{{{2}}}+1}}
   |{{#expr:{{Current year}}+{{{2}}}}}
   |{{#expr:{{Current year}}+{{{2}}}+1}}
}})
}})
</includeonly>
</includeonly>

Revision as of 17:23, 1 January 2016


For you use with displaying date and age for characters. To use this template enter either BBY or ABY as the first variable, then put in the numerical value of the year of birth ONLY as the second variable.

Usage

{{Birthyear_and_Age|ABY or BBY|YEAR}}