r20
r20
1[[분류:테스트]]
r6
2###################################################################
3## 각주는 개행을 해도 영향을 주지 않는다.
4## if블록 내에서 개행 한번은 개행 안됨. 개행 두번부터 개행이 된다.
5## < 예시 >
6## {{{#!if helloworld == true
7## 내용1}}}{{{!if good == true
8## 내용2}}} ### 개행안됨 (표시: 개행1개행2)
9##
10## {{{#!if helloworld == true
11## 내용1
12## }}}{{{!if good == true
13## 내용2}}} ### 개행안됨 (표시: 개행1개행2)
14##
15## {{{#!if helloworld == true
16## 내용
17##
18## }}}{{{!if good == true
19## }}} ### 개행 됨 (표시: 개행1\n개행2)
20###################################################################
21###################################################################
22{{{#!if alength=a.length, asubstring=a.substring(0,1), a
23a(값:@a@, 길이테스트(@a.length@, @alength@), 부분문자열테스트(@a.substring(0,1)@, @asubstring@);
24
r3
25}}}{{{#!if a == null
r6
26a는 선언되지 않음;
27################ 이렇게 if구문 사이를 구분 가능 ####################
r7
28}}}{{{#!if btype=typeof(b), bparseInt=parseInt(b), btype2=typeof(bparseInt), btype3=typeof(b=='123'), btype4=typeof(b*1), btype5=typeof(b*1.0), b
r6
29b(값:@b@, 타입테스트(@typeof(b)@, @btype@, @bparseInt@, @btype2@, @btype3@, @btype4@));
30
31}}}{{{#!if b == null
32b는 선언되지 않음;
33####################################################################
r15
34}}}{{{#!if cfunc1 = c?.substring
r18
35}}}{{{#!if ct2=typeof(alert), ct3=typeof(c?.trim), ct4=typeof(c?.indexOf), ct5=typeof(parseInt), ct6=typeof(cfunc1), c
36c(값:@c@, @ct2@, @ct3@, @ct4@, @ct5@, @ct6@);
r6
37
r3
38}}}{{{#!if c == null
r6
39c는 선언되지 않음;
40####################################################################
41}}}{{{#!if a == true
r1
42asdfasdf}}}