Difference between revisions of "Template:IGTracker"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#expr:{{#if: {{{Year}}} | (floor(({{#time:xNU |now + 61 years}} - {{#time:xNU |{{{Year}}}-{{{Month}}}-{{{Day}}} }}) / 604800)) | 0 }} }}
<includeonly>{{#expr:floor( 0.5*((4 * {{#if: {{{Year}}} | (floor(({{#time:xNU |now + 61 years}} - {{#time:xNU |{{{Year}}}-{{{Month}}}-{{{Day}}} }}) / 604800)) | 0 }} + 25)^0.5 - 3))}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Revision as of 17:25, 28 December 2022


Usage

This template tracks the number of weeks a character has been active. This value can be used to determine how many initiations they are allowed to take.

  • 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=9
|Year=2083
|}}

This template will return the total number of weeks since the entered date which can be used to calculate initiations. 9



Leave the fields blank if you aren't awakened.