Difference between revisions of "Template:IGTracker"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Line 6: Line 6:
|
|
==Usage==
==Usage==
This template allows you to put in a character's date of birth, and it will automatically calculate their age based on the current in-game date. The following requirements apply:
This template allows you to put in a character's stamp date, and it will automatically calculate how many optional infected powers they are allowed to buy. If you enter how many you currently have, it will display your remaining selections.:


* All entries including Month must be in numeric format.
* All entries including Month must be in numeric format.
Line 18: Line 18:
|Day=29
|Day=29
|Year=2033
|Year=2033
|Bought=0
|}}
|}}
</pre>
</pre>


The template will return the current age of {{Age|
The template will return remaining number of optional powers to select {{InfectedPowers|
|Month=9
|Month=9
|Day=29
|Day=29
|Year=2060
|Year=2060
|Bought=0
|}}
|}}




The Month and Day field are both optional, if they are missing, the template will assume January and the 1st of the month. If you wish, you only need to enter a year.
The date fields are mandatory, the Bought field can be left at 0 or updated when you buy an optional power.
 
If the year is not present, the template will return nothing.
 


[[Category:Templates]]
[[Category:Templates]]

Revision as of 03:30, 11 December 2022


Usage

This template allows you to put in a character's stamp date, and it will automatically calculate how many optional infected powers they are allowed to buy. If you enter how many you currently have, it will display your remaining selections.:

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

So, if you enter this:

{{InfectedPowers|
|Month=9
|Day=29
|Year=2033
|Bought=0
|}}

The template will return remaining number of optional powers to select 151



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