r2700
r2597
1[[분류:냥]]
r2684
2
r2696
3{{{+1 {{{+1 +1+1 > 14.25 * 1.28889 * 1.28889 => 23.67259259300074px}}}}}}
4{{{+2 +2 > 14.25 * 1.38889 => 19.791666666825px}}}
5||<tablebgcolor=transparent><rowbgcolor=#00a495><rowcolor=#fff> 입력 || 출력 || 적용 크기 || 입력 || 출력 || 적용 크기 ||
6|| {{{기본}}} || 기본 ||1.00000em || {{{기본}}} || 기본 ||1.00000em ||
7|| {{{{{{+1 +1단계}}}}}} || {{{+1 +1단계}}} ||1.28889em || {{{{{{-1 -1단계}}}}}} || {{{-1 -1단계}}} ||0.92589em ||
8|| {{{{{{+2 +2단계}}}}}} || {{{+2 +2단계}}} ||1.38889em || {{{{{{-2 -2단계}}}}}} || {{{-2 -2단계}}} ||0.83333em ||
9|| {{{{{{+3 +3단계}}}}}} || {{{+3 +3단계}}} ||1.48144em || {{{{{{-3 -3단계}}}}}} || {{{-3 -3단계}}} ||0.74067em ||
10|| {{{{{{+4 +4단계}}}}}} || {{{+4 +4단계}}} ||1.57400em || {{{{{{-4 -4단계}}}}}} || {{{-4 -4단계}}} ||0.64811em ||
11|| {{{{{{+5 +5단계}}}}}} || {{{+5 +5단계}}} ||1.66667em || {{{{{{-5 -5단계}}}}}} || {{{-5 -5단계}}} ||0.62222em ||
12||<-6><bgcolor=#00a495><color=#fff> 응용 ||
13||<-3> {{{{{{+5 {{{+5 +5+5단계}}}}}}}}} ||<-3> {{{+5 {{{+5 +5+5단계}}}}}} ||
14[include(틀:문서 가져옴/the seed, 위키=나, 문서명=나무위키:문법 도움말, 버전=882, UUID=0c47b950-9eec-41ba-a39b-e66d937d52b9)]
15
r2697
16##@||<tablebgcolor=transparent><rowbgcolor=#00a495><rowcolor=#fff> 입력 || 출력 || 적용 크기 || 입력 || 출력 || 적용 크기 ||
17##@|| {{{기본}}} || 기본 ||1.00000em || {{{기본}}} || 기본 ||1.00000em ||
18##@|| {{{{{{+1 +1단계}}}}}} || {{{+1 +1단계}}} ||1.28889em || {{{{{{-1 -1단계}}}}}} || {{{-1 -1단계}}} ||0.92589em ||
19##@|| {{{{{{+2 +2단계}}}}}} || {{{+2 +2단계}}} ||1.38889em || {{{{{{-2 -2단계}}}}}} || {{{-2 -2단계}}} ||0.83333em ||
20##@|| {{{{{{+3 +3단계}}}}}} || {{{+3 +3단계}}} ||1.48144em || {{{{{{-3 -3단계}}}}}} || {{{-3 -3단계}}} ||0.74067em ||
21##@|| {{{{{{+4 +4단계}}}}}} || {{{+4 +4단계}}} ||1.57400em || {{{{{{-4 -4단계}}}}}} || {{{-4 -4단계}}} ||0.64811em ||
22##@|| {{{{{{+5 +5단계}}}}}} || {{{+5 +5단계}}} ||1.66667em || {{{{{{-5 -5단계}}}}}} || {{{-5 -5단계}}} ||0.62222em ||
23
r2682
24{{{#!if ap=5, bp=0, bb=""
25}}}{{{#!if ap-bp>=9
26{{{#!if bp+=9, bb=bb+"000000000"
27}}}}}}{{{#!if ap-bp>=4
28{{{#!if bp+=4, bb=bb+"0000"
29}}}}}}{{{#!if ap-bp>=2
30{{{#!if bp+=2, bb=bb+"00"
31}}}}}}{{{#!if ap-bp>=2
32{{{#!if bp+=2, bb=bb+"00"
33}}}}}}{{{#!if ap-bp>=1
34{{{#!if bp+=1, bb=bb+"0"
35}}}}}}
36@ap@ @bp@
37{{{#!if bl = bb.length
38}}}@bl@자
39----
40{{{#!if ap=5, bp=0, bb=""
41}}}{{{#!if ap>bp
42{{{#!if bp=ap, bb+="000000000000000000"
43}}}{{{#!if bb=bb.substr(0,ap)
44}}}}}}
45@ap@ @bp@
46{{{#!if bl = bb.length
47}}}@bl@자
48##
r2662
49||<#fff"> <#fff'''{{{#red \"}}}'''>왜 문제가 없지 ||
r2629
50##
51folding, wiki(스타일), html은 뒤에 띄어쓰기 없어도 작동.
52다만 dark-style은 꼭 "-"만 사용 가능.
53if, syntax는 띄어쓰기 없을 시 에러.
54##
r2624
55== 문단 ==
r2671
56{{{#!folding 계산기 테스트
r2636
57{{{-5
r2643
58[include(틀:계산기2, a=1.1, f=-, b=-1.2)]
r2637
59[include(틀:계산기2, a=9223372036854775808, f=-, b=-9223372036854775800)]
r2636
60[include(틀:계산기2, a=., f=-, b=-.)]
61[include(틀:계산기2, a=-, f=+, b=-)]
62[include(틀:계산기2, a=10, f=/, b=3)]
r2624
63[include(틀:계산기2, a=-5, f=/, b=200)]
64[include(틀:계산기2, a=-5, f=*, b=200)]
65[include(틀:계산기2, a=123459, f=/, b=2)]
66[include(틀:계산기2, a=12345, f=-, b=67890)]
r2630
67[include(틀:계산기2, a=123456789012345678, f=-, b=-901234567890123456)]
r2632
68[include(틀:계산기2, a=123456789012345678.901234567890123456, f=+, b=789012345678901234.567890123456789012)]
r2639
69[include(틀:계산기2, a=123456789012345678.9012345678901234567, f=+, b=789012345678901234.567890123456789012)]
r2624
70[include(틀:계산기2, a=-1, f=*, b=-5)]
71[include(틀:계산기2, a=-3, f=/, b=7)]
r2633
72[include(틀:계산기2, a=1.1, f=+, b=0.1)]
r2634
73[include(틀:계산기2, a=1.123, f=+, b=0.877)]
74[include(틀:계산기2, a=1.123, f=+, b=0.878)]
r2635
75[include(틀:계산기2, a=1.333, f=-, b=4.354)]
r2638
76[include(틀:계산기2, a=7.89, f=-, b=12.345)]
r2640
77[include(틀:계산기2, a=1, f=-, b=0.000000000000000001)]
r2691
78[include(틀:계산기2, a=0.999999999999999999, f=+, b=0.000000000000000001)]
r2692
79[include(틀:계산기2, a=1.000000000000000002, f=-, b=2.000000000000000001)]
r2694
80[include(틀:계산기2, a=100000000000000000, f=*, b=100000000000000000)]
r2693
81[include(틀:계산기2, a=123456789012345678, f=*, b=789012345678901234)]
r2695
82[include(틀:계산기2, a=123456789012345678.901234567890123456, f=*, b=789012345678901234.567890123456789012)]
83[include(틀:계산기2, a=0, f=*, b=789012345678901234.567890123456789012)]}}}
r2671
84아직은 소수끼리의 계산은 되지 않는 모양이다. 사실 그도 그럴 것이 gauss함수를 가져오지 않았기 때문)}}}
r2624
85
86{{{#!if json={'a':'b', 'c':'d'}
87json={'a':'b', 'c':'d'}[br]
88}}}{{{#!if json['a'] == 'b'
89json['a'] == 'b'[br]
90}}}{{{#!if list = ['a', 'b']
91list = ['a', 'b'][br]
92}}}{{{#!if list[1] == 'b'
93list[1] == 'b'[br]
94}}}
95
96[[../냥]] < 볼드체. 단, {{{../}}}뒤에 붙는 이름이 자기자신과 같은 이름이면 볼드체, 다른 이름(예 : [[../냥냥]], [[../냥/냥]])이면 볼드체가 아니다. 문서명이 '[[냥/냥|(상위문서명)/냥]]'일 경우에도 볼드체가 된다. 이 문서에는 상위 문서가 없으니 그냥 '냥' 으로 링크되는 듯 하다.
97[[냥#]] < 볼드체
98[[냥#ㅁㄴㅇㄹ|냥#ㅁㄴㅇㄹ]] < 볼드체아님
99[[문서:냥]] < 볼드체아님
100
101[include(틀:계산기, r=13)]
102\[include(틀:계산기, r=13)]
103생각해보니까 그냥 r을 지정할 수도 있겠구나
104[include(틀:계산기, a=123456789, f=+, b=1)]
105[include(틀:계산기, a=123456789, f=-, b=1)]
106[include(틀:계산기, a=123459, f=*, b=2)]
107[include(틀:계산기, a=123459, f=/, b=2)]
r2646
108== 그래프구상 ==
109{{{#!if i=0, x=0
r2648
110}}}<math>x^2</math>
r2646
111{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
112}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
113}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
114}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
115}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
116}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
117}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
118}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
119}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
120}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
121}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
122}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
123}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
124}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
125}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
126}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
127}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
128}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
129}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
130}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
131}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
132}}}{{{#!if x1 = i**2, x2 = (i+1)**2, this['y'+i]=(x2-x1), this['v'+i]=x1, i+=1
r2652
133}}}{{{#!if true
r2669
134#tk : thickness (px) ; wd : width (px)
135{{{#!if tk=1+0.0, color="#666", wd=10+0.0
136}}}}}}{{{#!if tk=(+tk)/2, tk=tk.toString(), dis="display: inline-table; background: linear-gradient", rb="to right bottom", rt="to right top", tp="transparent", c1="calc(50% - "+tk+"px)", c2="calc(50% + "+tk+"px)", c3=tp+" "+c1+", "+color+" "+c1+" "+c2+", "+tp+" "+c2, hg="height: ", wd=wd.toString(), wdx="width: "+wd+"px", vag="vertical-align: calc"
r2646
137}}}
r2669
138{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y1@px; @wdx@; @vag@(@v1@px + @tk@px)"
139}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y2@px; @wdx@; @vag@(@v2@px + @tk@px);"
140}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y3@px; @wdx@; @vag@(@v3@px + @tk@px);"
r2670
141}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y4@px; @wdx@; @vag@(@v4@px + @tk@px);"
142}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y5@px; @wdx@; @vag@(@v5@px + @tk@px);"
143}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y6@px; @wdx@; @vag@(@v6@px + @tk@px);"
144}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y7@px; @wdx@; @vag@(@v7@px + @tk@px);"
145}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y8@px; @wdx@; @vag@(@v8@px + @tk@px);"
146}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y9@px; @wdx@; @vag@(@v9@px + @tk@px);"
147}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y10@px; @wdx@; @vag@(@v10@px + @tk@px)"
148}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y11@px; @wdx@; @vag@(@v11@px + @tk@px)"
149}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y12@px; @wdx@; @vag@(@v12@px + @tk@px)"
150}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y13@px; @wdx@; @vag@(@v13@px + @tk@px)"
151}}}{{{#!wiki style="@dis@(@rb@, @c3@); @hg@@y14@px; @wdx@; @vag@(@v14@px + @tk@px)"
r2646
152}}}
r2624
153
r2657
154== 나무나무마크구상 ==
r2681
155 * 할거 > 분류
r2680

