Template:IsAge: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
(Created page with "<includeonly>{{#expr:{{CurrentYear}}-{{{1|}}}{{#if:{{{2|}}}|+{{#expr: {{{2|}}}-{{CurrentYear}}}}}}}}</includeonly><noinclude> '''isAge''' calculates the current age and age of...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#expr:{{CurrentYear}}-{{{1|}}}{{#if:{{{2|}}}|+{{#expr: {{{2|}}}-{{CurrentYear}}}}}}}}</includeonly><noinclude>
<includeonly>{{#expr:{{GAMEYEAR}}-{{{1|}}}{{#if:{{{2|}}}|+{{#expr: {{{2|}}}-{{GAMEYEAR}}}}}}}}</includeonly><noinclude>
'''isAge''' calculates the current age and age of death.
'''isAge''' calculates the current age and age of death.
==Example use==
==Example use==
Line 9: Line 9:
Rowa was {{isAge|1988|2000}} year on her time of death.
Rowa was {{isAge|1988|2000}} year on her time of death.
[[Category:Templates]]
[[Category:Templates]]
</noinclude>

Latest revision as of 19:09, 26 April 2017

isAge calculates the current age and age of death.

Example use

Rowa is {{isAge|1988|}} years old. 

Rowa was {{isAge|1988|2000}} year on her time of death.

Rowa is 23 years old.

Rowa was 12 year on her time of death.