Template

Difference between revisions of "Character/new/Vitals"

From Children of StarClan

< Template:Character‎ | new
Line 7: Line 7:
  
 
<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}}}|Dead|<BR>Dead {{#ifeq: {{#var:deathmoon}}|An Unspecified Moon||at the age of {{#expr:({{#var:birthnumber}} - {{#var:deathnumber}}) 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}}}|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|<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:birthnumber}} - {{#var:deathnumber}})}} 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}}}|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 -->}}
  
 
{{#if: {{{warborn|}}}|{{warborn}}|}}{{#if: {{{fierceblood|}}}|{{fierceblood}}|}}</div>
 
{{#if: {{{warborn|}}}|{{warborn}}|}}{{#if: {{{fierceblood|}}}|{{fierceblood}}|}}</div>
 
</div>
 
</div>

Revision as of 23:48, 27 May 2017

Vitals
 
A cat by Unknown Tom out of Unknown Queen

{{{birth}}}{{{died}}}
STATUS NOT SPECIFIED