Difference between revisions of "Template:ClutchLogic"

From NorCon MUSH
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="table table-striped"  style="float:right; width:300px; margin-left: 20px; margin-top: 0px !important;"
+
<includeonly>{{#css: .ui-widget-header {background:{{ {{{2}}} }}  !important;} }}
 +
=Home=
 +
{|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}}}}}2 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;" | gold {{{3}}} x {{{4}}} {{{5}}}
+
!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: {{{flight|}}} | | | {{!}}'''Flight Date:''' {{!}}{{!}} {{{flight}}} }}
+
{{#ifeq: {{#show: {{FULLPAGENAME}} | ?flight-date }} | | | {{!}}'''Flight:''' {{!}}{{!}} {{#show: {{FULLPAGENAME}} | ?flight-date }} }}
 
|-valign="top"  
 
|-valign="top"  
{{#ifeq: {{{clutching|}}} | | | {{!}}'''Clutching Date:''' {{!}}{{!}} {{{clutching}}} }}
+
{{#ifeq: {{#show: {{FULLPAGENAME}} | ?clutching-date }} | | | {{!}}'''Clutching:''' {{!}}{{!}} {{#show: {{FULLPAGENAME}} | ?clutching-date }} }}
 
|-valign="top"  
 
|-valign="top"  
{{!}}'''Hatching Date:''' {{!}}{{!}} {{#time: d F Y | {{{6}}} }}  
+
{{#ifeq:{{{15}}} |true | |{{!}}'''Hatching:''' {{!}}{{!}} {{#time: d F, Y | {{{6}}} }}<br>{{ICDate |secs={{#time: U| {{{6}}} }} }} }}
|-valign="top"
+
{{#ifeq: {{{egg|}}} | | | {{!}}'''Egg Theme:''' {{!}}{{!}} {{{egg}}} }}
+
 
|-valign="top"  
 
|-valign="top"  
{{#ifeq: {{{dragon|}}} | | | {{!}}'''Dragon Theme:''' {{!}}{{!}} {{{dragon}}} }}
+
{{#ifeq: {{{7}}} |0| | {{!}}'''Count:''' {{!}}{{!}} {{{7}}} eggs}}
 
|-valign="top"  
 
|-valign="top"  
{{#ifeq: {{{7}}} | | | {{!}}'''Clutch Count:''' {{!}}{{!}} {{{7}}} eggs}}
+
{{#ifeq: {{{8}}} |0| | {{!}}'''Composition:''' {{!}}{{!}} {{#ifeq:{{{12}}}|0||{{{12}}} gold,&nbsp;}}{{#ifeq:{{{11}}}|0|| {{{11}}} bronze,&nbsp;}}{{#ifeq:{{{10}}}|0|| {{{10}}} brown,&nbsp;}}{{#ifeq:{{{9}}}|0|| {{{9}}} blue}}{{#ifeq:{{{8}}}|0||, and {{{8}}} green}} }}</includeonly>
|-valign="top"
+
{{#ifeq: {{{8}}} | | | {{!}}'''Clutch Composition:''' {{!}}{{!}} {{#ifeq:{{{12}}}|0||{{{12}}} gold,}}{{#ifeq:{{{11}}}|0|| {{{11}}} bronzes,&nbsp;}}{{#ifeq:{{{10}}}|0|| {{{10}}} browns,&nbsp;}}{{#ifeq:{{{9}}}|0|| {{{9}}} blues}}{{#ifeq:{{{8}}}|0||, and {{{8}}} greens}} }}
+
|-valign="top"
+
{{#ifeq: {{{eggs|}}} | | | {{!}}'''Egg List:''' {{!}}{{!}} [[{{{eggs}}}|Eggs]] }}
+
|-valign="top"
+
{{#ifeq: {{{npcs|}}} | | | {{!}}'''NPC List:''' {{!}}{{!}} [[{{{npcs}}}|NPCs]] }}
+
|-
+
!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;" |
+
|}
+

Latest revision as of 00:23, 30 January 2016