(r2677으로 되돌림)
156## \{{{#!html <div style="clear: both"/>}}}
157## == clearfix
158input={{{냥[[링크|냥]]냥[[https://namu.wiki/w/사용자:nyangx3|냥]]냥}}}
159{{{#!wiki style="display: none"
160{{{#!if input='냥[[링크|냥]]냥[[https://namu.wiki/w/사용자:nyangx3|냥]]냥'
r2657
161}}}
r2680

(r2677으로 되돌림)
162{{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8', outLink=''
163}}}{{{#!if linkOpen = input.indexOf('[['), linkClose = input.indexOf(']]')
r2674
164}}}{{{#!if linkRaw = input.substring(linkOpen, linkClose+2)
165}}}{{{#!if linkOpen != -1 && linkClose != -1 && linkOpen+2 < linkClose
166## [[]] 인 경우 linkOpen+2 == linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^
167 {{{#!if divider = linkRaw.indexOf('|')
168 }}}{{{#!if divider == -1
169##[[링크]]
170 {{{#!if href = linkRaw.substring(2, linkRaw.length-2)
171 }}}
172 }}}{{{#!if divider != -1
173 {{{#!if (divider == 2) && (divider+1 == linkRaw.length-2)
174 {{{#!if break = true, input = input.substring(0, linkOpen) + input.substring(linkClose+2)
175##[[|]] > 출력 x
176 }}}
177 }}}
178 {{{#!if (divider == 2) && !break
179 {{{#!if break = true, href = linkRaw.substring(divider+1, linkRaw.length-2), linkPrint = href
180##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로.
181 }}}
182 }}}
183 {{{#!if (divider+1 == linkRaw.length-2) && !break
184##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로.
185 {{{#!if break = true, href = linkRaw.substring(2, divider), linkPrint = href
186 @linkPrint@
187 @href@
188 }}}
189 }}}
190 {{{#!if !break
191 {{{#!if href = linkRaw.substring(2, divider), linkPrint = linkRaw.substring(divider+1, linkRaw.length-2)
192 }}}
193 }}}
194 }}}
195 {{{#!if isLink = (href.startsWith('https://') || href.startsWith('http://') || href.startsWith('ftp://')), isLink
r2680

(r2677으로 되돌림)
196 {{{#!if linkColor = 'none', outLink = 'asdf'
r2674
197 }}}
198 }}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory
199## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기
200 }}}{{{#!if !(isCategory || isLink)
201 {{{#!if href = 'https://theseed.io/w/'+href
202 }}}
r2680

(r2677으로 되돌림)
203 }}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -1.2em' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2)
r2674
204 }}}
r2657
205}}}
r2680

(r2677으로 되돌림)
206###########
207{{{#!if h=null,a=null,b=false,c='#0275d8',d=''
208}}}{{{#!if e=input.indexOf('[['),x=input.indexOf(']]')
209}}}{{{#!if z=input.substring(e,x+2)
210}}}{{{#!if e!=-1&&x!=-1&&e+2<x
211{{{#!if g=z.indexOf('|')
212}}}{{{#!if g==-1
213{{{#!if h=z.substring(2,z.length-2)
214}}}}}}{{{#!if g!=-1
215{{{#!if (g==2)&&(g+1==z.length-2)
216{{{#!if b=true,input=input.substring(0,e)+input.substring(x+2)
217}}}}}}{{{#!if (g==2)&&!b
218{{{#!if b=true,h=z.substring(g+1,z.length-2),a=h
219}}}}}}{{{#!if (g+1==z.length-2)&&!b
220{{{#!if b=true,h=z.substring(2,g),a=h
221}}}}}}{{{#!if !b
222{{{#!if h=z.substring(2,g),a=z.substring(g+1,z.length-2)
223}}}}}}}}}{{{#!if isLink=(h.startsWith('https://')||h.startsWith('http://')||h.startsWith('ftp://')),isLink
224{{{#!if c='none',d='asdf'
225}}}}}}{{{#!if isCategory=(h.startsWith('분류:')),isCategory
226}}}{{{#!if !(isCategory||isLink)
227{{{#!if h='https://theseed.io/w/'+h
228}}}}}}{{{#!if input=input.substring(0,e)+'<div style="display:inline-table"><div style="overflow:hidden"><div style="margin-left:-1.2em'+d+'"><a href="'+h+'"><div style="color:'+c+';display:inline">'+a+'</div></a></div></div></div>'+input.substring(x+2)
229}}}}}}
230}}}
231output: {{{#!html @input@}}}
r2681
232
233== 나무나무마크구상2 ==
r2700
234할거 : darkstyle
r2681
235리터럴귀찮음 if folding syntax는 될리가없음
r2700
236input='냥\{\{\{#!html 냥<div style="color: red; display: inline">냥</div>\}\}\}냥\{\{\{#!wiki style="color: blue; display: inline"<br>냥텍스트\}\}\}asdf\{\{\{#;color:red,#f00 asdf\}\}\}\{\{\{-3 size\}\}\}'
r2681
237##괄호를 ) 를 찾고 (를 나중에 찾는 방식이라(이게 로직이 더 간단함 근데 처리부분 길어지면 바꿀수도) input에 다른 거 오면 창남ㅇㅇ
238
239{{{#!wiki style="display: none"
r2700
240{{{#!if input='냥\{\{\{#!html 냥<div style="color: red; display: inline">냥</div>\}\}\}냥\{\{\{#!wiki style="color: blue; display: inline"<br>냥텍스트\}\}\}asdf\{\{\{#;color:red,#f00 asdf\}\}\}\{\{\{-6 size\}\}\}'
r2690
241}}}
242##############################
243{{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true
r2681
244 {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen
245 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
246 }}}
247 {{{#!if _ParOpen == -1
248 {{{#!if Match=true
249 }}}
250 }}}{{{#!if _ParOpen != -1
251 {{{#!if ParOpen=_ParOpen
252 }}}
253 }}}
254############################
255 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
256 }}}
257 {{{#!if _ParOpen == -1
258 {{{#!if Match=true
259 }}}
260 }}}{{{#!if _ParOpen != -1
261 {{{#!if ParOpen+=_ParOpen+3
262 }}}
263 }}}
264############################
265 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
266 }}}
267 {{{#!if _ParOpen == -1
268 {{{#!if Match=true
269 }}}
270 }}}{{{#!if _ParOpen != -1
271 {{{#!if ParOpen+=_ParOpen+3
272 }}}
273 }}}
274 }}}
r2686
275###########################
r2681
276 {{{#!if Match
r2688
277 {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html'
r2686
278 {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3)
279 }}}
280 }}}
r2688
281 {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki'
r2687
282 {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=')
283 }}}{{{#!if BrL != -1 && StyleL!=-1
284 {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL)
285 }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3)
286 }}}
287 }}}
288 }}}
r2690
289 {{{#!if input.substr(ParOpen, 4) == '\{\{\{#'
290 {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',')
291 }}}{{{#!if Blank!=-1
292 {{{#!if Comma != -1
293 {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank)
294 }}}
295 }}}
296 {{{#!if Comma == -1
297 {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor
298 }}}
299 }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose)
300 }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3)
301##유효성 검사는 뺌. 귀찮고 넣으면 길어짐.
302 }}}
303 }}}
304 }}}
r2700
305 {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-'
306 {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ')
307 }}}{{{#!if Blank==5
308 {{{#!if Size=input.substr(ParOpen+Blank-2, 2)
309 }}}
310 {{{#!if Size == '+1'
311 {{{#!if Em='1.28889em'
312 }}}}}}{{{#!if Size == '+2'
313 {{{#!if Em='1.38889em'
314 }}}}}}{{{#!if Size == '+3'
315 {{{#!if Em='1.48144em'
316 }}}}}}{{{#!if Size == '+4'
317 {{{#!if Em='1.57400em'
318 }}}}}}{{{#!if Size == '+5'
319 {{{#!if Em='1.66667em'
320 }}}}}}{{{#!if Size == '-1'
321 {{{#!if Em='0.92589em'
322 }}}}}}{{{#!if Size == '-2'
323 {{{#!if Em='0.83333em'
324 }}}}}}{{{#!if Size == '-3'
325 {{{#!if Em='0.74067em'
326 }}}}}}{{{#!if Size == '-4'
327 {{{#!if Em='0.64811em'
328 }}}}}}{{{#!if Size == '-5'
329 {{{#!if Em='0.62222em'
330 }}}}}}
331 {{{#!if Text = input.substring(ParOpen+Blank,ParClose)
332 }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3)
333 }}}
334 }}}
r2681
335 }}}
r2686
336}}}
r2700
337}}}
r2690
338##############################
r2686
339{{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true
r2681
340 {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen
341 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
342 }}}
343 {{{#!if _ParOpen == -1
344 {{{#!if Match=true
345 }}}
346 }}}{{{#!if _ParOpen != -1
347 {{{#!if ParOpen=_ParOpen
348 }}}
349 }}}
350############################
351 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
352 }}}
353 {{{#!if _ParOpen == -1
354 {{{#!if Match=true
355 }}}
356 }}}{{{#!if _ParOpen != -1
357 {{{#!if ParOpen+=_ParOpen+3
358 }}}
359 }}}
360############################
361 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
362 }}}
363 {{{#!if _ParOpen == -1
364 {{{#!if Match=true
365 }}}
366 }}}{{{#!if _ParOpen != -1
367 {{{#!if ParOpen+=_ParOpen+3
368 }}}
369 }}}
370 }}}
r2686
371###########################
r2681
372 {{{#!if Match
r2688
373 {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html'
r2686
374 {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3)
375 }}}
r2681
376 }}}
r2688
377 {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki'
r2687
378 {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=')
379 }}}{{{#!if BrL != -1 && StyleL!=-1
380 {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL)
381 }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3)
382 }}}
r2681
383 }}}
384 }}}
r2690
385 {{{#!if input.substr(ParOpen, 4) == '\{\{\{#'
386 {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',')
387 }}}{{{#!if Blank!=-1
388 {{{#!if Comma != -1
389 {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank)
390 }}}
391 }}}
392 {{{#!if Comma == -1
393 {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor
394 }}}
395 }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose)
396 }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3)
397##유효성 검사는 뺌. 귀찮고 넣으면 길어짐.
398 }}}
399 }}}
400 }}}
r2700
401 {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-'
402 {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ')
403 }}}{{{#!if Blank==5
404 {{{#!if Size=input.substr(ParOpen+Blank-2, 2)
405 }}}
406 {{{#!if Size == '+1'
407 {{{#!if Em='1.28889em'
408 }}}}}}{{{#!if Size == '+2'
409 {{{#!if Em='1.38889em'
410 }}}}}}{{{#!if Size == '+3'
411 {{{#!if Em='1.48144em'
412 }}}}}}{{{#!if Size == '+4'
413 {{{#!if Em='1.57400em'
414 }}}}}}{{{#!if Size == '+5'
415 {{{#!if Em='1.66667em'
416 }}}}}}{{{#!if Size == '-1'
417 {{{#!if Em='0.92589em'
418 }}}}}}{{{#!if Size == '-2'
419 {{{#!if Em='0.83333em'
420 }}}}}}{{{#!if Size == '-3'
421 {{{#!if Em='0.74067em'
422 }}}}}}{{{#!if Size == '-4'
423 {{{#!if Em='0.64811em'
424 }}}}}}{{{#!if Size == '-5'
425 {{{#!if Em='0.62222em'
426 }}}}}}
427 {{{#!if Text = input.substring(ParOpen+Blank,ParClose)
428 }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3)
429 }}}
430 }}}
r2681
431 }}}
r2686
432}}}
r2700
433}}}
r2686
434##############################
r2688
435{{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true
436 {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen
437 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
438 }}}
439 {{{#!if _ParOpen == -1
440 {{{#!if Match=true
441 }}}
442 }}}{{{#!if _ParOpen != -1
443 {{{#!if ParOpen=_ParOpen
444 }}}
445 }}}
446############################
447 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
448 }}}
449 {{{#!if _ParOpen == -1
450 {{{#!if Match=true
451 }}}
452 }}}{{{#!if _ParOpen != -1
453 {{{#!if ParOpen+=_ParOpen+3
454 }}}
455 }}}
456############################
457 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
458 }}}
459 {{{#!if _ParOpen == -1
460 {{{#!if Match=true
461 }}}
462 }}}{{{#!if _ParOpen != -1
463 {{{#!if ParOpen+=_ParOpen+3
464 }}}
465 }}}
466 }}}
467###########################
468 {{{#!if Match
469 {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html'
470 {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3)
471 }}}
472 }}}
473 {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki'
474 {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=')
475 }}}{{{#!if BrL != -1 && StyleL!=-1
476 {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL)
477 }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3)
478 }}}
479 }}}
480 }}}
481 {{{#!if input.substr(ParOpen, 4) == '\{\{\{#'
482 {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',')
483 }}}{{{#!if Blank!=-1
484 {{{#!if Comma != -1
485 {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank)
486 }}}
487 }}}
488 {{{#!if Comma == -1
489 {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor
490 }}}
491 }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose)
492 }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3)
493##유효성 검사는 뺌. 귀찮고 넣으면 길어짐.
494 }}}
495 }}}
496 }}}
r2700
497 {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-'
498 {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ')
499 }}}{{{#!if Blank==5
500 {{{#!if Size=input.substr(ParOpen+Blank-2, 2)
501 }}}
502 {{{#!if Size == '+1'
503 {{{#!if Em='1.28889em'
504 }}}}}}{{{#!if Size == '+2'
505 {{{#!if Em='1.38889em'
506 }}}}}}{{{#!if Size == '+3'
507 {{{#!if Em='1.48144em'
508 }}}}}}{{{#!if Size == '+4'
509 {{{#!if Em='1.57400em'
510 }}}}}}{{{#!if Size == '+5'
511 {{{#!if Em='1.66667em'
512 }}}}}}{{{#!if Size == '-1'
513 {{{#!if Em='0.92589em'
514 }}}}}}{{{#!if Size == '-2'
515 {{{#!if Em='0.83333em'
516 }}}}}}{{{#!if Size == '-3'
517 {{{#!if Em='0.74067em'
518 }}}}}}{{{#!if Size == '-4'
519 {{{#!if Em='0.64811em'
520 }}}}}}{{{#!if Size == '-5'
521 {{{#!if Em='0.62222em'
522 }}}}}}
523 {{{#!if Text = input.substring(ParOpen+Blank,ParClose)
524 }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3)
525 }}}
526 }}}
r2688
527 }}}
r2687
528}}}
r2700
529}}}
r2699
530##############################
531{{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true
532 {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen
533 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
534 }}}
535 {{{#!if _ParOpen == -1
536 {{{#!if Match=true
537 }}}
538 }}}{{{#!if _ParOpen != -1
539 {{{#!if ParOpen=_ParOpen
540 }}}
541 }}}
542############################
543 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
544 }}}
545 {{{#!if _ParOpen == -1
546 {{{#!if Match=true
547 }}}
548 }}}{{{#!if _ParOpen != -1
549 {{{#!if ParOpen+=_ParOpen+3
550 }}}
551 }}}
552############################
553 {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{')
554 }}}
555 {{{#!if _ParOpen == -1
556 {{{#!if Match=true
557 }}}
558 }}}{{{#!if _ParOpen != -1
559 {{{#!if ParOpen+=_ParOpen+3
560 }}}
561 }}}
562 }}}
r2688
563###########################
r2699
564 {{{#!if Match
565 {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html'
566 {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3)
567 }}}
568 }}}
569 {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki'
570 {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=')
571 }}}{{{#!if BrL != -1 && StyleL!=-1
572 {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL)
573 }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3)
574 }}}
575 }}}
576 }}}
577 {{{#!if input.substr(ParOpen, 4) == '\{\{\{#'
578 {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',')
579 }}}{{{#!if Blank!=-1
580 {{{#!if Comma != -1
581 {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank)
582 }}}
583 }}}
584 {{{#!if Comma == -1
585 {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor
586 }}}
587 }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose)
588 }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3)
589##유효성 검사는 뺌. 귀찮고 넣으면 길어짐.
590 }}}
591 }}}
592 }}}
593 {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-'
594 {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ')
595 }}}{{{#!if Blank==5
596 {{{#!if Size=input.substr(ParOpen+Blank-2, 2)
597 }}}
598 {{{#!if Size == '+1'
r2700
599 {{{#!if Em='1.28889em'
600 }}}}}}{{{#!if Size == '+2'
601 {{{#!if Em='1.38889em'
602 }}}}}}{{{#!if Size == '+3'
603 {{{#!if Em='1.48144em'
604 }}}}}}{{{#!if Size == '+4'
605 {{{#!if Em='1.57400em'
606 }}}}}}{{{#!if Size == '+5'
607 {{{#!if Em='1.66667em'
608 }}}}}}{{{#!if Size == '-1'
609 {{{#!if Em='0.92589em'
610 }}}}}}{{{#!if Size == '-2'
611 {{{#!if Em='0.83333em'
612 }}}}}}{{{#!if Size == '-3'
613 {{{#!if Em='0.74067em'
614 }}}}}}{{{#!if Size == '-4'
615 {{{#!if Em='0.64811em'
616 }}}}}}{{{#!if Size == '-5'
617 {{{#!if Em='0.62222em'
618 }}}}}}
r2699
619 {{{#!if Text = input.substring(ParOpen+Blank,ParClose)
620 }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3)
621 }}}
622 }}}
623 }}}
r2689
624}}}
r2700
625}}}
r2699
626###########################
627}}}
r2688
628
r2681
629output: {{{#!html @input@}}}
r2624
630== ㅁㄴㅇㄹ ==
631[include(a)]''''''[include(a)][include(a)]
632[[]][include(a)][include(a)][include(a)]
633
634{{{#!wiki style="background: skyblue; margin: 0 auto; padding: 5px; max-width: 500px"
635||<tablealign=center><tablewidth=100%><tablebordercolor=transparent><tablebgcolor=red><bgcolor=#000>||
636
637||<tablealign=center><tablewidth=100%><tablebordercolor=transparent><tablebgcolor=red><rowbgcolor=#000>||
638||<colbgcolor=#000>||
639||<tan>||
640
641||<tablealign=center><tablewidth=100%><bgcolor=#000>||
642
643||<tablealign=center><tablewidth=100%>||}}}
644Mozilla/5.0 (compatible; Daum/1.0; +http://ws.daum.net/aboutkr.html) ok
645Mozilla/5.0 (compatible; coccocbot-web/1.0; +http://help.coccoc.com/web) ok
646\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e07569140961)]
647[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e07569140961)]
648----
649\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e07569140961, uuid=2d701244-1d84-4716-8717-e0756914096d)]
650[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e07569140961, uuid=2d701244-1d84-4716-8717-e0756914096d)]
651----
652\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=-1, UUID=2d701244-1d84-4716-8717-e07569140961)]
653[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=-1, UUID=2d701244-1d84-4716-8717-e07569140961)]
654----
655\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=)]
656[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=)]
657----
658\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e0756914096x)]
659[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e0756914096x)]
660----
661\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e07569140961)]
662[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e07569140961)]
663----
664\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e0756914096x)]
665[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, UUID=2d701244-1d84-4716-8717-e0756914096x)]
666----
667\[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e07569140961, UUID=2d701244-1d84-4716-8717-e07569140961)]
668[include(틀:문서 가져옴/the seed, 위키=더, 문서명=검색, 버전=32, uuid=2d701244-1d84-4716-8717-e07569140961, UUID=2d701244-1d84-4716-8717-e07569140961)]
669----
670\[include(틀:isuuid, uuid=1dd4a127-1b8d-4788-8cea-9ff8b1ddd06e)]
671[include(틀:isuuid, uuid=1dd4a127-1b8d-4788-8cea-9ff8b1ddd06e)]
672----
673\[include(틀:isuuid, uuid=xdd4a127-1b8d-4788-8cea-9ff8b1ddd0xx)]
674[include(틀:isuuid, uuid=xdd4a127-1b8d-4788-8cea-9ff8b1ddd0xx)]
675\[include(틀:isuuid, uuid=냥)]
676[include(틀:isuuid, uuid=냥)]
677[include(틀:ㅁ, str=Hello\, World!)]
678toString() 가능
679parseInt() x
680
681== ==
r2584
682{{{#!wiki style="font-weight: 300; font-size: 20px"
683{{{#!if 식 = '11+2'
r2597
684@식=11+2@}}} = {{{#!if s1=false, s2=false, s3=false, j=1+0, i=0+0, k=1+0
r2593
685##switch1 : 숫자 계속 탐색하기, switch2 : 소수점 아래 기입하기. switch3 : 중복 실행 방지.
r2594
686}}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57)
r2593
687}}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false)
r2594
688##숫자를 발견할 경우
r2591
689{{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true
r2595
690##여기에 앞자리가 음수냐 아니냐를 읽는 판별을 만들어야 합니다. ㅏ 이걸 생각 못했네요 그럼 좀 많이 길어지는데
r2591
691}}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false)
692##숫자를 계속 발견할 경우 (소수점일 수도 있습니다. 여기서는 숫자일 경우)
r2592
693##여기에서 소수점 위를 기입하냐 소수점 아래를 기입하냐 소수점 아래라면 소수점 아래 몇번째 자리를 기입하느냐를 적어야 합니다.
r2597
694{{{#!if s2==false
695##정수 자리를 기입하는 경우
r2595
696{{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true
r2597
697}}}}}}{{{#!if s2==true
698##소수점 아래 자리를 기입하는 경우
699{{{#!if this['v'+j] = this['v'+j]+(10.0**(-k))*(+(식.substr(i,1))), s3=true
700}}}{{{#!if k+=1
701##다음 소수점 자리 찾기
r2602
702}}}}}}}}}{{{#!if (s1==true)&&(s2==false)&&(식[i]==46)&&(s3==false)
r2605
703##앞에서 숫자를 발견한 다음 소수점을 발견할 경우 (소수점 발견은 최초 1회에 한함)
r2597
704{{{#!if s2=true, s3=true, k=1+0
705##switch2 : 켜기
r2607
706}}}}}}{{{#!if (s1==true)&&(((s2==false)&&!this['d'+i]&&(식[i]!=46))||((s2==true)&&!this['d'+i]))&&(s3==false)
707##숫자가 더 이상 나오지 않고 소수점을 발견하지 못했을 경우, 소수점을 발견한 상황인데 숫자가 나오지 않을 경우 (소수점이 다시 나오는 경우가 자동적으로 포함)
r2591
708{{{#!if j+=1, s1=false, s2=false, s3=true
r2592
709##소수점 아래 기입하는 스위치도 off, 다음 index(j) 매김.
r2597
710}}}{{{#!if s3==true
711##여기까지 과정을 거쳤다면 스위치 off.
712{{{#!if s3=false
713}}}}}}
714}}}{{{#!if i+=1
r2594
715}}}
r2595
716##
r2599
717{{{#!if false
r2600
718##이 if문은 실행되지 않는 단락. 주석만 제거하고 복사 붙여넣기.
r2599
719{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57)
720}}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false)
721{{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true
722}}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false)
723{{{#!if s2==false
724{{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true
725}}}}}}{{{#!if s2==true
726{{{#!if this['v'+j] = this['v'+j]+(10.0**(-k))*(+(식.substr(i,1))), s3=true
727}}}{{{#!if k+=1
r2603
728}}}}}}}}}{{{#!if (s1==true)&&(s2==false)&&(식[i]==46)&&(s3==false)
r2599
729{{{#!if s2=true, s3=true, k=1+0
r2604
730}}}}}}{{{#!if (s1==true)&&(((s2==false)&&!this['d'+i]&&(식[i]!=46)||(s2==false))||((s2==true)&&!this['d'+i]&&(식=[i]==46)))&&(s3==false)
r2599
731{{{#!if j+=1, s1=false, s2=false, s3=true
732}}}{{{#!if s3==true
733{{{#!if s3=false
734}}}}}}
735}}}{{{#!if i+=1
736}}}
737####
738}}}
739##
r2600
740{{{#!if this['v1'] == 1
741this['v1'] == 1}}}
742##
743{{{#!if s3=false
744}}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57)
745}}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false)
746{{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true
747}}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false)
748{{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true
749}}}}}}{{{#!if (s1==true)&&(식[i]==46)&&(s3==false)
750{{{#!if s2=true, s3=true
751}}}}}}{{{#!if (s1==true)&&!this['d'+i]&&(s3==false)
752{{{#!if j+=1, s1=false, s2=false, s3=true
753}}}}}}{{{#!if i+=1
754}}}
755##
r2595
756{{{#!if this['v1'] == 11
757this['v1'] == 11}}}
758##
r2596
759{{{#!if s3=false
760}}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57)
761}}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false)
762{{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true
763}}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false)
764{{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true
765}}}}}}{{{#!if (s1==true)&&(식[i]==46)&&(s3==false)
766{{{#!if s2=true, s3=true
767}}}}}}{{{#!if (s1==true)&&!this['d'+i]&&(s3==false)
768{{{#!if j+=1, s1=false, s2=false, s3=true
769}}}}}}{{{#!if i+=1
770}}}{{{#!if s3=false
771}}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57)
772}}}{{{#!if (s1==false)&&this['d'+i]&&(s3==false)
773{{{#!if this['v'+j] = +(식.substr(i,1)), s1=true, s3=true
774}}}}}}{{{#!if (s1==true)&&this['d'+i]&&(s3==false)
775{{{#!if this['v'+j] = 10*this['v'+j]+(+(식.substr(i,1))), s3=true
776}}}}}}{{{#!if (s1==true)&&(식[i]==46)&&(s3==false)
777{{{#!if s2=true, s3=true
778}}}}}}{{{#!if (s1==true)&&!this['d'+i]&&(s3==false)
779{{{#!if j+=1, s1=false, s2=false, s3=true
780}}}}}}{{{#!if i+=1
781}}}
r2595
782##
r2596
783{{{#!if this['v2'] == 2
784this['v2'] == 2}}}
r2595
785##
786##
787##
788##
r2593
789{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57), i+=1
r2586
790}}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57), i+=1
791}}}{{{#!if this['d'+i] = (식[i]>=48&&식[i]<=57), i+=1
r2584
792}}}
r2586
793## 식 검증이 됐다 치면
r2587
794## dn : true - 수 / false - 연산자
r2586
795{{{#!if this['d0']
7961}}}{{{#!if this['d1']
7971}}}{{{#!if !this['d2']
798+}}}{{{#!if this['d3']
r2585
7992}}}
r2587
800## in : 11+2 에서 '11'은 0번째 위치, '+'는 2번째 위치.. > 0, 2, 3 > 위치 기억 / 뺄셈으로 자릿수 계산
801## 보다 좋은 방법이 있ㅅ을 것 같은데음ㅁ..
802{{{#!if i = 1, j = 1, i0 = 0
803}}}
804{{{#!if t = this['d0'] != this['d1'], t
805{{{#!if this['i'+i] = j, j+=1, i+=1
806}}}}}}{{{#!if !t
807{{{#!if j+=1
808}}}}}}{{{#!if t = this['d1'] != this['d2'], t
809{{{#!if this['i'+i] = j, j+=1, i+=1
810}}}}}}{{{#!if !t
811{{{#!if j+=1
812}}}}}}{{{#!if t = this['d1'] != this['d2'], t
813{{{#!if this['i'+i] = j, j+=1, i+=1
814}}}}}}{{{#!if !t
815{{{#!if j+=1
r2585
816}}}}}}
r2608
817## {{{#!if i0 == 0
818## i0 == 0 }}}{{{#!if i1 == 2
819## i1 == 2 }}}{{{#!if i2 == 3
820## i2 == 3 }}}
r2587
821## {{{#!if list = [d0, d1, d2, d3]
822## }}}
r2624
823}}}