Difference between revisions of "Template:ClutchLogic"
From NorCon MUSH
| Line 7: | Line 7: | ||
{{#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: {{#show: {{FULLPAGENAME}} | ?flight-date }} | | | {{!}}'''Flight | + | {{#ifeq: {{#show: {{FULLPAGENAME}} | ?flight-date }} | | | {{!}}'''Flight:''' {{!}}{{!}} {{#show: {{FULLPAGENAME}} | ?flight-date }} }} |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{#show: {{FULLPAGENAME}} | ?clutching-date }} | | | {{!}}'''Clutching | + | {{#ifeq: {{#show: {{FULLPAGENAME}} | ?clutching-date }} | | | {{!}}'''Clutching:''' {{!}}{{!}} {{#show: {{FULLPAGENAME}} | ?clutching-date }} }} |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq:{{{6}}} | | |{{!}}'''Hatching | + | {{#ifeq:{{{6}}} | | |{{!}}'''Hatching:''' {{!}}{{!}} {{#time: d F Y | {{{6}}} }} }} |
|-valign="top" | |-valign="top" | ||
{{#ifeq: {{{7}}} |0| | {{!}}'''Count:''' {{!}}{{!}} {{{7}}} eggs}} | {{#ifeq: {{{7}}} |0| | {{!}}'''Count:''' {{!}}{{!}} {{{7}}} eggs}} | ||
|-valign="top" | |-valign="top" | ||
{{#ifeq: {{{8}}} |0| | {{!}}'''Composition:''' {{!}}{{!}} {{#ifeq:{{{12}}}|0||{{{12}}} gold,}}{{#ifeq:{{{11}}}|0|| {{{11}}} bronze, }}{{#ifeq:{{{10}}}|0|| {{{10}}} brown, }}{{#ifeq:{{{9}}}|0|| {{{9}}} blue}}{{#ifeq:{{{8}}}|0||, and {{{8}}} green}} }}</includeonly> | {{#ifeq: {{{8}}} |0| | {{!}}'''Composition:''' {{!}}{{!}} {{#ifeq:{{{12}}}|0||{{{12}}} gold,}}{{#ifeq:{{{11}}}|0|| {{{11}}} bronze, }}{{#ifeq:{{{10}}}|0|| {{{10}}} brown, }}{{#ifeq:{{{9}}}|0|| {{{9}}} blue}}{{#ifeq:{{{8}}}|0||, and {{{8}}} green}} }}</includeonly> | ||