Difference between revisions of "Template:FishLocationEntry"

From Stardew Valley Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
 
| style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; text-align: center;" | {{name|{{{fish|}}}}}
 
| style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; text-align: center;" | {{name|{{{fish|}}}}}
| colspan="{{#if:{{#expr:{{{timeofday|}}}==Night}}|{{#expr: 20 - {{{length|}}}|{{{length|}}}}}" style="background: #{{#switch:{{{weather|}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}; text-align: center;"| {{#if:{{{weather|}}}|{{{weather|}}} day only|}}
+
| colspan="{{#ifexpr:{{{timeofday|}}}=Night|{{#expr: 20 - {{{length|}}}|{{{length|}}}}}" style="background: #{{#switch:{{{weather|}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}; text-align: center;"| {{#if:{{{weather|}}}|{{{weather|}}} day only|}}
| colspan="{{#if:{{#expr:{{{timeofday|}}}==Night}}|{{{length|}}}|{{#expr:20 - {{{length|}}}}}" style="background: #{{#switch:{{{weather|}}}|Rain = 09B0EE|Sunny = FEBF15|Snow = 09B0EE|90CF53}}; text-align: center;"| {{#if:{{#expr:{{{weather|}}} and {{{timeofday}}}==Night}}|{{{weather|}}} day only|}}
+
| colspan="{{#ifexpr:{{{timeofday|}}}=Night|{{{length|}}}|{{#expr:20 - {{{length|}}}}}" style="background: #{{#switch:{{{weather|}}}|Rain = 09B0EE|Sunny = FEBF15|Snow = 09B0EE|90CF53}}; text-align: center;"| {{#if:{{#expr:{{{weather|}}} and {{{timeofday}}}==Night}}|{{{weather|}}} day only|}}
 
</onlyinclude>
 
</onlyinclude>

Revision as of 17:14, 12 July 2016

| style="background: #; text-align: center;" | 24px [[]] | colspan="{{#ifexpr:=Night|Expression error: Missing operand for -." style="background: #90CF53; text-align: center;"| | colspan="{{#ifexpr:=Night||Expression error: Missing operand for -." style="background: #90CF53; text-align: center;"| day only