Difference between revisions of "Template:InfectedPowers"
Jump to navigation
Jump to search
(Removed redirect to Template:IGTracker) Tag: Removed redirect |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#expr:{{#if: {{{Year}}} | floor(((({{#time:Y |now + 61 years}} * 12) + {{#time:m |now + 61 years}}) - (({{{Year}}} * 12) + {{{Month|1}}}) - ({{#ifexpr:{{#time:d |now + 61 years}} < {{{Day|1}}} | 1 | 0}}))/2) + 1 - {{{Owned|0}}} | 0 }} }} | |||
<includeonly>{{#expr:( | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Line 7: | Line 6: | ||
| | | | ||
==Usage== | ==Usage== | ||
This template allows you | This template allows you enter the date of the first run after a character was infected and will calculate the number of infected optional powers that the character qualifies to buy. | ||
* All entries including Month must be in numeric format. | * All entries including Month must be in numeric format. | ||
Line 15: | Line 14: | ||
<pre> | <pre> | ||
{{ | {{InfectedPowers| | ||
|Month=12 | |Month=12 | ||
|Day= | |Day=16 | ||
|Year= | |Year=2082 | ||
|Owned=1 | |||
|}} | |}} | ||
</pre> | </pre> | ||
The template will return the number of | The template will return the number of infected powers that the character qualifies for. {{InfectedPowers| | ||
|Month= | |Month=12 | ||
|Day= | |Day=16 | ||
|Year= | |Year=2082 | ||
|Owned=1 | |||
|}} | |}} | ||
Leave fields blank if you aren't infected. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Character Page Templates]] | [[Category:Character Page Templates]] | ||
|} | |} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:40, 23 August 2024
UsageThis template allows you enter the date of the first run after a character was infected 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 |Owned=1 |}} The template will return the number of infected powers that the character qualifies for. 17
|