Difference between revisions of "Template:FishLocationEntry"

From Stardew Valley Wiki
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
|colspan="{{#if:{{{location|}}}|1|2}}" style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; text-align: {{#if:{{{fish|}}}|center|}}; line-height:16px;" | {{#if:{{{fish|}}}|{{name|{{{fish|}}}|size=16}}|{{Season|{{{season|}}}}}}}
 
|colspan="{{#if:{{{location|}}}|1|2}}" style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; text-align: {{#if:{{{fish|}}}|center|}}; line-height:16px;" | {{#if:{{{fish|}}}|{{name|{{{fish|}}}|size=16}}|{{Season|{{{season|}}}}}}}
 
{{#if:{{{location|}}}|
 
{{#if:{{{location|}}}|
{{!}}style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; line-height: 16px;"{{!}}{{{location|}}}|}}
+
{{!}}style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; line-height: 16px;"{{!}}{{{location|}}}|}}{{#if:{{{offset|}}}|
{{#if:{{{offset|}}}|
 
 
{{!}}colspan="{{{offset}}}" style="background: #{{#switch:{{{timeofday}}}|Night = {{#switch:{{{weather}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}|}}; text-align: center; line-height: 16px;"{{!}}|}}
 
{{!}}colspan="{{{offset}}}" style="background: #{{#switch:{{{timeofday}}}|Night = {{#switch:{{{weather}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}|}}; text-align: center; line-height: 16px;"{{!}}|}}
 
| colspan="{{#if:{{{offset|}}}|{{{length|}}}|{{#switch:{{{timeofday|}}}|Night = {{#expr: 20 - {{{length|}}}}}|{{{length|}}}}}}}" style="background: #{{#switch:{{{timeofday|}}}|Night = |{{#switch:{{{weather|}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}}}; text-align: center; line-height: 16px;"| {{#switch:{{{timeofday|}}}|Night = |{{#if:{{{weather|}}}|<i>{{{weather|}}} day only</i>|}}}}
 
| colspan="{{#if:{{{offset|}}}|{{{length|}}}|{{#switch:{{{timeofday|}}}|Night = {{#expr: 20 - {{{length|}}}}}|{{{length|}}}}}}}" style="background: #{{#switch:{{{timeofday|}}}|Night = |{{#switch:{{{weather|}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}}}; text-align: center; line-height: 16px;"| {{#switch:{{{timeofday|}}}|Night = |{{#if:{{{weather|}}}|<i>{{{weather|}}} day only</i>|}}}}
 
| colspan="{{#if:{{{offset|}}}|{{#expr: 20 - {{{offset|}}} - {{{length|}}}}}|{{#switch:{{{timeofday|}}}|Night = {{{length|}}}|{{#expr: 20 - {{{length|}}}}}}}}}" style="{{#ifexpr:{{{length|}}} = 20|display:none;|}} background: #{{#switch:{{{timeofday|}}}|Night = {{#switch:{{{weather|}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}|}}; text-align: center; line-height:16px;"| {{#switch:{{{timeofday|}}}|Night = {{#if:{{{weather|}}}|<i>{{{weather|}}} day only</i>|}}|}}
 
| colspan="{{#if:{{{offset|}}}|{{#expr: 20 - {{{offset|}}} - {{{length|}}}}}|{{#switch:{{{timeofday|}}}|Night = {{{length|}}}|{{#expr: 20 - {{{length|}}}}}}}}}" style="{{#ifexpr:{{{length|}}} = 20|display:none;|}} background: #{{#switch:{{{timeofday|}}}|Night = {{#switch:{{{weather|}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}|}}; text-align: center; line-height:16px;"| {{#switch:{{{timeofday|}}}|Night = {{#if:{{{weather|}}}|<i>{{{weather|}}} day only</i>|}}|}}
 
</onlyinclude>
 
</onlyinclude>

Revision as of 15:39, 14 July 2016

|- |colspan="2" style="background: #; text-align: ; line-height:16px;" |

| colspan="" style="background: #90CF53; text-align: center; line-height: 16px;"| | colspan="Expression error: Missing operand for -." style="Expression error: Unexpected = operator. background: #; text-align: center; line-height:16px;"|