Difference between revisions of "Template:ClutchLogic"

From NorCon MUSH
(K'del moved page Template:Clutch to Template:HRWClutch)
 
Line 1: Line 1:
#REDIRECT [[Template:HRWClutch]]
+
{|class="table table-striped"  style="float:right; width:300px; 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}}}
 +
|-valign="top"
 +
{{#ifeq: {{{flight|}}} | | | {{!}}'''Flight Date:''' {{!}}{{!}} {{{flight}}} }}
 +
|-valign="top"
 +
{{#ifeq: {{{clutching|}}} | | | {{!}}'''Clutching Date:''' {{!}}{{!}} {{{clutching}}} }}
 +
|-valign="top"
 +
{{!}}'''Hatching Date:''' {{!}}{{!}} {{#time: d F Y | {{{6}}} }}
 +
|-valign="top"
 +
{{#ifeq: {{{egg|}}} | | | {{!}}'''Egg Theme:''' {{!}}{{!}} {{{egg}}} }}
 +
|-valign="top"
 +
{{#ifeq: {{{dragon|}}} | | | {{!}}'''Dragon Theme:''' {{!}}{{!}} {{{dragon}}} }}
 +
|-valign="top"
 +
{{#ifeq: {{{7}}} | | | {{!}}'''Clutch Count:''' {{!}}{{!}} {{{7}}} }}
 +
|-valign="top"
 +
{{#ifeq: {{{8}}} | | | {{!}}'''Clutch Count:''' {{!}}{{!}} {{#ifeq:{{{12}}}|||{{{12}}} gold, }}{{#ifeq:{{{11}}}|||{{{11}}} bronzes, }}{{#ifeq:{{{10}}}|||{{{10}}} browns}}{{#ifeq:{{{9}}}|||,{{{9}}} blues}}{{#ifeq:{{{8}}}|||, {{{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:{{HRW}}; border: {{HRW2}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;" |
 +
|} {{#set:Clutches=HRWClutch:{{BASEPAGENAME}}}} {{#set:Clutch-dam={{{dam}}}}} {{#set:Clutch-sire={{{sire}}}}} {{#set:Clutch-hatchdate={{{hatching}}} 00:00:00}} {{#set:Clutch-weyr=HRW}} {{#set:Clutch-sirecolor={{{sire-color}}}}} {{#set:Clutch-eggs={{{count}}} }}{{#set:Clutch-id={{{id}}} }}

Revision as of 04:13, 21 January 2016

gold {{{3}}} x {{{4}}} {{{5}}}
Hatching Date: Error: Invalid time.
Clutch Count: {{{7}}}
Clutch Count: {{{12}}} gold,{{{11}}} bronzes,{{{10}}} browns,{{{9}}} blues, {{{8}}} greens
The date "{{{hatching}}} 00:00:00" was not understood.
"{{{count}}}" is not a number.