Difference between revisions of "Template:ClutchLogic"
From NorCon MUSH
| Line 5: | Line 5: | ||
{{#ifeq: {{{13}}} | | | {{!}} '''Approx. Age:''' {{!}}{{!}} {{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{13}}}}}/31449600}}*3}}}} turns}} | {{#ifeq: {{{13}}} | | | {{!}} '''Approx. Age:''' {{!}}{{!}} {{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{13}}}}}/31449600}}*3}}}} turns}} | ||
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{ | + | {{#ifeq: {{#show: {{BASEPAGENAME}} | ?flight }} | | | {{!}}'''Flight Date:''' {{!}}{{!}} {{#show: {{BASEPAGENAME}} | ?flight }} }} |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{ | + | {{#ifeq: {{#show: {{BASEPAGENAME}} | ?clutching }} | | | {{!}}'''Clutching Date:''' {{!}}{{!}} {{#show: {{BASEPAGENAME}} | ?clutching }} }} |
|-valign="top" | |-valign="top" | ||
{{#ifeq:{{{6}}} | | |{{!}}'''Hatching Date:''' {{!}}{{!}} {{#time: d F Y | {{{6}}} }} }} | {{#ifeq:{{{6}}} | | |{{!}}'''Hatching Date:''' {{!}}{{!}} {{#time: d F Y | {{{6}}} }} }} | ||
Revision as of 06:06, 21 January 2016
| gold {{{3}}} x {{{4}}} {{{5}}} | |
|---|---|
| Approx. Age: | Expression error: Unexpected < operator. turns |
| Hatching Date: | Error: Invalid time. |
| Clutch Count: | {{{7}}} eggs |
| Clutch Composition: | {{{12}}} gold,{{{11}}} bronze, {{{10}}} brown, {{{9}}} blue, and {{{8}}} green |