Difference between revisions of "Template:InfectedPowers"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Work in progress still | Work in progress still | ||
<includeonly>{{#expr:({{#time:Y |now + 61 years}} * 12) + {{#time:m |now + 61 years}} - ({{{Year}}} * 12) | <includeonly>{{#expr:floor(((({{#time:Y |now + 61 years}} * 12) + {{#time:m |now + 61 years}}) - (({{{Year}}} * 12) + {{{Month}}}) - ({{#ifexpr:{{#time:d |now + 61 years}} < {{{Day}}} | 1 | 0}}))/2) + 1 }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Line 16: | Line 16: | ||
<pre> | <pre> | ||
{{InfectedPowers| | {{InfectedPowers| | ||
|Month= | |Month=12 | ||
|Day=16 | |Day=16 | ||
|Year= | |Year=2082 | ||
|}} | |}} | ||
</pre> | </pre> | ||
The template will return the number of infected powers that the character qualifies for. {{InfectedPowers| | The template will return the number of infected powers that the character qualifies for. {{InfectedPowers| | ||
|Month= | |Month=12 | ||
|Day= | |Day=16 | ||
|Year= | |Year=2082 | ||
|}} | |}} | ||
Revision as of 12:56, 16 December 2022
Work in progress still
UsageThis template allows you to put in a character's infected date and will calculate the number of infected optional powers that the character qualifies to buy.
So, if you enter this: {{InfectedPowers| |Month=12 |Day=16 |Year=2082 |}} The template will return the number of infected powers that the character qualifies for. Work in progress still 18
|