Difference between revisions of "Template:IGTracker"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly>{{#expr: (floor(({{#ifexpr: {{#time:d |now + 61 years}} >= {{{Day}}} | 1 | 0}} + | <includeonly>{{#expr: (floor(({{#ifexpr: {{#time:d |now + 61 years}} >= {{{Day}}} | 1 | 0}} + 6 >= {{{Month}}} | 6 - {{{Month}}} | 12- {{{Month}}} - 6 }} + {{#ifexpr: {{#time:Y |now + 61 years}} > {{{Year}}} | ({{#time:Y |now + 61 years}} - {{{Year}}})*12 | 0 }})/2)+1) - {{{Bought}}} }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 03:33, 11 December 2022
UsageThis template allows you to put in a character's stamp date, and it will automatically calculate how many optional infected powers they are allowed to buy. If you enter how many you currently have, it will display your remaining selections.:
So, if you enter this: {{InfectedPowers| |Month=9 |Day=29 |Year=2033 |Bought=0 |}} The template will return remaining number of optional powers to select 151
|