Difference between revisions of "Character/new/Vitals"
From Children of StarClan
< Template:Character | new
Line 8: | Line 8: | ||
<SPAN style="display: none;">{{{birth}}}{{{died}}}</SPAN>{{#vardefine:birthnumber|{{Datenum|{{#var:birthmoon}}}}}}{{#vardefine:deathnumber|{{Datenum|{{#var:deathmoon}}}}}} | <SPAN style="display: none;">{{{birth}}}{{{died}}}</SPAN>{{#vardefine:birthnumber|{{Datenum|{{#var:birthmoon}}}}}}{{#vardefine:deathnumber|{{Datenum|{{#var:deathmoon}}}}}} | ||
{{#ifeq: {{{status}}}|Living|<BR>Living {{#ifeq: {{#varexists:birthmoon}}|1|at the age of {{#expr:({{moon}} - {{#var:birthnumber}})}} Moons {{Moon-year|{{#expr:({{moon}} - {{#var:birthnumber}})}}}} }}| | {{#ifeq: {{{status}}}|Living|<BR>Living {{#ifeq: {{#varexists:birthmoon}}|1|at the age of {{#expr:({{moon}} - {{#var:birthnumber}})}} Moons {{Moon-year|{{#expr:({{moon}} - {{#var:birthnumber}})}}}} }}| | ||
− | {{#ifeq: {{{status}}}|Dead|<BR>Dead {{#ifeq: {{#var:deathmoon}}|An Unspecified Moon||at the age of {{#expr:({{#var: | + | |
+ | {{#ifeq: {{{status}}}|Dead|<BR>Dead {{#ifeq: {{#var:deathmoon}}|An Unspecified Moon||at the age of {{#expr:({{#var:deathnumber}} - {{#var:birthnumber}})}} moons }}| | ||
+ | |||
{{#ifeq: {{{status}}}|Unborn|<BR>Unborn {{#ifeq: {{#varexists:birthmoon}}|1|and will be in {{#expr:({{#var:birthnumber}} - {{moon}})}} moons, during the {{#var:birthmoon}} }}| | {{#ifeq: {{{status}}}|Unborn|<BR>Unborn {{#ifeq: {{#varexists:birthmoon}}|1|and will be in {{#expr:({{#var:birthnumber}} - {{moon}})}} moons, during the {{#var:birthmoon}} }}| | ||
{{#ifeq: {{{status}}}|Living (Off Camera)|<BR>Living (off camera) {{#ifeq: {{#varexists:birthmoon}}|1|at the age of {{#expr:({{moon}} - {{#var:birthnumber}})}} Moon(s) {{Moon-year|{{#expr:({{moon}} - {{#var:birthnumber}})}}}} }}|<BR><SPAN style="color: red;">'''STATUS NOT SPECIFIED'''</SPAN><!-- off camera-->}}<!-- unborn -->}}<!-- dead -->}}<!-- living -->}} | {{#ifeq: {{{status}}}|Living (Off Camera)|<BR>Living (off camera) {{#ifeq: {{#varexists:birthmoon}}|1|at the age of {{#expr:({{moon}} - {{#var:birthnumber}})}} Moon(s) {{Moon-year|{{#expr:({{moon}} - {{#var:birthnumber}})}}}} }}|<BR><SPAN style="color: red;">'''STATUS NOT SPECIFIED'''</SPAN><!-- off camera-->}}<!-- unborn -->}}<!-- dead -->}}<!-- living -->}} |
Revision as of 23:49, 27 May 2017
Vitals