Difference between revisions of "Template:InfectedPowers"

From ShadowHaven Reloaded
Jump to navigation Jump to search
(Removed redirect to Template:IGTracker)
Tag: Removed redirect
Line 1: Line 1:
Work in progress still
Work in progress still
<includeonly>{{#expr:(floor(({{#time:xNU |now + 61 years}} - {{#time:xNU |{{{Year}}}-{{{Month}}}-{{{Day}}} }}) / 604800)) }}
<includeonly>{{#expr:({{#time:Y |now + 61 years}} * 12 + {{#time:m |now + 61 years}}) - ({{{Year}}} * 12 - {{{Month}}}) }}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Line 7: Line 7:
|
|
==Usage==
==Usage==
This template allows you to put in a character's stamp date and will calculate the number of weeks the character has been active for help tracking IG time.:
This 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.


* All entries including Month must be in numeric format.
* All entries including Month must be in numeric format.
Line 16: Line 16:
<pre>
<pre>
{{IGTracker|
{{IGTracker|
|Month=12
|Month=11
|Day=19
|Day=16
|Year=2083
|Year=2083
|}}
|}}
</pre>
</pre>


The template will return the number of weeks that have passed since the character was stamped. {{IGTracker|
The template will return the number of infected powers that the character qualifies for. {{IGTracker|
|Month=11
|Month=11
|Day=20
|Day=16
|Year=2083
|Year=2083
|}}
|}}

Revision as of 12:04, 16 December 2022

Work in progress still


Usage

This 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.

  • All entries including Month must be in numeric format.
  • Year must be the full, 4 digit year.

So, if you enter this:

{{IGTracker|
|Month=11
|Day=16
|Year=2083
|}}

The template will return the number of infected powers that the character qualifies for.

14



The date fields are mandatory, the Bought field can be left at 0 or updated when you buy an optional power.