Difference between revisions of "Template:NorConDragonLogic"

From NorCon MUSH
Line 21: Line 21:
 
|style="width:100px;" | '''Impressee''' {{!}}{{!}} [[{{{6}}}]]
 
|style="width:100px;" | '''Impressee''' {{!}}{{!}} [[{{{6}}}]]
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{date}}} | | | {{!}}'''Hatching Date:''' {{!}}{{!}} {{#time: d, F Y | @{{{14}}}}} }}
+
{{#ifeq: {{{date}}} | | | {{!}}'''Hatching Date:''' {{!}}{{!}} {{#time: d F, Y | @{{{14}}}}} }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{10}}} | | | {{!}}'''Current Age:''' {{!}}{{!}} ~{{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{10}}}}}/31536000}}*3}}}} turns}}
+
{{#ifeq: {{{10}}} | | | {{!}}'''Current Age:''' {{!}}{{!}} ~{{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{10}}}/31536000}}*3}}}} turns}}
 
|-valign="top"
 
|-valign="top"
 
{{#ifeq: {{#external_value:ename}} | | {{#ifeq: {{{egg|}}} | | | {{!}}'''Egg Name:''' {{!}}{{!}} {{{egg}}} }} | {{!}}'''Egg Name:''' {{!}}{{!}} {{#external_value:ename}} Egg }}
 
{{#ifeq: {{#external_value:ename}} | | {{#ifeq: {{{egg|}}} | | | {{!}}'''Egg Name:''' {{!}}{{!}} {{{egg}}} }} | {{!}}'''Egg Name:''' {{!}}{{!}} {{#external_value:ename}} Egg }}

Revision as of 04:46, 16 December 2015

{{{1}}} {{{2}}} {{{3}}} {{{4}}} {{{5}}} {{{6}}} {{{7}}} {{{8}}} {{{9}}} {{{10}}} {{{11}}} {{{12}}} {{{13}}} {{{14}}} {{{15}}}

{{#ifeq: {{{10}}} | | | |Current Age: || ~Expression error: Unexpected < operator.
{{{2}}} {{{3}}}
Impressee [[{{{6}}}]]
Hatching Date: Error: Invalid time.
Lineage: Here