Шаблон:FishLocationEntry: различия между версиями
Katzeus (обсуждение | вклад) (Новая страница: «<onlyinclude> |- |colspan="{{#if:{{{location|}}}|1|2}}" style="background: #{{#switch:{{{season|}}}|Spring = FBE3D5|Summer = C5DFB4|Fall = FEE59A|Winter = BCD6ED}…») |
Cimex (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<onlyinclude> | <onlyinclude> | ||
|- | |- | ||
− | |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|}}}|{{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|}}}|{{name|{{{fish|}}}|size=16|alt={{{rus|}}}}}|{{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}}}| | + | {{!}}colspan="{{{offset}}}" style="background: #{{#switch:{{{timeofday}}}|Night = {{#switch:{{{weather}}}|Дождливая = 09B0EE|Ясная = FEBF15|Снежная = 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|}}}| | + | | colspan="{{#if:{{{offset|}}}|{{{length|}}}|{{#switch:{{{timeofday|}}}|Night = {{#expr: 20 - {{{length|}}}}}|{{{length|}}}}}}}" style="background: #{{#switch:{{{timeofday|}}}|Night = |{{#switch:{{{weather|}}}|Дождливая = 09B0EE|Ясная = FEBF15|Снежная = 09B0EE|90CF53}}}}; text-align: center; line-height: 16px;"| {{#switch:{{{timeofday|}}}|Night = |{{#if:{{{weather|}}}|<i>{{{weather|}}} day only</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|}}}| | + | | 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|}}}|Дождливая = 09B0EE|Ясная = FEBF15|Снежная = 09B0EE|90CF53}}|}}; text-align: center; line-height:16px;"| {{#switch:{{{timeofday|}}}|Night = {{#if:{{{weather|}}}|<i>{{{weather|}}} погода{{#if:{{{snow|}}}{{!}} (Нельзя поймать зимой)}}</i>|}}|}}</onlyinclude><noinclude>{{englishdoc}}</noinclude> |
Версия 08:09, 10 августа 2017
|- |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;"| Для получения подробной информации о данном шаблоне обратитесь к документации на английском языке.
Применение
Этот шаблон можно использовать путем ввода следующего на соответствующей странице:
{{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;"|