Diferenças entre edições de "Predefinição:FishLocationEntry"
Saltar para a navegação
Saltar para a pesquisa
m |
m (Substituição de texto - "{{englishdoc}}" por "{{Englishdoc}}") |
||
(Há uma edição intermédia do mesmo utilizador que não está a ser apresentada) | |||
Linha 4: | Linha 4: | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
{{!}}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;"{{!}}|}} | + | {{#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|}}}| (Não se encontra no inverno)}}</i>|}}|}}</includeonly><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|}}}| (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;"|