Diferencia entre revisiones de «Plantilla:FishLocationEntry»

De Stardew Valley Wiki
Ir a la navegación Ir a la búsqueda
m
(fix italics)
Línea 5: Línea 5:
 
{{!}}style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; line-height: 16px;"{{!}}{{{location|}}}|}}{{#if:{{{offset|}}}|
 
{{!}}style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; line-height: 16px;"{{!}}{{{location|}}}|}}{{#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|}}}|{{#switch:{{{weather|}}} | Rainy = Sólo días lluviosos|Sunny = Sólo días soleados|Snowy = Sólo días que nieva|}}|}}}}
+
| 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>{{#switch:{{{weather|}}} | Rainy = Sólo días lluviosos|Sunny = Sólo días soleados|Snowy = Sólo días que nieva}}</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>{{#switch:{{{weather|}}} | Rainy = Sólo días lluviosos|Sunny = Sólo días soleados|Snowy = Sólo días que nieva|}}{{#if:{{{snow|}}}|&nbsp;(No se encuentra en invierno)}}</i>|}}|}}</includeonly><noinclude>{{englishdoc}}</noinclude>
 
| 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>{{#switch:{{{weather|}}} | Rainy = Sólo días lluviosos|Sunny = Sólo días soleados|Snowy = Sólo días que nieva|}}{{#if:{{{snow|}}}|&nbsp;(No se encuentra en invierno)}}</i>|}}|}}</includeonly><noinclude>{{englishdoc}}</noinclude>

Revisión del 18:37 20 jul 2020

Consulte la página de documentación en inglés para obtener más información sobre esta plantilla.

Uso

Esta plantilla se puede utilizar ingresando lo siguiente en una página relevante.

{{FishLocationEntry}}

Resultados en ...

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

| colspan="" style="background: #90CF53; text-align: center; line-height: 16px;"| | colspan="Error en la expresión: falta un operando en -." style="Error en la expresión: operador = no esperado. background: #; text-align: center; line-height:16px;"|