Difference between revisions of "Template:ClutchLogic"
From NorCon MUSH
| (14 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
{|class="table table-striped" style="float:right; width:350px; margin-left: 20px; margin-top: 0px !important;" | {|class="table table-striped" style="float:right; width:350px; margin-left: 20px; margin-top: 0px !important;" | ||
|- | |- | ||
| − | !colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{ {{{2}}} }}; border: {{{{{2}}}}} | + | !colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{ {{{2}}} }}; border: {{ {{{2}}}2 }} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;" | gold {{{3}}} x {{{4}}} {{{5}}} {{#pagetitle: gold {{{3}}} x {{{4}}} {{{5}}} - {{#time: d F Y | {{{6}}} }} }} |
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq: {{{13}}} | | | {{!}} '''Approx. Age:''' {{!}}{{!}} {{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{13}}}}}/31449600}}*3}}}} turns}} | + | {{#ifeq: {{{13}}} |0| | {{!}} '''Approx. Age:''' {{!}}{{!}} {{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{13}}}}}/31449600}}*3}}}} turns}} |
|-valign="top" | |-valign="top" | ||
{{#ifeq: {{#show: {{FULLPAGENAME}} | ?flight-date }} | | | {{!}}'''Flight:''' {{!}}{{!}} {{#show: {{FULLPAGENAME}} | ?flight-date }} }} | {{#ifeq: {{#show: {{FULLPAGENAME}} | ?flight-date }} | | | {{!}}'''Flight:''' {{!}}{{!}} {{#show: {{FULLPAGENAME}} | ?flight-date }} }} | ||
| Line 11: | Line 11: | ||
{{#ifeq: {{#show: {{FULLPAGENAME}} | ?clutching-date }} | | | {{!}}'''Clutching:''' {{!}}{{!}} {{#show: {{FULLPAGENAME}} | ?clutching-date }} }} | {{#ifeq: {{#show: {{FULLPAGENAME}} | ?clutching-date }} | | | {{!}}'''Clutching:''' {{!}}{{!}} {{#show: {{FULLPAGENAME}} | ?clutching-date }} }} | ||
|-valign="top" | |-valign="top" | ||
| − | {{#ifeq:{{{ | + | {{#ifeq:{{{15}}} |true | |{{!}}'''Hatching:''' {{!}}{{!}} {{#time: d F, Y | {{{6}}} }}<br>{{ICDate |secs={{#time: U| {{{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> |