Diferenças entre edições de "Predefinição:FishLocationEntry"

Fonte: Stardew Valley Wiki
Saltar para a navegação Saltar para a pesquisa
(fix formatting)
m (Substituição de texto - "{{englishdoc}}" por "{{Englishdoc}}")
 
Linha 6: Linha 6:
 
{{#if:{{{location|}}}|{{!}}|}}{{!}}colspan="{{{offset}}}" style="background: #{{#switch:{{{timeofday}}}|Night = {{#switch:{{{weather}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}|}}; text-align: center; line-height: 16px;"{{!}}|}}
 
{{#if:{{{location|}}}|{{!}}|}}{{!}}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>{{#switch:{{{weather|}}} | Rainy = Apenas dias chuvosos|Sunny = Apenas dias ensolarados|Snowy = Apenas dias que neva|}}</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>{{#switch:{{{weather|}}} | Rainy = Apenas dias chuvosos|Sunny = Apenas dias ensolarados|Snowy = Apenas dias que neva|}}</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 = Apenas dias chuvosos|Sunny = Apenas dias ensolarados|Snowy = Apenas dias que neva|}}{{#if:{{{snow|}}}|&nbsp;(Não se encontra no inverno)}}</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 = Apenas dias chuvosos|Sunny = Apenas dias ensolarados|Snowy = Apenas dias que neva|}}{{#if:{{{snow|}}}|&nbsp;(Não se encontra no inverno)}}</i>|}}|}}</includeonly><noinclude>{{Englishdoc}}</noinclude>

Edição atual desde as 17h59min de 24 de outubro de 2022

Consulte a página de documentação em inglês para obter detalhes sobre este predefinição.

Uso

Este modelo pode ser usado inserindo o seguinte em uma página relevante.

{{FishLocationEntry}}

Resulta em...

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

| colspan="" style="background: #90CF53; text-align: center; line-height: 16px;"| | colspan="Erro de expressão: Falta operando para -" style="Erro de expressão: Operador = inesperado background: #; text-align: center; line-height:16px;"|