Template

Difference between revisions of "Character/new/Vitals"

From Children of StarClan

< Template:Character‎ | new
Line 4: Line 4:
 
</div>
 
</div>
 
<div class="row">
 
<div class="row">
<div class="large-12 columns" style="padding-left: 25px;"><!-- GENDER and LINIAGE -->A {{{gender}}} by {{Name|{{{sire}}}|{{#if: {{{sire2|}}}|X|}}|{{{sire2|}}}}} out of {{Name|{{{dame}}}|{{#if: {{{dame2|}}}|X|}}|{{{dame2|}}}}}{{#ifeq: {{{status}}}|Living|<BR>Living {{#var:birthmoon|at the age of {{#expr:({{moon}} - {{Datenum|{{#var:birthmoon}}}})}} Moons {{Moon-year|{{#expr:({{moon}} - {{Datenum|{{#var:birthmoon}}}})}}}}}}|{{#ifeq: {{{status}}}|Dead|<BR>'''DEAD'''|{{#ifeq: {{{status}}}|Unborn|<BR>'''UNBORN'''|{{#ifeq: {{{status}}}|Living (Off Camera)|<BR>'''LIVING OFF CAMERA'''|<BR><SPAN style="color: red;">'''STATUS NOT SPECIFIED'''</SPAN>
+
<div class="large-12 columns" style="padding-left: 25px;"><!-- GENDER and LINIAGE -->A {{{gender}}} by {{Name|{{{sire}}}|{{#if: {{{sire2|}}}|X|}}|{{{sire2|}}}}} out of {{Name|{{{dame}}}|{{#if: {{{dame2|}}}|X|}}|{{{dame2|}}}}}{{#ifeq: {{{status}}}|Living|
 +
{{#if: {{{birth|}}}|{{#vardefine:birthmoon|{{{birth}}}}}|}}{{#if: {{{died|}}}|{{#vardefine:deathmoon|{{{died}}}}}|}}{{#ifeq: {{{status}}}|Living|<BR>Living {{#var:birthmoon|at the age of {{#expr:({{moon}} - {{Datenum|{{#var:birthmoon}}}})}} Moons {{Moon-year|{{#expr:({{moon}} - {{Datenum|{{#var:birthmoon}}}})}}}}}}
 +
|{{#ifeq: {{{status}}}|Dead|<BR>'''DEAD'''|{{#ifeq: {{{status}}}|Unborn|<BR>'''UNBORN'''|{{#ifeq: {{{status}}}|Living (Off Camera)|<BR>'''LIVING OFF CAMERA'''|<BR><SPAN style="color: red;">'''STATUS NOT SPECIFIED'''</SPAN>
 
<!-- off camera-->}}<!-- unborn -->}}<!-- dead -->}}<!-- living -->}}{{#if: {{{warborn|}}}|{{warborn}}|}}{{#if: {{{fierceblood|}}}|{{fierceblood}}|}}</div>
 
<!-- off camera-->}}<!-- unborn -->}}<!-- dead -->}}<!-- living -->}}{{#if: {{{warborn|}}}|{{warborn}}|}}{{#if: {{{fierceblood|}}}|{{fierceblood}}|}}</div>
 
</div>
 
</div>

Revision as of 22:55, 27 May 2017

Vitals
 
A {{{gender}}} by [[Character:{{{sire}}}|{{{sire}}}]] out of [[Character:{{{dame}}}|{{{dame}}}]]{{#ifeq: {{{status}}}|Living|
STATUS NOT SPECIFIED