Difference between revisions of "Character/new/Vitals"
From Children of StarClan
< Template:Character | new
Line 6: | Line 6: | ||
<div class="large-12 columns" style="padding-left: 25px;"><!-- GENDER and LINIAGE -->A {{{gender|cat}}} by {{Name|{{{sire|Unknown Tom}}}|{{#if: {{{sire2|}}}|X|}}|{{{sire2|}}}}} out of {{Name|{{{dame|Unknown Queen}}}|{{#if: {{{dame2|}}}|X|}}|{{{dame2|}}}}} | <div class="large-12 columns" style="padding-left: 25px;"><!-- GENDER and LINIAGE -->A {{{gender|cat}}} by {{Name|{{{sire|Unknown Tom}}}|{{#if: {{{sire2|}}}|X|}}|{{{sire2|}}}}} out of {{Name|{{{dame|Unknown Queen}}}|{{#if: {{{dame2|}}}|X|}}|{{{dame2|}}}}} | ||
− | <SPAN style="display: none;">{{{birth}}}{{{died}}}</SPAN>{{#ifeq: {{{status}}}|Living|<BR>Living {{# | + | <SPAN style="display: none;">{{{birth}}}{{{died}}}</SPAN>{{#vardefine:birthnumber|{{Datenum|{{#var:birthmoon}}}}}} |
+ | {{#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: {{{status}}}|Dead|<BR>'''DEAD'''| | ||
{{#ifeq: {{{status}}}|Unborn|<BR>'''UNBORN'''| | {{#ifeq: {{{status}}}|Unborn|<BR>'''UNBORN'''| |
Revision as of 23:28, 27 May 2017
Vitals