“Template:FishLocationEntry”的版本间的差异
跳到导航
跳到搜索
Margotbean(讨论 | 贡献) |
Margotbean(讨论 | 贡献) 小 (文本替换 - 替换“{{englishdoc}}”为“{{Englishdoc}}”) |
||
(未显示同一用户的1个中间版本) | |||
第4行: | 第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 = | | | 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 = 仅限雨天|Sunny = 仅限晴天|Snowy = 仅限雪天|}}|}}}} | {{#switch:{{{weather|}}}|Rainy = 09B0EE|Sunny = FEBF15|Snowy = 09B0EE|90CF53}}}}; text-align: center; line-height: 16px;"| {{#switch:{{{timeofday|}}}|Night = |{{#if:{{{weather|}}}|{{#switch:{{{weather|}}} | Rainy = 仅限雨天|Sunny = 仅限晴天|Snowy = 仅限雪天|}}|}}}} | ||
− | | 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|}}}|{{#switch:{{{weather|}}} | Rainy = 仅限雨天|Sunny = 仅限晴天|Snowy = 仅限雪天|}}{{#if:{{{snow|}}}{{!}} (无法在冬天找到)}}|}}|}}</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|}}}|{{#switch:{{{weather|}}} | Rainy = 仅限雨天|Sunny = 仅限晴天|Snowy = 仅限雪天|}}{{#if:{{{snow|}}}{{!}} (无法在冬天找到)}}|}}|}}</includeonly><noinclude>{{Englishdoc}}</noinclude> |
2022年10月24日 (一) 17:55的最新版本
有关此模板的详细信息,请参阅英语语言文档页。
用法
可以通过在相关页面上输入以下内容来使用此模板。
{{FishLocationEntry}}
结果是...
|- |colspan="2" style="background: #; text-align: ; line-height:16px;" |
| colspan="" style="background: #90CF53; text-align: center; line-height: 16px;"| | colspan="表达式错误:缺少-的操作数。" style="表达式错误:未预料的=操作符。 background: #; text-align: center; line-height:16px;"|