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

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
(Undo revision 147435 by Selika (talk))
Line 6: Line 6:
   |AbY
   |AbY
   |aBY  
   |aBY  
   |abY = {{#expr:{{Current year}}-{{{2}}}+1}}
   |abY = {{#expr:{{Current year}}-{{{2}}}}}
   |BBY
   |BBY
   |bby
   |bby
Line 13: Line 13:
   |BbY
   |BbY
   |bBY  
   |bBY  
   |bbY = {{#expr:{{Current year}}+{{{2}}}+1}}
   |bbY = {{#expr:{{Current year}}+{{{2}}}}}
   |{{#expr:{{Current year}}+{{{2}}}+1}}
   |{{#expr:{{Current year}}+{{{2}}}}}
}})
}})
</includeonly>
</includeonly>

Revision as of 17:24, 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}}