| r293 vs r294 | ||
|---|---|---|
| ... | ... | |
| 1181 | 1181 | == table if (if > print) == |
| 1182 | 1182 | {{{#!if a=1, b=0, c=true, d=false, e="텍스트", f=null |
| 1183 | 1183 | }}} |
| 1184 | ||<table bgcolor=transparent,transparent>table에 지원되는 if 문법은 표로 된 행(row)와 열(data, column) 중 행(row) | |
| 1184 | ||<table bgcolor=transparent,transparent>table에 지원되는 if 문법은 표로 된 행(row)와 열(data, column) 중 행(row)을 출력하느냐 마느냐를 결정하는 rowif가 있다. --tableif를 넣고 싶다면 table을 통으로 if 출력 부분에 넣으라는 모양이다-- 비교할 대상은 기본적으로 변수(variable)이다. | |
| 1185 | 1185 | 곧 {{{#!wiki style="display: inline; font-family: monospace" |
| 1186 | 1186 | {{{#orange <}}}''({{{#deepskyblue if 명령문}}})''{{{#orangered =}}}''({{{#teal 변수}}})''{{{#orange >}}}}}} 식이다. || |
| 1187 | 1187 | ||<rowif=this.a>a에 값 1을 부여하고 {{{<rowif=this.a>}}}를 준다면 해당 행이 출력된다. 반면 this.b=0을 주고 {{{<rowif=this.b>}}}를 주면 출력되지 않는다. (해당 문단의 RAW 참고) || |
| ... | ... |