Diferenças entre edições de "Predefinição:FishLocationEntry"
(Criou a página com "<onlyinclude> |- |colspan="{{#if:{{{location|}}}|1|2}}" style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; text-ali...") |
(Tradução da tabela de pesca do lago da montanha) |
||
Linha 5: | Linha 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|}}}| | + | | 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 = Apenas dias chuvosos|Sunny = Apenas dias ensolarados|Snowy = Apenas dias que neva|}}|}}}} |
− | | 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|}}} | + | | 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|}}} | Rainy = Apenas dias chuvosos|Sunny = Apenas dias ensolarados|Snowy = Apenas dias que neva {{#if:{{{snow|}}}{{!}} (Não encontrado no inverno)}}</i>|}}|}}</onlyinclude><noinclude>{{englishdoc}}</noinclude> |
Revisão das 23h01min de 21 de janeiro de 2018
|- |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;"| 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;"|