「Template:FishLocationEntry」修訂間的差異
跳至導覽
跳至搜尋
Margotbean(討論 | 貢獻) |
Margotbean(討論 | 貢獻) 小 (文本替换 - 替换“{{englishdoc}}”为“{{Englishdoc}}”) |
||
(未顯示同一使用者於中間所作的 3 次修訂) | |||
行 1: | 行 1: | ||
− | < | + | <includeonly> |
|- | |- | ||
|colspan="{{#if:{{{location|}}}|1|2}}" style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; text-align: {{#if:{{{fish|}}}|center|}}; line-height:16px;" | {{#if:{{{fish|}}}|{{#if:{{{alt|}}}|{{name|{{{fish|}}}|alt={{{alt|}}}|size=16}}|{{name|{{{fish|}}}|size=16}}}}|{{Season|{{{season|}}}}}}} | |colspan="{{#if:{{{location|}}}|1|2}}" style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}}; text-align: {{#if:{{{fish|}}}|center|}}; line-height:16px;" | {{#if:{{{fish|}}}|{{#if:{{{alt|}}}|{{name|{{{fish|}}}|alt={{{alt|}}}|size=16}}|{{name|{{{fish|}}}|size=16}}}}|{{Season|{{{season|}}}}}}} | ||
{{#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|}}}| | + | | 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;"|