Difference between revisions of "Template:FishLocationEntry"

From Stardew Valley Wiki
Jump to navigation Jump to search
(For cleaner Fish Location template)
 
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:{{{timeofday|}}}==Night|{{#expr: 20 - {{{length|}}}|{{{length|}}}}}" style="background: {{#switch:{{{weather|}}}|Rain = #09B0EE|Sunny = #FEBF15|Snow = #09B0EE|#90CF53}};text-align: center;"| {{#if:{{{weather|}}}|{{{weather|}}} day only|}}
+
| colspan="{{#if:{{{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:{{{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="{{#if:{{{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:08, 12 July 2016

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