| r294 vs r295 | ||
|---|---|---|
| ... | ... | |
| 1183 | 1183 | }}} |
| 1184 | 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 | {{{#orange <}}}''({{{#deepskyblue if 명령문}}})''{{{#orangered =}}}''({{{#teal 변수}}})''{{{#orange >}}}}}} | |
| 1186 | {{{#orange <}}}''({{{#deepskyblue if 명령문}}})''{{{#orangered =}}}''({{{#teal 변수}}} 또는 {{{#green 논리식}}})''{{{#orange >}}}}}} 모양으로 넣는다. || | |
| 1187 | 1187 | ||<rowif=this.a>a에 값 1을 부여하고 {{{<rowif=this.a>}}}를 준다면 해당 행이 출력된다. 반면 this.b=0을 주고 {{{<rowif=this.b>}}}를 주면 출력되지 않는다. (해당 문단의 RAW 참고) || |
| 1188 | 1188 | ||<rowif=this.b>테스트 || |
| 1189 | 1189 | ||<rowif=c>논리값을 rowif로 가져올 때 true는 출력되고 false는 출력되지 않는다. || |
| ... | ... |