「模板:CalcBcDate」:各本之異

[底本][底本]
刪去的內容 新增的內容
WikiCantona
無編輯摘要
Hillgentleman
{{# , -space
第一行:
{{ #ifexpr: ({{{1|1}}} + {{{2|0}}} = 0 and {{{1|1}}} < 0 or {{{1|1}}} + {{{2|0}}} = -10 and {{{1|1}}} >= 0) and {{#ifeq: {{{3|y}}} | d | 1 | 0 }}
|前0|{{ #ifexpr: {{ #switch: {{{3|y}}}
| d = {{#expr: {{{1|1}}} + {{{2|0}}} - (10 * (2 * ({{{2|0}}} > 0) - 1) * (({{{1|1}}} * {{{2|0}}}) < 0 and ({{{1|1}}} * ({{{1|1}}} + {{{2|0}}}) < 0) or {{{1|1}}} = 0 and {{{2|0}}} < 0)) }}
| c
| y = {{#expr: {{{1|1}}} + {{{2|0}}} + ((2 * ({{{2|0}}} > 0) - 1) * (({{{1|1}}} * {{{2|0}}}) < 0 and ({{{1|1}}} * ({{{1|1}}} + {{{2|0}}}) <= 0))) }}
}} < 0|前{{ #switch: {{{3|y}}}
| d = {{#expr: 0 - ({{{1|1}}} + {{{2|0}}} - (10 * (2 * ({{{2|0}}} > 0) - 1) * (({{{1|1}}} * {{{2|0}}}) < 0 and ({{{1|1}}} * ({{{1|1}}} + {{{2|0}}}) < 0) or {{{1|1}}} = 0 and {{{2|0}}} < 0))) }}
| c
| y = {{#expr: 0 - ({{{1|1}}} + {{{2|0}}} + ((2 * ({{{2|0}}} > 0) - 1) * (({{{1|1}}} * {{{2|0}}}) < 0 and ({{{1|1}}} * ({{{1|1}}} + {{{2|0}}}) <= 0)))) }}
}}|{{ #switch: {{{3|y}}}
| d = {{#expr: {{{1|1}}} + {{{2|0}}} - (10 * (2 * ({{{2|0}}} > 0) - 1) * (({{{1|1}}} * {{{2|0}}}) < 0 and ({{{1|1}}} * ({{{1|1}}} + {{{2|0}}}) < 0) or {{{1|1}}} = 0 and {{{2|0}}} < 0)) }}
| c