Difference between revisions of "Template:IGTracker"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly>{{#expr: {{#ifexpr: {{{AwakenedStatus}}} = 0 | floor({{#if: {{{Year}}} | (floor(({{#time:xNU |now + 61 years}} - {{#time:xNU |{{{Year}}}-{{{Month}}}-{{{Day}}} }}) / 604800)) | 0 }}/8)+1 | {{#ifexpr: {{{AwakenedStatus}}} = 1 | floor( 0.5*((4 * {{#if: {{{Year}}} | (floor(({{#time:xNU |now + 61 years}} - {{#time:xNU |{{{Year}}}-{{{Month}}}-{{{Day}}} }}) / 604800)) | 0 }} + 25)^0.5 - 3)) | {{#ifexpr: {{{AwakenedStatus}}} = 2 | floor( 0.5*((8 * {{#if: {{{Year}}} | (floor(({{#time:xNU |now + 61 years}} - {{#time:xNU |{{{Year}}}-{{{Month}}}-{{{Day}}} }}) / 604800)) | 0 }} + 25)^0.5 - 3)) | -1 }} }} }} }} | <includeonly>{{#expr: {{#ifexpr: {{{AwakenedStatus|0}}} = 0 | floor({{#if: {{{Year}}} | (floor(({{#time:xNU |now + 61 years}} - {{#time:xNU |{{{Year}}}-{{{Month}}}-{{{Day}}} }}) / 604800)) | 0 }}/8)+1 | {{#ifexpr: {{{AwakenedStatus|0}}} = 1 | floor( 0.5*((4 * {{#if: {{{Year}}} | (floor(({{#time:xNU |now + 61 years}} - {{#time:xNU |{{{Year}}}-{{{Month}}}-{{{Day}}} }}) / 604800)) | 0 }} + 25)^0.5 - 3)) | {{#ifexpr: {{{AwakenedStatus|0}}} = 2 | floor( 0.5*((8 * {{#if: {{{Year}}} | (floor(({{#time:xNU |now + 61 years}} - {{#time:xNU |{{{Year}}}-{{{Month}}}-{{{Day}}} }}) / 604800)) | 0 }} + 25)^0.5 - 3)) | -1 }} }} }} }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 18:01, 28 December 2022
UsageThis template tracks the number of weeks a character has been active and uses that information to provide the number of initiations or mundane ascensions the character can take.
So, if you enter this: {{IGTracker| |Month=11 |Day=9 |Year=2083 |AwakenedStatus=2 |}} This template will return the total number of initiations or ascensions the character can take. 13 |