Template

Difference between revisions of "Character/new/Vitals"

From Children of StarClan

< Template:Character‎ | new
(Created page with "<div class="row"> <div class="large-3 columns" style="{{Style/3charheader}} text-align: left; padding-left: 5px; font-weight: bold;">Vitals</div> <div class="large-9 columns">...")
 
(Age Improvements, Part 1. Cleanup of basic selector code.)
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|}}}}}<!-- CHEAT FOR BIRTH/DEATH VARIABLES --><SPAN style="display: none;">{{{birth}}}{{{died}}}</SPAN><!-- STATUS -->{{#if: {{{status|}}} | <BR>{{{status}}} {{#ifeq: {{{status}}}|Dead|<!-- AGE IF DEAD -->{{#ifeq: {{#var:birthmoon}}|An Unspecified Moon||{{#ifeq: {{#var:deathmoon}}|An Unspecified Moon||<!-- AGE@DEATH -->at the age of {{#expr:({{Datenum|{{#var:deathmoon}}}} - {{Datenum|{{#var:birthmoon}}}})}} Moons {{Moon-year|{{#expr:({{Datenum|{{#var:deathmoon}}}} - {{Datenum|{{#var:birthmoon}}}})}}}} }} }}{{#if: {{{died|}}}|<!-- DEAD SINCE --><BR>and has been so for {{#expr:({{moon}} - {{Datenum|{{#var:deathmoon}}}})}} Moons {{Moon-year|{{#expr:({{moon}} - {{Datenum|{{#var:deathmoon}}}})}}}}|}}|{{#ifeq: {{{status}}}|Unborn|<!-- AGE IF UNBORN -->and will be born during the {{#var:birthmoon}}|<!-- AGE IF LIVING/OFF CAM -->at the age of {{#expr:({{moon}} - {{Datenum|{{#var:birthmoon}}}})}} Moons {{Moon-year|{{#expr:({{moon}} - {{Datenum|{{#var:birthmoon}}}})}}}}<!-- UNBORN -->}}<!-- DEAD -->}}|<BR><SPAN style="color: red;">'''STATUS NOT SPECIFIED'''</SPAN><!-- STATUS -->}}{{#if: {{{warborn|}}}|{{warborn}}|}}{{#if: {{{fierceblood|}}}|{{fierceblood}}|}}</div>
+
<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>'''ALIVE'''|{{#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>
 
</div>
 
</div>

Revision as of 22:35, 27 May 2017

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