Difference between revisions of "Template:IGTracker"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
<includeonly>{{#expr: ({{#time:Y |now + 61 years}} - {{{Year}}})*12 | <includeonly>{{#expr: ({{#time:Y |now + 61 years}} - {{{Year}}})*12 + {{#ifexpr: {{#time:m |now + 61 years}}}} }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Revision as of 14:10, 10 December 2022
UsageThis template allows you to put in a character's date of birth, and it will automatically calculate their age based on the current in-game date. The following requirements apply:
So, if you enter this: {{InfectedPowers|
|Month=9
|Day=29
|Year=2033
|}}
The template will return the current age of 26
If the year is not present, the template will return nothing. |