사용자
nyangx3/연습장(비교)
| r112 vs r113 | ||
|---|---|---|
| ... | ... | |
| 103 | 103 | 링크}}} 색을 참조할 수 있다. |
| 104 | 104 | * 편집기에서 문법 하이라이팅 버그가 있을 시, #\#)]를 추가하는 등으로 해결할 수 있다.}}}{{{#!if if='나무나무마크' |
| 105 | 105 | {{{#!wiki style="display: none" |
| 106 | ############################## | |
| 107 | {{{#!if Open=input.indexOf("'''") | |
| 108 | }}}{{{#!if Open!=-1 | |
| 109 | {{{#!if Close=input.substring(Open+3).indexOf("'''") | |
| 110 | }}}{{{#!if Close!=-1, | |
| 111 | {{{#!if input = input.substring(0,Open)+'<b>'+ | |
| 106 | ################################################################################## 매크로 | |
| 107 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 108 | ##)] | |
| 109 | }}}{{{#!if this.MacroOpen!=-1 | |
| 110 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 111 | }}}{{{#!if this.MacroClose!=-1 | |
| 112 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 113 | }}} | |
| 114 | ||
| 115 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 116 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 117 | }}} | |
| 118 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 119 | {{{#!if this.Comma2 == 0 | |
| 120 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 121 | }}} | |
| 122 | }}} | |
| 123 | {{{#!if this.Comma2 != 0 | |
| 124 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 125 | }}} | |
| 126 | }}} | |
| 127 | }}} | |
| 128 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 129 | }}} | |
| 130 | ||
| 131 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 132 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 133 | }}} | |
| 134 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 135 | {{{#!if this.Comma2 == 0 | |
| 136 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 137 | }}} | |
| 138 | }}} | |
| 139 | {{{#!if this.Comma2 != 0 | |
| 140 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 141 | }}} | |
| 142 | }}} | |
| 143 | }}} | |
| 144 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 145 | }}} | |
| 146 | ||
| 147 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 148 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 149 | }}} | |
| 150 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 151 | {{{#!if this.Comma2 == 0 | |
| 152 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 153 | }}} | |
| 154 | }}} | |
| 155 | {{{#!if this.Comma2 != 0 | |
| 156 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 157 | }}} | |
| 158 | }}} | |
| 159 | }}} | |
| 160 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 161 | }}} | |
| 162 | ||
| 163 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 164 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 165 | }}} | |
| 166 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 167 | {{{#!if this.Comma2 == 0 | |
| 168 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 169 | }}} | |
| 170 | }}} | |
| 171 | {{{#!if this.Comma2 != 0 | |
| 172 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 173 | }}} | |
| 174 | }}} | |
| 175 | }}} | |
| 176 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 177 | }}} | |
| 178 | ||
| 179 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 180 | }}} | |
| 181 | }}} | |
| 182 | }}} | |
| 183 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 184 | ##)] | |
| 185 | }}}{{{#!if this.MacroOpen!=-1 | |
| 186 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 187 | }}}{{{#!if this.MacroClose!=-1 | |
| 188 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 189 | }}} | |
| 190 | ||
| 191 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 192 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 193 | }}} | |
| 194 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 195 | {{{#!if this.Comma2 == 0 | |
| 196 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 197 | }}} | |
| 198 | }}} | |
| 199 | {{{#!if this.Comma2 != 0 | |
| 200 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 201 | }}} | |
| 202 | }}} | |
| 203 | }}} | |
| 204 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 205 | }}} | |
| 206 | ||
| 207 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 208 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 209 | }}} | |
| 210 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 211 | {{{#!if this.Comma2 == 0 | |
| 212 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 213 | }}} | |
| 214 | }}} | |
| 215 | {{{#!if this.Comma2 != 0 | |
| 216 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 217 | }}} | |
| 218 | }}} | |
| 219 | }}} | |
| 220 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 221 | }}} | |
| 222 | ||
| 223 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 224 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 225 | }}} | |
| 226 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 227 | {{{#!if this.Comma2 == 0 | |
| 228 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 229 | }}} | |
| 230 | }}} | |
| 231 | {{{#!if this.Comma2 != 0 | |
| 232 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 233 | }}} | |
| 234 | }}} | |
| 235 | }}} | |
| 236 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 237 | }}} | |
| 238 | ||
| 239 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 240 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 241 | }}} | |
| 242 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 243 | {{{#!if this.Comma2 == 0 | |
| 244 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 245 | }}} | |
| 246 | }}} | |
| 247 | {{{#!if this.Comma2 != 0 | |
| 248 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 249 | }}} | |
| 250 | }}} | |
| 251 | }}} | |
| 252 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 253 | }}} | |
| 254 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 255 | }}} | |
| 256 | }}} | |
| 257 | }}} | |
| 258 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 259 | ##)] | |
| 260 | }}}{{{#!if this.MacroOpen!=-1 | |
| 261 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 262 | }}}{{{#!if this.MacroClose!=-1 | |
| 263 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 264 | }}} | |
| 265 | ||
| 266 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 267 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 268 | }}} | |
| 269 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 270 | {{{#!if this.Comma2 == 0 | |
| 271 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 272 | }}} | |
| 273 | }}} | |
| 274 | {{{#!if this.Comma2 != 0 | |
| 275 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 276 | }}} | |
| 277 | }}} | |
| 278 | }}} | |
| 279 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 280 | }}} | |
| 281 | ||
| 282 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 283 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 284 | }}} | |
| 285 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 286 | {{{#!if this.Comma2 == 0 | |
| 287 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 288 | }}} | |
| 289 | }}} | |
| 290 | {{{#!if this.Comma2 != 0 | |
| 291 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 292 | }}} | |
| 293 | }}} | |
| 294 | }}} | |
| 295 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 296 | }}} | |
| 297 | ||
| 298 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 299 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 300 | }}} | |
| 301 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 302 | {{{#!if this.Comma2 == 0 | |
| 303 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 304 | }}} | |
| 305 | }}} | |
| 306 | {{{#!if this.Comma2 != 0 | |
| 307 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 308 | }}} | |
| 309 | }}} | |
| 310 | }}} | |
| 311 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 312 | }}} | |
| 313 | ||
| 314 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 315 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 316 | }}} | |
| 317 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 318 | {{{#!if this.Comma2 == 0 | |
| 319 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 320 | }}} | |
| 321 | }}} | |
| 322 | {{{#!if this.Comma2 != 0 | |
| 323 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 324 | }}} | |
| 325 | }}} | |
| 326 | }}} | |
| 327 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 328 | }}} | |
| 329 | ||
| 330 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 331 | }}} | |
| 332 | }}} | |
| 333 | }}} | |
| 334 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 335 | ##)] | |
| 336 | }}}{{{#!if this.MacroOpen!=-1 | |
| 337 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 338 | }}}{{{#!if this.MacroClose!=-1 | |
| 339 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 340 | }}} | |
| 341 | ||
| 342 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 343 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 344 | }}} | |
| 345 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 346 | {{{#!if this.Comma2 == 0 | |
| 347 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 348 | }}} | |
| 349 | }}} | |
| 350 | {{{#!if this.Comma2 != 0 | |
| 351 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 352 | }}} | |
| 353 | }}} | |
| 354 | }}} | |
| 355 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 356 | }}} | |
| 357 | ||
| 358 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 359 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 360 | }}} | |
| 361 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 362 | {{{#!if this.Comma2 == 0 | |
| 363 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 364 | }}} | |
| 365 | }}} | |
| 366 | {{{#!if this.Comma2 != 0 | |
| 367 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 368 | }}} | |
| 369 | }}} | |
| 370 | }}} | |
| 371 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 372 | }}} | |
| 373 | ||
| 374 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 375 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 376 | }}} | |
| 377 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 378 | {{{#!if this.Comma2 == 0 | |
| 379 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 380 | }}} | |
| 381 | }}} | |
| 382 | {{{#!if this.Comma2 != 0 | |
| 383 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 384 | }}} | |
| 385 | }}} | |
| 386 | }}} | |
| 387 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 388 | }}} | |
| 389 | ||
| 390 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 391 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 392 | }}} | |
| 393 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 394 | {{{#!if this.Comma2 == 0 | |
| 395 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 396 | }}} | |
| 397 | }}} | |
| 398 | {{{#!if this.Comma2 != 0 | |
| 399 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 400 | }}} | |
| 401 | }}} | |
| 402 | }}} | |
| 403 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 404 | }}} | |
| 405 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 406 | }}} | |
| 407 | }}} | |
| 408 | }}} | |
| 409 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 410 | ##)] | |
| 411 | }}}{{{#!if this.MacroOpen!=-1 | |
| 412 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 413 | }}}{{{#!if this.MacroClose!=-1 | |
| 414 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 415 | }}} | |
| 416 | ||
| 417 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 418 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 419 | }}} | |
| 420 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 421 | {{{#!if this.Comma2 == 0 | |
| 422 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 423 | }}} | |
| 424 | }}} | |
| 425 | {{{#!if this.Comma2 != 0 | |
| 426 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 427 | }}} | |
| 428 | }}} | |
| 429 | }}} | |
| 430 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 431 | }}} | |
| 432 | ||
| 433 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 434 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 435 | }}} | |
| 436 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 437 | {{{#!if this.Comma2 == 0 | |
| 438 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 439 | }}} | |
| 440 | }}} | |
| 441 | {{{#!if this.Comma2 != 0 | |
| 442 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 443 | }}} | |
| 444 | }}} | |
| 445 | }}} | |
| 446 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 447 | }}} | |
| 448 | ||
| 449 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 450 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 451 | }}} | |
| 452 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 453 | {{{#!if this.Comma2 == 0 | |
| 454 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 455 | }}} | |
| 456 | }}} | |
| 457 | {{{#!if this.Comma2 != 0 | |
| 458 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 459 | }}} | |
| 460 | }}} | |
| 461 | }}} | |
| 462 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 463 | }}} | |
| 464 | ||
| 465 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 466 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 467 | }}} | |
| 468 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 469 | {{{#!if this.Comma2 == 0 | |
| 470 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 471 | }}} | |
| 472 | }}} | |
| 473 | {{{#!if this.Comma2 != 0 | |
| 474 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 475 | }}} | |
| 476 | }}} | |
| 477 | }}} | |
| 478 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 479 | }}} | |
| 480 | ||
| 481 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 482 | }}} | |
| 483 | }}} | |
| 484 | }}} | |
| 485 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 486 | ##)] | |
| 487 | }}}{{{#!if this.MacroOpen!=-1 | |
| 488 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 489 | }}}{{{#!if this.MacroClose!=-1 | |
| 490 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 491 | }}} | |
| 492 | ||
| 493 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 494 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 495 | }}} | |
| 496 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 497 | {{{#!if this.Comma2 == 0 | |
| 498 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 499 | }}} | |
| 500 | }}} | |
| 501 | {{{#!if this.Comma2 != 0 | |
| 502 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 503 | }}} | |
| 504 | }}} | |
| 505 | }}} | |
| 506 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 507 | }}} | |
| 508 | ||
| 509 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 510 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 511 | }}} | |
| 512 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 513 | {{{#!if this.Comma2 == 0 | |
| 514 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 515 | }}} | |
| 516 | }}} | |
| 517 | {{{#!if this.Comma2 != 0 | |
| 518 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 519 | }}} | |
| 520 | }}} | |
| 521 | }}} | |
| 522 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 523 | }}} | |
| 524 | ||
| 525 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 526 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 527 | }}} | |
| 528 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 529 | {{{#!if this.Comma2 == 0 | |
| 530 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 531 | }}} | |
| 532 | }}} | |
| 533 | {{{#!if this.Comma2 != 0 | |
| 534 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 535 | }}} | |
| 536 | }}} | |
| 537 | }}} | |
| 538 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 539 | }}} | |
| 540 | ||
| 541 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 542 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 543 | }}} | |
| 544 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 545 | {{{#!if this.Comma2 == 0 | |
| 546 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 547 | }}} | |
| 548 | }}} | |
| 549 | {{{#!if this.Comma2 != 0 | |
| 550 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 551 | }}} | |
| 552 | }}} | |
| 553 | }}} | |
| 554 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 555 | }}} | |
| 556 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 557 | }}} | |
| 558 | }}} | |
| 559 | }}} | |
| 560 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 561 | ##)] | |
| 562 | }}}{{{#!if this.MacroOpen!=-1 | |
| 563 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 564 | }}}{{{#!if this.MacroClose!=-1 | |
| 565 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 566 | }}} | |
| 567 | ||
| 568 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 569 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 570 | }}} | |
| 571 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 572 | {{{#!if this.Comma2 == 0 | |
| 573 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 574 | }}} | |
| 575 | }}} | |
| 576 | {{{#!if this.Comma2 != 0 | |
| 577 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 578 | }}} | |
| 579 | }}} | |
| 580 | }}} | |
| 581 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 582 | }}} | |
| 583 | ||
| 584 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 585 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 586 | }}} | |
| 587 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 588 | {{{#!if this.Comma2 == 0 | |
| 589 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 590 | }}} | |
| 591 | }}} | |
| 592 | {{{#!if this.Comma2 != 0 | |
| 593 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 594 | }}} | |
| 595 | }}} | |
| 596 | }}} | |
| 597 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 598 | }}} | |
| 599 | ||
| 600 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 601 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 602 | }}} | |
| 603 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 604 | {{{#!if this.Comma2 == 0 | |
| 605 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 606 | }}} | |
| 607 | }}} | |
| 608 | {{{#!if this.Comma2 != 0 | |
| 609 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 610 | }}} | |
| 611 | }}} | |
| 612 | }}} | |
| 613 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 614 | }}} | |
| 615 | ||
| 616 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 617 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 618 | }}} | |
| 619 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 620 | {{{#!if this.Comma2 == 0 | |
| 621 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 622 | }}} | |
| 623 | }}} | |
| 624 | {{{#!if this.Comma2 != 0 | |
| 625 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 626 | }}} | |
| 627 | }}} | |
| 628 | }}} | |
| 629 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 630 | }}} | |
| 631 | ||
| 632 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 633 | }}} | |
| 634 | }}} | |
| 635 | }}} | |
| 636 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 637 | ##)] | |
| 638 | }}}{{{#!if this.MacroOpen!=-1 | |
| 639 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 640 | }}}{{{#!if this.MacroClose!=-1 | |
| 641 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 642 | }}} | |
| 643 | ||
| 644 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 645 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 646 | }}} | |
| 647 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 648 | {{{#!if this.Comma2 == 0 | |
| 649 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 650 | }}} | |
| 651 | }}} | |
| 652 | {{{#!if this.Comma2 != 0 | |
| 653 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 654 | }}} | |
| 655 | }}} | |
| 656 | }}} | |
| 657 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 658 | }}} | |
| 659 | ||
| 660 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 661 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 662 | }}} | |
| 663 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 664 | {{{#!if this.Comma2 == 0 | |
| 665 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 666 | }}} | |
| 667 | }}} | |
| 668 | {{{#!if this.Comma2 != 0 | |
| 669 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 670 | }}} | |
| 671 | }}} | |
| 672 | }}} | |
| 673 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 674 | }}} | |
| 675 | ||
| 676 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 677 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 678 | }}} | |
| 679 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 680 | {{{#!if this.Comma2 == 0 | |
| 681 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 682 | }}} | |
| 683 | }}} | |
| 684 | {{{#!if this.Comma2 != 0 | |
| 685 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 686 | }}} | |
| 687 | }}} | |
| 688 | }}} | |
| 689 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 690 | }}} | |
| 691 | ||
| 692 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 693 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 694 | }}} | |
| 695 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 696 | {{{#!if this.Comma2 == 0 | |
| 697 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 698 | }}} | |
| 699 | }}} | |
| 700 | {{{#!if this.Comma2 != 0 | |
| 701 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 702 | }}} | |
| 703 | }}} | |
| 704 | }}} | |
| 705 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 706 | }}} | |
| 707 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 708 | }}} | |
| 709 | }}} | |
| 710 | }}} | |
| 711 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 712 | ##)] | |
| 713 | }}}{{{#!if this.MacroOpen!=-1 | |
| 714 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 715 | }}}{{{#!if this.MacroClose!=-1 | |
| 716 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 717 | }}} | |
| 718 | ||
| 719 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 720 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 721 | }}} | |
| 722 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 723 | {{{#!if this.Comma2 == 0 | |
| 724 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 725 | }}} | |
| 726 | }}} | |
| 727 | {{{#!if this.Comma2 != 0 | |
| 728 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 729 | }}} | |
| 730 | }}} | |
| 731 | }}} | |
| 732 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 733 | }}} | |
| 734 | ||
| 735 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 736 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 737 | }}} | |
| 738 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 739 | {{{#!if this.Comma2 == 0 | |
| 740 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 741 | }}} | |
| 742 | }}} | |
| 743 | {{{#!if this.Comma2 != 0 | |
| 744 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 745 | }}} | |
| 746 | }}} | |
| 747 | }}} | |
| 748 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 749 | }}} | |
| 750 | ||
| 751 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 752 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 753 | }}} | |
| 754 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 755 | {{{#!if this.Comma2 == 0 | |
| 756 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 757 | }}} | |
| 758 | }}} | |
| 759 | {{{#!if this.Comma2 != 0 | |
| 760 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 761 | }}} | |
| 762 | }}} | |
| 763 | }}} | |
| 764 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 765 | }}} | |
| 766 | ||
| 767 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 768 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 769 | }}} | |
| 770 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 771 | {{{#!if this.Comma2 == 0 | |
| 772 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 773 | }}} | |
| 774 | }}} | |
| 775 | {{{#!if this.Comma2 != 0 | |
| 776 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 777 | }}} | |
| 778 | }}} | |
| 779 | }}} | |
| 780 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 781 | }}} | |
| 782 | ||
| 783 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 784 | }}} | |
| 785 | }}} | |
| 786 | }}} | |
| 787 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 788 | ##)] | |
| 789 | }}}{{{#!if this.MacroOpen!=-1 | |
| 790 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 791 | }}}{{{#!if this.MacroClose!=-1 | |
| 792 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 793 | }}} | |
| 794 | ||
| 795 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 796 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 797 | }}} | |
| 798 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 799 | {{{#!if this.Comma2 == 0 | |
| 800 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 801 | }}} | |
| 802 | }}} | |
| 803 | {{{#!if this.Comma2 != 0 | |
| 804 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 805 | }}} | |
| 806 | }}} | |
| 807 | }}} | |
| 808 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 809 | }}} | |
| 810 | ||
| 811 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 812 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 813 | }}} | |
| 814 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 815 | {{{#!if this.Comma2 == 0 | |
| 816 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 817 | }}} | |
| 818 | }}} | |
| 819 | {{{#!if this.Comma2 != 0 | |
| 820 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 821 | }}} | |
| 822 | }}} | |
| 823 | }}} | |
| 824 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 825 | }}} | |
| 826 | ||
| 827 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 828 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 829 | }}} | |
| 830 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 831 | {{{#!if this.Comma2 == 0 | |
| 832 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 833 | }}} | |
| 834 | }}} | |
| 835 | {{{#!if this.Comma2 != 0 | |
| 836 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 837 | }}} | |
| 838 | }}} | |
| 839 | }}} | |
| 840 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 841 | }}} | |
| 842 | ||
| 843 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 844 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 845 | }}} | |
| 846 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 847 | {{{#!if this.Comma2 == 0 | |
| 848 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 849 | }}} | |
| 850 | }}} | |
| 851 | {{{#!if this.Comma2 != 0 | |
| 852 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 853 | }}} | |
| 854 | }}} | |
| 855 | }}} | |
| 856 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 857 | }}} | |
| 858 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 859 | }}} | |
| 860 | }}} | |
| 861 | }}} | |
| 862 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 863 | }}}{{{#!if this.Macro!=-1 | |
| 864 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 865 | }}}}}} | |
| 866 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 867 | }}}{{{#!if this.Macro!=-1 | |
| 868 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 869 | }}}}}} | |
| 870 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 871 | ##)] | |
| 872 | }}}{{{#!if this.MacroOpen!=-1 | |
| 873 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 874 | }}}{{{#!if this.MacroClose!=-1 | |
| 875 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 876 | }}}{{{#!if this.Comma2==-1 | |
| 877 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 878 | }}} | |
| 879 | }}}{{{#!if this.Comma2!=-1 | |
| 880 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 881 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 882 | }}} | |
| 883 | }}} | |
| 884 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 885 | }}} | |
| 886 | }}} | |
| 887 | }}} | |
| 888 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 889 | }}}{{{#!if this.Open!=-1 | |
| 890 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 891 | }}} | |
| 892 | }}} | |
| 893 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 894 | }}}{{{#!if this.Open!=-1 | |
| 895 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 896 | }}}{{{#!if this.Close!=-1 | |
| 897 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| 112 | 898 | }}}}}} |
| 113 | 899 | }}} |
| 114 | {{{#!if | |
| 115 | }}}{{{#!if Open!=-1 | |
| 116 | {{{#!if Close=input.substring(Open | |
| 117 | }}}{{{#!if Close!=-1, Text=in | |
| 118 | {{{#!if input = input.substring(0,Open)+'< | |
| 900 | ##### | |
| 901 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 902 | }}}{{{#!if this.Macro!=-1 | |
| 903 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 904 | }}}}}} | |
| 905 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 906 | }}}{{{#!if this.Macro!=-1 | |
| 907 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 908 | }}}}}} | |
| 909 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 910 | ##)] | |
| 911 | }}}{{{#!if this.MacroOpen!=-1 | |
| 912 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 913 | }}}{{{#!if this.MacroClose!=-1 | |
| 914 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 915 | }}}{{{#!if this.Comma2==-1 | |
| 916 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 917 | }}} | |
| 918 | }}}{{{#!if this.Comma2!=-1 | |
| 919 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 920 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 921 | }}} | |
| 922 | }}} | |
| 923 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 924 | }}} | |
| 925 | }}} | |
| 926 | }}} | |
| 927 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 928 | }}}{{{#!if this.Open!=-1 | |
| 929 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 930 | }}} | |
| 931 | }}} | |
| 932 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 933 | }}}{{{#!if this.Open!=-1 | |
| 934 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 935 | }}}{{{#!if this.Close!=-1 | |
| 936 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| 119 | 937 | }}}}}} |
| 120 | 938 | }}} |
| 121 | {{{#!if | |
| 122 | }}}{{{#!if Open!=-1 | |
| 123 | {{{#!if Close=input.substring(Open | |
| 124 | }}}{{{#!if Close!=-1, Text=in | |
| 125 | {{{#!if input = input.substring(0,Open)+'< | |
| 939 | ##### | |
| 940 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 941 | }}}{{{#!if this.Macro!=-1 | |
| 942 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 943 | }}}}}} | |
| 944 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 945 | }}}{{{#!if this.Macro!=-1 | |
| 946 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 947 | }}}}}} | |
| 948 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 949 | ##)] | |
| 950 | }}}{{{#!if this.MacroOpen!=-1 | |
| 951 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 952 | }}}{{{#!if this.MacroClose!=-1 | |
| 953 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 954 | }}}{{{#!if this.Comma2==-1 | |
| 955 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 956 | }}} | |
| 957 | }}}{{{#!if this.Comma2!=-1 | |
| 958 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 959 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 960 | }}} | |
| 961 | }}} | |
| 962 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 963 | }}} | |
| 964 | }}} | |
| 965 | }}} | |
| 966 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 967 | }}}{{{#!if this.Open!=-1 | |
| 968 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 969 | }}} | |
| 970 | }}} | |
| 971 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 972 | }}}{{{#!if this.Open!=-1 | |
| 973 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 974 | }}}{{{#!if this.Close!=-1 | |
| 975 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| 126 | 976 | }}}}}} |
| 127 | 977 | }}} |
| 128 | {{{#!if Open=input.indexOf(" | |
| 129 | }}}{{{#!if Open!=-1 | |
| 130 | {{{#!if Close=input.substring(Open | |
| 131 | }}}{{{#!if Close!=-1, Text=in | |
| 132 | {{{#!if input = input.substring(0,Open)+'<u>'+Text.tri | |
| 978 | ##### | |
| 979 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 980 | }}}{{{#!if this.Macro!=-1 | |
| 981 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 982 | }}}}}} | |
| 983 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 984 | }}}{{{#!if this.Macro!=-1 | |
| 985 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 986 | }}}}}} | |
| 987 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 988 | ##)] | |
| 989 | }}}{{{#!if this.MacroOpen!=-1 | |
| 990 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 991 | }}}{{{#!if this.MacroClose!=-1 | |
| 992 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 993 | }}}{{{#!if this.Comma2==-1 | |
| 994 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 995 | }}} | |
| 996 | }}}{{{#!if this.Comma2!=-1 | |
| 997 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 998 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 999 | }}} | |
| 1000 | }}} | |
| 1001 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 1002 | }}} | |
| 1003 | }}} | |
| 1004 | }}} | |
| 1005 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1006 | }}}{{{#!if this.Open!=-1 | |
| 1007 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 1008 | }}} | |
| 1009 | }}} | |
| 1010 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1011 | }}}{{{#!if this.Open!=-1 | |
| 1012 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1013 | }}}{{{#!if this.Close!=-1 | |
| 1014 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| 133 | 1015 | }}}}}} |
| 134 | 1016 | }}} |
| 135 | {{{#!if | |
| 136 | }}}{{{#!if Open!=-1 | |
| 137 | {{{#!if Close=input.substring(Open | |
| 138 | }}}{{{#!if Close!=-1, Text=in | |
| 139 | {{{#!if input = input.substring(0,Open)+'< | |
| 1017 | ##### | |
| 1018 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1019 | }}}{{{#!if this.Macro!=-1 | |
| 1020 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1021 | }}}}}} | |
| 1022 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1023 | }}}{{{#!if this.Macro!=-1 | |
| 1024 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1025 | }}}}}} | |
| 1026 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1027 | ##)] | |
| 1028 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1029 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1030 | }}}{{{#!if this.MacroClose!=-1 | |
| 1031 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 1032 | }}}{{{#!if this.Comma2==-1 | |
| 1033 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1034 | }}} | |
| 1035 | }}}{{{#!if this.Comma2!=-1 | |
| 1036 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1037 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1038 | }}} | |
| 1039 | }}} | |
| 1040 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 1041 | }}} | |
| 1042 | }}} | |
| 1043 | }}} | |
| 1044 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1045 | }}}{{{#!if this.Open!=-1 | |
| 1046 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 1047 | }}} | |
| 1048 | }}} | |
| 1049 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1050 | }}}{{{#!if this.Open!=-1 | |
| 1051 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1052 | }}}{{{#!if this.Close!=-1 | |
| 1053 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| 140 | 1054 | }}}}}} |
| 141 | 1055 | }}} |
| 142 | {{{#!if Open=input.indexOf(" | |
| 143 | }}}{{{#!if Open!=-1 | |
| 144 | {{{#!if Close=input.substring(Open | |
| 145 | }}}{{{#!if Close!=-1, Text=in | |
| 146 | {{{#!if input = input.substring(0,Open)+'<sup>'+ | |
| 1056 | ##### | |
| 1057 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1058 | }}}{{{#!if this.Macro!=-1 | |
| 1059 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1060 | }}}}}} | |
| 1061 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1062 | }}}{{{#!if this.Macro!=-1 | |
| 1063 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1064 | }}}}}} | |
| 1065 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1066 | ##)] | |
| 1067 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1068 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1069 | }}}{{{#!if this.MacroClose!=-1 | |
| 1070 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 1071 | }}}{{{#!if this.Comma2==-1 | |
| 1072 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1073 | }}} | |
| 1074 | }}}{{{#!if this.Comma2!=-1 | |
| 1075 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1076 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1077 | }}} | |
| 1078 | }}} | |
| 1079 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 1080 | }}} | |
| 1081 | }}} | |
| 1082 | }}} | |
| 1083 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1084 | }}}{{{#!if this.Open!=-1 | |
| 1085 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 1086 | }}} | |
| 1087 | }}} | |
| 1088 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1089 | }}}{{{#!if this.Open!=-1 | |
| 1090 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1091 | }}}{{{#!if this.Close!=-1 | |
| 1092 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| 147 | 1093 | }}}}}} |
| 148 | 1094 | }}} |
| 1095 | ################################################################################## 기본 | |
| 1096 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1097 | }}}{{{#!if this.Open!=-1 | |
| 1098 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1099 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1100 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1101 | }}}}}} | |
| 1102 | }}} | |
| 1103 | ##### | |
| 1104 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1105 | }}}{{{#!if this.Open!=-1 | |
| 1106 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1107 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1108 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1109 | }}}}}} | |
| 1110 | }}} | |
| 1111 | ##### | |
| 1112 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1113 | }}}{{{#!if this.Open!=-1 | |
| 1114 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1115 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1116 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1117 | }}}}}} | |
| 1118 | }}} | |
| 1119 | ##### | |
| 1120 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1121 | }}}{{{#!if this.Open!=-1 | |
| 1122 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1123 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1124 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1125 | }}}}}} | |
| 1126 | }}} | |
| 1127 | ##### | |
| 1128 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1129 | }}}{{{#!if this.Open!=-1 | |
| 1130 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1131 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1132 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1133 | }}}}}} | |
| 1134 | }}} | |
| 1135 | ##### | |
| 1136 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1137 | }}}{{{#!if this.Open!=-1 | |
| 1138 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1139 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1140 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1141 | }}}}}} | |
| 1142 | }}} | |
| 1143 | ##### | |
| 1144 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1145 | }}}{{{#!if this.Open!=-1 | |
| 1146 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1147 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1148 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1149 | }}}}}} | |
| 1150 | }}} | |
| 1151 | ##### | |
| 1152 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1153 | }}}{{{#!if this.Open!=-1 | |
| 1154 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1155 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1156 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1157 | }}}}}} | |
| 1158 | }}} | |
| 1159 | ##### | |
| 1160 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1161 | }}}{{{#!if this.Open!=-1 | |
| 1162 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1163 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1164 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1165 | }}}}}} | |
| 1166 | }}} | |
| 1167 | ##### | |
| 1168 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1169 | }}}{{{#!if this.Open!=-1 | |
| 1170 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1171 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1172 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1173 | }}}}}} | |
| 1174 | }}} | |
| 1175 | ##### | |
| 1176 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1177 | }}}{{{#!if this.Open!=-1 | |
| 1178 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1179 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1180 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1181 | }}}}}} | |
| 1182 | }}} | |
| 1183 | ##### | |
| 1184 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1185 | }}}{{{#!if this.Open!=-1 | |
| 1186 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1187 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1188 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1189 | }}}}}} | |
| 1190 | }}} | |
| 1191 | ##### | |
| 1192 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1193 | }}}{{{#!if this.Open!=-1 | |
| 1194 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1195 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1196 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1197 | }}}}}} | |
| 1198 | }}} | |
| 1199 | ##### | |
| 1200 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1201 | }}}{{{#!if this.Open!=-1 | |
| 1202 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1203 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1204 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1205 | }}}}}} | |
| 1206 | }}} | |
| 1207 | ##### | |
| 1208 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1209 | }}}{{{#!if this.Open!=-1 | |
| 1210 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1211 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1212 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1213 | }}}}}} | |
| 1214 | }}} | |
| 1215 | ##### | |
| 1216 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1217 | }}}{{{#!if this.Open!=-1 | |
| 1218 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1219 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1220 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1221 | }}}}}} | |
| 1222 | }}} | |
| 1223 | ##### | |
| 1224 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1225 | }}}{{{#!if this.Open!=-1 | |
| 1226 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1227 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1228 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1229 | }}}}}} | |
| 1230 | }}} | |
| 1231 | ##### | |
| 1232 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1233 | }}}{{{#!if this.Open!=-1 | |
| 1234 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1235 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1236 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1237 | }}}}}} | |
| 1238 | }}} | |
| 1239 | ##### | |
| 1240 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1241 | }}}{{{#!if this.Open!=-1 | |
| 1242 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1243 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1244 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1245 | }}}}}} | |
| 1246 | }}} | |
| 1247 | ##### | |
| 1248 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1249 | }}}{{{#!if this.Open!=-1 | |
| 1250 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1251 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1252 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1253 | }}}}}} | |
| 1254 | }}} | |
| 1255 | ##### | |
| 1256 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1257 | }}}{{{#!if this.Open!=-1 | |
| 1258 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1259 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1260 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1261 | }}}}}} | |
| 1262 | }}} | |
| 1263 | ##### | |
| 1264 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1265 | }}}{{{#!if this.Open!=-1 | |
| 1266 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1267 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1268 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1269 | }}}}}} | |
| 1270 | }}} | |
| 1271 | ##### | |
| 1272 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1273 | }}}{{{#!if this.Open!=-1 | |
| 1274 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1275 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1276 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1277 | }}}}}} | |
| 1278 | }}} | |
| 1279 | ##### | |
| 1280 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1281 | }}}{{{#!if this.Open!=-1 | |
| 1282 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1283 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1284 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1285 | }}}}}} | |
| 1286 | }}} | |
| 1287 | ##### | |
| 1288 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1289 | }}}{{{#!if this.Open!=-1 | |
| 1290 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1291 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1292 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1293 | }}}}}} | |
| 1294 | }}} | |
| 1295 | ##### | |
| 1296 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1297 | }}}{{{#!if this.Open!=-1 | |
| 1298 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1299 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1300 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1301 | }}}}}} | |
| 1302 | }}} | |
| 1303 | ##### | |
| 1304 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1305 | }}}{{{#!if this.Open!=-1 | |
| 1306 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1307 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1308 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1309 | }}}}}} | |
| 1310 | }}} | |
| 1311 | ##### | |
| 1312 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1313 | }}}{{{#!if this.Open!=-1 | |
| 1314 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1315 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1316 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1317 | }}}}}} | |
| 1318 | }}} | |
| 1319 | ##### | |
| 1320 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1321 | }}}{{{#!if this.Open!=-1 | |
| 1322 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1323 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1324 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1325 | }}}}}} | |
| 1326 | }}} | |
| 1327 | ##### | |
| 1328 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1329 | }}}{{{#!if this.Open!=-1 | |
| 1330 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1331 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1332 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1333 | }}}}}} | |
| 1334 | }}} | |
| 149 | 1335 | ################################################################################## 링크 |
| 150 | {{{#!if DarkInput=input | |
| 1336 | {{{#!if this.DarkInput=this.input | |
| 151 | 1337 | }}} |
| 152 | {{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8', DarkLinkColor='#e69720', outLink='' | |
| 153 | }}}{{{#!if linkOpen = input.indexOf('[['), linkClose = input.indexOf(']]') | |
| 154 | }}}{{{#!if linkRaw = input.substring(linkOpen, linkClose+2) | |
| 155 | }}}{{{#!if linkOpen != -1 && linkClose != -1 && linkOpen+2 < linkClose | |
| 156 | ## [[]] 인 경우 linkOpen+2 == linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 157 | {{{#!if divider = linkRaw.indexOf('|') | |
| 158 | }}}{{{#!if divider == -1 | |
| 1338 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1339 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1340 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1341 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1342 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1343 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1344 | }}}{{{#!if this.divider == -1 | |
| 159 | 1345 | ##[[링크]] |
| 160 | {{{#!if href = linkRaw.substring(2, linkRaw.length-2), linkPrint=href | |
| 1346 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href | |
| 161 | 1347 | }}} |
| 162 | }}}{{{#!if divider != -1 | |
| 163 | {{{#!if (divider == 2) && (divider+1 == linkRaw.length-2) | |
| 164 | {{{#!if break = true, input = input.substring(0, linkOpen) + input.substring(linkClose+2) | |
| 1348 | }}}{{{#!if this.divider != -1 | |
| 1349 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1350 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| 165 | 1351 | ##[[|]] > 출력 x |
| 166 | 1352 | }}} |
| 167 | 1353 | }}} |
| 168 | {{{#!if (divider == 2) && !break | |
| 169 | {{{#!if break = true, href = linkRaw.substring(divider+1, linkRaw.length-2), linkPrint = href | |
| 1354 | {{{#!if (this.divider == 2) && !this.break | |
| 1355 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| 170 | 1356 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 171 | 1357 | }}} |
| 172 | 1358 | }}} |
| 173 | {{{#!if (divider+1 == linkRaw.length-2) && !break | |
| 1359 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break | |
| 174 | 1360 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 175 | {{{#!if break = true, href = linkRaw.substring(2, divider), linkPrint = h | |
| 176 | ||
| 177 | ||
| 1361 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href | |
| 178 | 1362 | }}} |
| 179 | 1363 | }}} |
| 180 | {{{#!if !break | |
| 181 | {{{#!if href = linkRaw.substring(2, divider), linkPrint = linkRaw.substring(divider+1, linkRaw.length-2) | |
| 1364 | {{{#!if !this.break | |
| 1365 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| 182 | 1366 | }}} |
| 183 | 1367 | }}} |
| 184 | 1368 | }}} |
| 185 | {{{#!if isLink = (href.startsWith('https://') || href.startsWith('http://') || href.startsWith('ftp://')), isLink | |
| 186 | {{{#!if linkColor = 'none', DarkLinkColor = 'none', outLink = 'asdf' | |
| 1369 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink | |
| 1370 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| 187 | 1371 | }}} |
| 188 | }}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory | |
| 1372 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory | |
| 189 | 1373 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| 190 | }}}{{{#!if !(isCategory || isLink) | |
| 191 | {{{#!if href = 'https://theseed.io/w/'+href | |
| 1374 | }}}{{{#!if !(this.isCategory || this.isLink) | |
| 1375 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| 192 | 1376 | }}} |
| 193 | }}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2) | |
| 194 | }}}{{{#!if DarkInput = DarkInput.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + DarkLinkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + DarkInput.substring(linkClose + 2) | |
| 1377 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) | |
| 1378 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| 195 | 1379 | }}} |
| 196 | 1380 | }}} |
| 197 | ##### | |
| 198 | {{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8', DarkLinkColor='#e69720', outLink='' | |
| 199 | }}}{{{#!if linkOpen = input.indexOf('[['), linkClose = input.indexOf(']]') | |
| 200 | }}}{{{#!if linkRaw = input.substring(linkOpen, linkClose+2) | |
| 201 | }}}{{{#!if linkOpen != -1 && linkClose != -1 && linkOpen+2 < linkClose | |
| 202 | ## [[]] 인 경우 linkOpen+2 == linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 203 | {{{#!if divider = linkRaw.indexOf('|') | |
| 204 | }}}{{{#!if divider == -1 | |
| 1381 | ##### | |
| 1382 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1383 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1384 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1385 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1386 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1387 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1388 | }}}{{{#!if this.divider == -1 | |
| 205 | 1389 | ##[[링크]] |
| 206 | {{{#!if href = linkRaw.substring(2, linkRaw.length-2), linkPrint=href | |
| 1390 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href | |
| 207 | 1391 | }}} |
| 208 | }}}{{{#!if divider != -1 | |
| 209 | {{{#!if (divider == 2) && (divider+1 == linkRaw.length-2) | |
| 210 | {{{#!if break = true, input = input.substring(0, linkOpen) + input.substring(linkClose+2) | |
| 1392 | }}}{{{#!if this.divider != -1 | |
| 1393 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1394 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| 211 | 1395 | ##[[|]] > 출력 x |
| 212 | 1396 | }}} |
| 213 | 1397 | }}} |
| 214 | {{{#!if (divider == 2) && !break | |
| 215 | {{{#!if break = true, href = linkRaw.substring(divider+1, linkRaw.length-2), linkPrint = href | |
| 1398 | {{{#!if (this.divider == 2) && !this.break | |
| 1399 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| 216 | 1400 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 217 | 1401 | }}} |
| 218 | 1402 | }}} |
| 219 | {{{#!if (divider+1 == linkRaw.length-2) && !break | |
| 1403 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break | |
| 220 | 1404 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 221 | {{{#!if break = true, href = linkRaw.substring(2, divider), linkPrint = h | |
| 222 | ||
| 223 | ||
| 1405 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href | |
| 224 | 1406 | }}} |
| 225 | 1407 | }}} |
| 226 | {{{#!if !break | |
| 227 | {{{#!if href = linkRaw.substring(2, divider), linkPrint = linkRaw.substring(divider+1, linkRaw.length-2) | |
| 1408 | {{{#!if !this.break | |
| 1409 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| 228 | 1410 | }}} |
| 229 | 1411 | }}} |
| 230 | 1412 | }}} |
| 231 | {{{#!if isLink = (href.startsWith('https://') || href.startsWith('http://') || href.startsWith('ftp://')), isLink | |
| 232 | {{{#!if linkColor = 'none', DarkLinkColor = 'none', outLink = 'asdf' | |
| 1413 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink | |
| 1414 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| 233 | 1415 | }}} |
| 234 | }}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory | |
| 1416 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory | |
| 235 | 1417 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| 236 | }}}{{{#!if !(isCategory || isLink) | |
| 237 | {{{#!if href = 'https://theseed.io/w/'+href | |
| 1418 | }}}{{{#!if !(this.isCategory || this.isLink) | |
| 1419 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| 238 | 1420 | }}} |
| 239 | }}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2) | |
| 240 | }}}{{{#!if DarkInput = DarkInput.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + DarkLinkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + DarkInput.substring(linkClose + 2) | |
| 1421 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) | |
| 1422 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| 241 | 1423 | }}} |
| 242 | 1424 | }}} |
| 243 | ##### | |
| 244 | {{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8', DarkLinkColor='#e69720', outLink='' | |
| 245 | }}}{{{#!if linkOpen = input.indexOf('[['), linkClose = input.indexOf(']]') | |
| 246 | }}}{{{#!if linkRaw = input.substring(linkOpen, linkClose+2) | |
| 247 | }}}{{{#!if linkOpen != -1 && linkClose != -1 && linkOpen+2 < linkClose | |
| 248 | ## [[]] 인 경우 linkOpen+2 == linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 249 | {{{#!if divider = linkRaw.indexOf('|') | |
| 250 | }}}{{{#!if divider == -1 | |
| 1425 | ##### | |
| 1426 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1427 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1428 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1429 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1430 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1431 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1432 | }}}{{{#!if this.divider == -1 | |
| 251 | 1433 | ##[[링크]] |
| 252 | {{{#!if href = linkRaw.substring(2, linkRaw.length-2), linkPrint=href | |
| 1434 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href | |
| 253 | 1435 | }}} |
| 254 | }}}{{{#!if divider != -1 | |
| 255 | {{{#!if (divider == 2) && (divider+1 == linkRaw.length-2) | |
| 256 | {{{#!if break = true, input = input.substring(0, linkOpen) + input.substring(linkClose+2) | |
| 1436 | }}}{{{#!if this.divider != -1 | |
| 1437 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1438 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| 257 | 1439 | ##[[|]] > 출력 x |
| 258 | 1440 | }}} |
| 259 | 1441 | }}} |
| 260 | {{{#!if (divider == 2) && !break | |
| 261 | {{{#!if break = true, href = linkRaw.substring(divider+1, linkRaw.length-2), linkPrint = href | |
| 1442 | {{{#!if (this.divider == 2) && !this.break | |
| 1443 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| 262 | 1444 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 263 | 1445 | }}} |
| 264 | 1446 | }}} |
| 265 | {{{#!if (divider+1 == linkRaw.length-2) && !break | |
| 1447 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break | |
| 266 | 1448 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 267 | {{{#!if break = true, href = linkRaw.substring(2, divider), linkPrint = h | |
| 268 | ||
| 269 | ||
| 1449 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href | |
| 270 | 1450 | }}} |
| 271 | 1451 | }}} |
| 272 | {{{#!if !break | |
| 273 | {{{#!if href = linkRaw.substring(2, divider), linkPrint = linkRaw.substring(divider+1, linkRaw.length-2) | |
| 1452 | {{{#!if !this.break | |
| 1453 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| 274 | 1454 | }}} |
| 275 | 1455 | }}} |
| 276 | 1456 | }}} |
| 277 | {{{#!if isLink = (href.startsWith('https://') || href.startsWith('http://') || href.startsWith('ftp://')), isLink | |
| 278 | {{{#!if linkColor = 'none', DarkLinkColor = 'none', outLink = 'asdf' | |
| 1457 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink | |
| 1458 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| 279 | 1459 | }}} |
| 280 | }}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory | |
| 1460 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory | |
| 281 | 1461 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| 282 | }}}{{{#!if !(isCategory || isLink) | |
| 283 | {{{#!if href = 'https://theseed.io/w/'+href | |
| 1462 | }}}{{{#!if !(this.isCategory || this.isLink) | |
| 1463 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| 284 | 1464 | }}} |
| 285 | }}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2) | |
| 286 | }}}{{{#!if DarkInput = DarkInput.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + DarkLinkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + DarkInput.substring(linkClose + 2) | |
| 1465 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) | |
| 1466 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| 287 | 1467 | }}} |
| 288 | 1468 | }}} |
| 289 | ##### | |
| 290 | {{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8', DarkLinkColor='#e69720', outLink='' | |
| 291 | }}}{{{#!if linkOpen = input.indexOf('[['), linkClose = input.indexOf(']]') | |
| 292 | }}}{{{#!if linkRaw = input.substring(linkOpen, linkClose+2) | |
| 293 | }}}{{{#!if linkOpen != -1 && linkClose != -1 && linkOpen+2 < linkClose | |
| 294 | ## [[]] 인 경우 linkOpen+2 == linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 295 | {{{#!if divider = linkRaw.indexOf('|') | |
| 296 | }}}{{{#!if divider == -1 | |
| 1469 | ##### | |
| 1470 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1471 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1472 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1473 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1474 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1475 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1476 | }}}{{{#!if this.divider == -1 | |
| 297 | 1477 | ##[[링크]] |
| 298 | {{{#!if href = linkRaw.substring(2, linkRaw.length-2), linkPrint=href | |
| 1478 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href | |
| 299 | 1479 | }}} |
| 300 | }}}{{{#!if divider != -1 | |
| 301 | {{{#!if (divider == 2) && (divider+1 == linkRaw.length-2) | |
| 302 | {{{#!if break = true, input = input.substring(0, linkOpen) + input.substring(linkClose+2) | |
| 1480 | }}}{{{#!if this.divider != -1 | |
| 1481 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1482 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| 303 | 1483 | ##[[|]] > 출력 x |
| 304 | 1484 | }}} |
| 305 | 1485 | }}} |
| 306 | {{{#!if (divider == 2) && !break | |
| 307 | {{{#!if break = true, href = linkRaw.substring(divider+1, linkRaw.length-2), linkPrint = href | |
| 1486 | {{{#!if (this.divider == 2) && !this.break | |
| 1487 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| 308 | 1488 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 309 | 1489 | }}} |
| 310 | 1490 | }}} |
| 311 | {{{#!if (divider+1 == linkRaw.length-2) && !break | |
| 1491 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break | |
| 312 | 1492 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 313 | {{{#!if break = true, href = linkRaw.substring(2, divider), linkPrint = h | |
| 314 | ||
| 315 | ||
| 1493 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href | |
| 316 | 1494 | }}} |
| 317 | 1495 | }}} |
| 318 | {{{#!if !break | |
| 319 | {{{#!if href = linkRaw.substring(2, divider), linkPrint = linkRaw.substring(divider+1, linkRaw.length-2) | |
| 1496 | {{{#!if !this.break | |
| 1497 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| 320 | 1498 | }}} |
| 321 | 1499 | }}} |
| 322 | 1500 | }}} |
| 323 | {{{#!if isLink = (href.startsWith('https://') || href.startsWith('http://') || href.startsWith('ftp://')), isLink | |
| 324 | {{{#!if linkColor = 'none', DarkLinkColor = 'none', outLink = 'asdf' | |
| 1501 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink | |
| 1502 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| 325 | 1503 | }}} |
| 326 | }}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory | |
| 1504 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory | |
| 327 | 1505 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| 328 | }}}{{{#!if !(isCategory || isLink) | |
| 329 | {{{#!if href = 'https://theseed.io/w/'+href | |
| 1506 | }}}{{{#!if !(this.isCategory || this.isLink) | |
| 1507 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| 330 | 1508 | }}} |
| 331 | }}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2) | |
| 332 | }}}{{{#!if DarkInput = DarkInput.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + DarkLinkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + DarkInput.substring(linkClose + 2) | |
| 1509 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) | |
| 1510 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| 333 | 1511 | }}} |
| 334 | 1512 | }}} |
| 335 | ##### | |
| 336 | {{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8', DarkLinkColor='#e69720', outLink='' | |
| 337 | }}}{{{#!if linkOpen = input.indexOf('[['), linkClose = input.indexOf(']]') | |
| 338 | }}}{{{#!if linkRaw = input.substring(linkOpen, linkClose+2) | |
| 339 | }}}{{{#!if linkOpen != -1 && linkClose != -1 && linkOpen+2 < linkClose | |
| 340 | ## [[]] 인 경우 linkOpen+2 == linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 341 | {{{#!if divider = linkRaw.indexOf('|') | |
| 342 | }}}{{{#!if divider == -1 | |
| 1513 | ##### | |
| 1514 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1515 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1516 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1517 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1518 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1519 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1520 | }}}{{{#!if this.divider == -1 | |
| 343 | 1521 | ##[[링크]] |
| 344 | {{{#!if href = linkRaw.substring(2, linkRaw.length-2), linkPrint=href | |
| 1522 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href | |
| 345 | 1523 | }}} |
| 346 | }}}{{{#!if divider != -1 | |
| 347 | {{{#!if (divider == 2) && (divider+1 == linkRaw.length-2) | |
| 348 | {{{#!if break = true, input = input.substring(0, linkOpen) + input.substring(linkClose+2) | |
| 1524 | }}}{{{#!if this.divider != -1 | |
| 1525 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1526 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| 349 | 1527 | ##[[|]] > 출력 x |
| 350 | 1528 | }}} |
| 351 | 1529 | }}} |
| 352 | {{{#!if (divider == 2) && !break | |
| 353 | {{{#!if break = true, href = linkRaw.substring(divider+1, linkRaw.length-2), linkPrint = href | |
| 1530 | {{{#!if (this.divider == 2) && !this.break | |
| 1531 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| 354 | 1532 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 355 | 1533 | }}} |
| 356 | 1534 | }}} |
| 357 | {{{#!if (divider+1 == linkRaw.length-2) && !break | |
| 1535 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break | |
| 358 | 1536 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 359 | {{{#!if break = true, href = linkRaw.substring(2, divider), linkPrint = h | |
| 360 | ||
| 361 | ||
| 1537 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href | |
| 362 | 1538 | }}} |
| 363 | 1539 | }}} |
| 364 | {{{#!if !break | |
| 365 | {{{#!if href = linkRaw.substring(2, divider), linkPrint = linkRaw.substring(divider+1, linkRaw.length-2) | |
| 1540 | {{{#!if !this.break | |
| 1541 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| 366 | 1542 | }}} |
| 367 | 1543 | }}} |
| 368 | 1544 | }}} |
| 369 | {{{#!if isLink = (href.startsWith('https://') || href.startsWith('http://') || href.startsWith('ftp://')), isLink | |
| 370 | {{{#!if linkColor = 'none', DarkLinkColor = 'none', outLink = 'asdf' | |
| 1545 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink | |
| 1546 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| 371 | 1547 | }}} |
| 372 | }}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory | |
| 1548 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory | |
| 373 | 1549 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| 374 | }}}{{{#!if !(isCategory || isLink) | |
| 375 | {{{#!if href = 'https://theseed.io/w/'+href | |
| 1550 | }}}{{{#!if !(this.isCategory || this.isLink) | |
| 1551 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| 376 | 1552 | }}} |
| 377 | }}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2) | |
| 378 | }}}{{{#!if DarkInput = DarkInput.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + DarkLinkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + DarkInput.substring(linkClose + 2) | |
| 1553 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) | |
| 1554 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| 379 | 1555 | }}} |
| 380 | 1556 | }}} |
| 381 | {{{#!if Emlist = {'+1':'1.28889em','+2':'1.38889em','+3':'1.48144em','+4':'1.57400em','+5':'1.66667em','-1':'0.92589em','-2':'0.83333em','-3':'0.74067em','-4':'0.64811em','-5':'0.62222em'} | |
| 1557 | {{{#!if this.Emlist = {'+1':'1.28889em','+2':'1.38889em','+3':'1.48144em','+4':'1.57400em','+5':'1.66667em','-1':'0.92589em','-2':'0.83333em','-3':'0.74067em','-4':'0.64811em','-5':'0.62222em'} | |
| 382 | 1558 | }}} |
| 383 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 384 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 385 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1559 | ####################################################################################################################################### 중괄호사용 | |
| 1560 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1561 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1562 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 386 | 1563 | }}} |
| 387 | {{{#!if _ParOpen == -1 | |
| 388 | {{{#!if Match=true | |
| 1564 | {{{#!if this._ParOpen == -1 | |
| 1565 | {{{#!if this.Match=true | |
| 389 | 1566 | }}} |
| 390 | }}}{{{#!if _ParOpen != -1 | |
| 391 | {{{#!if ParOpen=_ParOpen | |
| 1567 | }}}{{{#!if this._ParOpen != -1 | |
| 1568 | {{{#!if this.ParOpen=this._ParOpen | |
| 392 | 1569 | }}} |
| 393 | 1570 | }}} |
| 394 | ||
| 395 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1571 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 396 | 1572 | }}} |
| 397 | {{{#!if _ParOpen == -1 | |
| 398 | {{{#!if Match=true | |
| 1573 | {{{#!if this._ParOpen == -1 | |
| 1574 | {{{#!if this.Match=true | |
| 399 | 1575 | }}} |
| 400 | }}}{{{#!if _ParOpen != -1 | |
| 401 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1576 | }}}{{{#!if this._ParOpen != -1 | |
| 1577 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 402 | 1578 | }}} |
| 403 | 1579 | }}} |
| 404 | ||
| 405 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1580 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 406 | 1581 | }}} |
| 407 | {{{#!if _ParOpen == -1 | |
| 408 | {{{#!if Match=true | |
| 1582 | {{{#!if this._ParOpen == -1 | |
| 1583 | {{{#!if this.Match=true | |
| 409 | 1584 | }}} |
| 410 | }}}{{{#!if _ParOpen != -1 | |
| 411 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1585 | }}}{{{#!if this._ParOpen != -1 | |
| 1586 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 412 | 1587 | }}} |
| 413 | 1588 | }}} |
| 414 | ||
| 415 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1589 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 416 | 1590 | }}} |
| 417 | {{{#!if _ParOpen == -1 | |
| 418 | {{{#!if Match=true | |
| 1591 | {{{#!if this._ParOpen == -1 | |
| 1592 | {{{#!if this.Match=true | |
| 419 | 1593 | }}} |
| 420 | }}}{{{#!if _ParOpen != -1 | |
| 421 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1594 | }}}{{{#!if this._ParOpen != -1 | |
| 1595 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 422 | 1596 | }}} |
| 423 | 1597 | }}} |
| 424 | ||
| 425 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1598 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 426 | 1599 | }}} |
| 427 | {{{#!if _ParOpen == -1 | |
| 428 | {{{#!if Match=true | |
| 1600 | {{{#!if this._ParOpen == -1 | |
| 1601 | {{{#!if this.Match=true | |
| 429 | 1602 | }}} |
| 430 | }}}{{{#!if _ParOpen != -1 | |
| 431 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1603 | }}}{{{#!if this._ParOpen != -1 | |
| 1604 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 432 | 1605 | }}} |
| 433 | 1606 | }}} |
| 434 | ||
| 435 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1607 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 436 | 1608 | }}} |
| 437 | {{{#!if _ParOpen == -1 | |
| 438 | {{{#!if Match=true | |
| 1609 | {{{#!if this._ParOpen == -1 | |
| 1610 | {{{#!if this.Match=true | |
| 439 | 1611 | }}} |
| 440 | }}}{{{#!if _ParOpen != -1 | |
| 441 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1612 | }}}{{{#!if this._ParOpen != -1 | |
| 1613 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 442 | 1614 | }}} |
| 443 | 1615 | }}} |
| 444 | ||
| 445 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1616 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 446 | 1617 | }}} |
| 447 | {{{#!if _ParOpen == -1 | |
| 448 | {{{#!if Match=true | |
| 1618 | {{{#!if this._ParOpen == -1 | |
| 1619 | {{{#!if this.Match=true | |
| 449 | 1620 | }}} |
| 450 | }}}{{{#!if _ParOpen != -1 | |
| 451 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1621 | }}}{{{#!if this._ParOpen != -1 | |
| 1622 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 452 | 1623 | }}} |
| 453 | 1624 | }}} |
| 454 | 1625 | }}} |
| 455 | ##### | |
| 456 | {{{#!if Match | |
| 457 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 458 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 1626 | ##### | |
| 1627 | {{{#!if this.Match | |
| 1628 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1629 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 459 | 1630 | }}} |
| 460 | 1631 | }}} |
| 461 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 462 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 463 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 464 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 465 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1632 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 1633 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1634 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1635 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 1636 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 466 | 1637 | }}} |
| 467 | 1638 | }}} |
| 468 | 1639 | }}} |
| 469 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 470 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 471 | }}}{{{#!if Blank!=-1 | |
| 472 | {{{#!if Comma != -1 | |
| 473 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 1640 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 1641 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1642 | }}}{{{#!if this.Blank!=-1 | |
| 1643 | {{{#!if this.Comma != -1 | |
| 1644 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 474 | 1645 | }}} |
| 475 | 1646 | }}} |
| 476 | {{{#!if Comma == -1 | |
| 477 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 1647 | {{{#!if this.Comma == -1 | |
| 1648 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 478 | 1649 | }}} |
| 479 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 480 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1650 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1651 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 481 | 1652 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 482 | 1653 | }}} |
| 483 | 1654 | }}} |
| 484 | 1655 | }}} |
| 485 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 486 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 487 | }}}{{{#!if Blank==5 | |
| 488 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 489 | }}}{{{#!if Em = Emlist[Size] | |
| 490 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 491 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1656 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 1657 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1658 | }}}{{{#!if this.Blank==5 | |
| 1659 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1660 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1661 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1662 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 492 | 1663 | }}} |
| 493 | 1664 | }}} |
| 494 | 1665 | }}} |
| 495 | 1666 | }}} |
| 496 | 1667 | }}} |
| 497 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 498 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 499 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1668 | ##### | |
| 1669 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1670 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1671 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 500 | 1672 | }}} |
| 501 | {{{#!if _ParOpen == -1 | |
| 502 | {{{#!if Match=true | |
| 1673 | {{{#!if this._ParOpen == -1 | |
| 1674 | {{{#!if this.Match=true | |
| 503 | 1675 | }}} |
| 504 | }}}{{{#!if _ParOpen != -1 | |
| 505 | {{{#!if ParOpen=_ParOpen | |
| 1676 | }}}{{{#!if this._ParOpen != -1 | |
| 1677 | {{{#!if this.ParOpen=this._ParOpen | |
| 506 | 1678 | }}} |
| 507 | 1679 | }}} |
| 508 | ||
| 509 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1680 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 510 | 1681 | }}} |
| 511 | {{{#!if _ParOpen == -1 | |
| 512 | {{{#!if Match=true | |
| 1682 | {{{#!if this._ParOpen == -1 | |
| 1683 | {{{#!if this.Match=true | |
| 513 | 1684 | }}} |
| 514 | }}}{{{#!if _ParOpen != -1 | |
| 515 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1685 | }}}{{{#!if this._ParOpen != -1 | |
| 1686 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 516 | 1687 | }}} |
| 517 | 1688 | }}} |
| 518 | ||
| 519 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1689 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 520 | 1690 | }}} |
| 521 | {{{#!if _ParOpen == -1 | |
| 522 | {{{#!if Match=true | |
| 1691 | {{{#!if this._ParOpen == -1 | |
| 1692 | {{{#!if this.Match=true | |
| 523 | 1693 | }}} |
| 524 | }}}{{{#!if _ParOpen != -1 | |
| 525 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1694 | }}}{{{#!if this._ParOpen != -1 | |
| 1695 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 526 | 1696 | }}} |
| 527 | 1697 | }}} |
| 528 | ||
| 529 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1698 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 530 | 1699 | }}} |
| 531 | {{{#!if _ParOpen == -1 | |
| 532 | {{{#!if Match=true | |
| 1700 | {{{#!if this._ParOpen == -1 | |
| 1701 | {{{#!if this.Match=true | |
| 533 | 1702 | }}} |
| 534 | }}}{{{#!if _ParOpen != -1 | |
| 535 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1703 | }}}{{{#!if this._ParOpen != -1 | |
| 1704 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 536 | 1705 | }}} |
| 537 | 1706 | }}} |
| 538 | ||
| 539 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1707 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 540 | 1708 | }}} |
| 541 | {{{#!if _ParOpen == -1 | |
| 542 | {{{#!if Match=true | |
| 1709 | {{{#!if this._ParOpen == -1 | |
| 1710 | {{{#!if this.Match=true | |
| 543 | 1711 | }}} |
| 544 | }}}{{{#!if _ParOpen != -1 | |
| 545 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1712 | }}}{{{#!if this._ParOpen != -1 | |
| 1713 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 546 | 1714 | }}} |
| 547 | 1715 | }}} |
| 548 | ||
| 549 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1716 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 550 | 1717 | }}} |
| 551 | {{{#!if _ParOpen == -1 | |
| 552 | {{{#!if Match=true | |
| 1718 | {{{#!if this._ParOpen == -1 | |
| 1719 | {{{#!if this.Match=true | |
| 553 | 1720 | }}} |
| 554 | }}}{{{#!if _ParOpen != -1 | |
| 555 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1721 | }}}{{{#!if this._ParOpen != -1 | |
| 1722 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 556 | 1723 | }}} |
| 557 | 1724 | }}} |
| 558 | ||
| 559 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1725 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 560 | 1726 | }}} |
| 561 | {{{#!if _ParOpen == -1 | |
| 562 | {{{#!if Match=true | |
| 1727 | {{{#!if this._ParOpen == -1 | |
| 1728 | {{{#!if this.Match=true | |
| 563 | 1729 | }}} |
| 564 | }}}{{{#!if _ParOpen != -1 | |
| 565 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1730 | }}}{{{#!if this._ParOpen != -1 | |
| 1731 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 566 | 1732 | }}} |
| 567 | 1733 | }}} |
| 568 | 1734 | }}} |
| 569 | ##### | |
| 570 | {{{#!if Match | |
| 571 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 572 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 1735 | ##### | |
| 1736 | {{{#!if this.Match | |
| 1737 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1738 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 573 | 1739 | }}} |
| 574 | 1740 | }}} |
| 575 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 576 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 577 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 578 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 579 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1741 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 1742 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1743 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1744 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 1745 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 580 | 1746 | }}} |
| 581 | 1747 | }}} |
| 582 | 1748 | }}} |
| 583 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 584 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 585 | }}}{{{#!if Blank!=-1 | |
| 586 | {{{#!if Comma != -1 | |
| 587 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 1749 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 1750 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1751 | }}}{{{#!if this.Blank!=-1 | |
| 1752 | {{{#!if this.Comma != -1 | |
| 1753 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 588 | 1754 | }}} |
| 589 | 1755 | }}} |
| 590 | {{{#!if Comma == -1 | |
| 591 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 1756 | {{{#!if this.Comma == -1 | |
| 1757 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 592 | 1758 | }}} |
| 593 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 594 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1759 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1760 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 595 | 1761 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 596 | 1762 | }}} |
| 597 | 1763 | }}} |
| 598 | 1764 | }}} |
| 599 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 600 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 601 | }}}{{{#!if Blank==5 | |
| 602 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 603 | }}}{{{#!if Em = Emlist[Size] | |
| 604 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 605 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1765 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 1766 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1767 | }}}{{{#!if this.Blank==5 | |
| 1768 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1769 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1770 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1771 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 606 | 1772 | }}} |
| 607 | 1773 | }}} |
| 608 | 1774 | }}} |
| 609 | 1775 | }}} |
| 610 | 1776 | }}} |
| 611 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 612 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 613 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1777 | ##### | |
| 1778 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1779 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1780 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 614 | 1781 | }}} |
| 615 | {{{#!if _ParOpen == -1 | |
| 616 | {{{#!if Match=true | |
| 1782 | {{{#!if this._ParOpen == -1 | |
| 1783 | {{{#!if this.Match=true | |
| 617 | 1784 | }}} |
| 618 | }}}{{{#!if _ParOpen != -1 | |
| 619 | {{{#!if ParOpen=_ParOpen | |
| 1785 | }}}{{{#!if this._ParOpen != -1 | |
| 1786 | {{{#!if this.ParOpen=this._ParOpen | |
| 620 | 1787 | }}} |
| 621 | 1788 | }}} |
| 622 | ||
| 623 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1789 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 624 | 1790 | }}} |
| 625 | {{{#!if _ParOpen == -1 | |
| 626 | {{{#!if Match=true | |
| 1791 | {{{#!if this._ParOpen == -1 | |
| 1792 | {{{#!if this.Match=true | |
| 627 | 1793 | }}} |
| 628 | }}}{{{#!if _ParOpen != -1 | |
| 629 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1794 | }}}{{{#!if this._ParOpen != -1 | |
| 1795 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 630 | 1796 | }}} |
| 631 | 1797 | }}} |
| 632 | ||
| 633 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1798 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 634 | 1799 | }}} |
| 635 | {{{#!if _ParOpen == -1 | |
| 636 | {{{#!if Match=true | |
| 1800 | {{{#!if this._ParOpen == -1 | |
| 1801 | {{{#!if this.Match=true | |
| 637 | 1802 | }}} |
| 638 | }}}{{{#!if _ParOpen != -1 | |
| 639 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1803 | }}}{{{#!if this._ParOpen != -1 | |
| 1804 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 640 | 1805 | }}} |
| 641 | 1806 | }}} |
| 642 | ||
| 643 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1807 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 644 | 1808 | }}} |
| 645 | {{{#!if _ParOpen == -1 | |
| 646 | {{{#!if Match=true | |
| 1809 | {{{#!if this._ParOpen == -1 | |
| 1810 | {{{#!if this.Match=true | |
| 647 | 1811 | }}} |
| 648 | }}}{{{#!if _ParOpen != -1 | |
| 649 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1812 | }}}{{{#!if this._ParOpen != -1 | |
| 1813 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 650 | 1814 | }}} |
| 651 | 1815 | }}} |
| 652 | ||
| 653 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1816 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 654 | 1817 | }}} |
| 655 | {{{#!if _ParOpen == -1 | |
| 656 | {{{#!if Match=true | |
| 1818 | {{{#!if this._ParOpen == -1 | |
| 1819 | {{{#!if this.Match=true | |
| 657 | 1820 | }}} |
| 658 | }}}{{{#!if _ParOpen != -1 | |
| 659 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1821 | }}}{{{#!if this._ParOpen != -1 | |
| 1822 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 660 | 1823 | }}} |
| 661 | 1824 | }}} |
| 662 | ||
| 663 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1825 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 664 | 1826 | }}} |
| 665 | {{{#!if _ParOpen == -1 | |
| 666 | {{{#!if Match=true | |
| 1827 | {{{#!if this._ParOpen == -1 | |
| 1828 | {{{#!if this.Match=true | |
| 667 | 1829 | }}} |
| 668 | }}}{{{#!if _ParOpen != -1 | |
| 669 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1830 | }}}{{{#!if this._ParOpen != -1 | |
| 1831 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 670 | 1832 | }}} |
| 671 | 1833 | }}} |
| 672 | ||
| 673 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1834 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 674 | 1835 | }}} |
| 675 | {{{#!if _ParOpen == -1 | |
| 676 | {{{#!if Match=true | |
| 1836 | {{{#!if this._ParOpen == -1 | |
| 1837 | {{{#!if this.Match=true | |
| 677 | 1838 | }}} |
| 678 | }}}{{{#!if _ParOpen != -1 | |
| 679 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1839 | }}}{{{#!if this._ParOpen != -1 | |
| 1840 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 680 | 1841 | }}} |
| 681 | 1842 | }}} |
| 682 | 1843 | }}} |
| 683 | ##### | |
| 684 | {{{#!if Match | |
| 685 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 686 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 1844 | ##### | |
| 1845 | {{{#!if this.Match | |
| 1846 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1847 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 687 | 1848 | }}} |
| 688 | 1849 | }}} |
| 689 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 690 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 691 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 692 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 693 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1850 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 1851 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1852 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1853 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 1854 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 694 | 1855 | }}} |
| 695 | 1856 | }}} |
| 696 | 1857 | }}} |
| 697 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 698 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 699 | }}}{{{#!if Blank!=-1 | |
| 700 | {{{#!if Comma != -1 | |
| 701 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 1858 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 1859 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1860 | }}}{{{#!if this.Blank!=-1 | |
| 1861 | {{{#!if this.Comma != -1 | |
| 1862 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 702 | 1863 | }}} |
| 703 | 1864 | }}} |
| 704 | {{{#!if Comma == -1 | |
| 705 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 1865 | {{{#!if this.Comma == -1 | |
| 1866 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 706 | 1867 | }}} |
| 707 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 708 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1868 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1869 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 709 | 1870 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 710 | 1871 | }}} |
| 711 | 1872 | }}} |
| 712 | 1873 | }}} |
| 713 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 714 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 715 | }}}{{{#!if Blank==5 | |
| 716 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 717 | }}}{{{#!if Em = Emlist[Size] | |
| 718 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 719 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1874 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 1875 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1876 | }}}{{{#!if this.Blank==5 | |
| 1877 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1878 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1879 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1880 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 720 | 1881 | }}} |
| 721 | 1882 | }}} |
| 722 | 1883 | }}} |
| 723 | 1884 | }}} |
| 724 | 1885 | }}} |
| 725 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 726 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 727 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1886 | ##### | |
| 1887 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1888 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1889 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 728 | 1890 | }}} |
| 729 | {{{#!if _ParOpen == -1 | |
| 730 | {{{#!if Match=true | |
| 1891 | {{{#!if this._ParOpen == -1 | |
| 1892 | {{{#!if this.Match=true | |
| 731 | 1893 | }}} |
| 732 | }}}{{{#!if _ParOpen != -1 | |
| 733 | {{{#!if ParOpen=_ParOpen | |
| 1894 | }}}{{{#!if this._ParOpen != -1 | |
| 1895 | {{{#!if this.ParOpen=this._ParOpen | |
| 734 | 1896 | }}} |
| 735 | 1897 | }}} |
| 736 | ||
| 737 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1898 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 738 | 1899 | }}} |
| 739 | {{{#!if _ParOpen == -1 | |
| 740 | {{{#!if Match=true | |
| 1900 | {{{#!if this._ParOpen == -1 | |
| 1901 | {{{#!if this.Match=true | |
| 741 | 1902 | }}} |
| 742 | }}}{{{#!if _ParOpen != -1 | |
| 743 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1903 | }}}{{{#!if this._ParOpen != -1 | |
| 1904 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 744 | 1905 | }}} |
| 745 | 1906 | }}} |
| 746 | ||
| 747 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1907 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 748 | 1908 | }}} |
| 749 | {{{#!if _ParOpen == -1 | |
| 750 | {{{#!if Match=true | |
| 1909 | {{{#!if this._ParOpen == -1 | |
| 1910 | {{{#!if this.Match=true | |
| 751 | 1911 | }}} |
| 752 | }}}{{{#!if _ParOpen != -1 | |
| 753 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1912 | }}}{{{#!if this._ParOpen != -1 | |
| 1913 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 754 | 1914 | }}} |
| 755 | 1915 | }}} |
| 756 | ||
| 757 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1916 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 758 | 1917 | }}} |
| 759 | {{{#!if _ParOpen == -1 | |
| 760 | {{{#!if Match=true | |
| 1918 | {{{#!if this._ParOpen == -1 | |
| 1919 | {{{#!if this.Match=true | |
| 761 | 1920 | }}} |
| 762 | }}}{{{#!if _ParOpen != -1 | |
| 763 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1921 | }}}{{{#!if this._ParOpen != -1 | |
| 1922 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 764 | 1923 | }}} |
| 765 | 1924 | }}} |
| 766 | ||
| 767 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1925 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 768 | 1926 | }}} |
| 769 | {{{#!if _ParOpen == -1 | |
| 770 | {{{#!if Match=true | |
| 1927 | {{{#!if this._ParOpen == -1 | |
| 1928 | {{{#!if this.Match=true | |
| 771 | 1929 | }}} |
| 772 | }}}{{{#!if _ParOpen != -1 | |
| 773 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1930 | }}}{{{#!if this._ParOpen != -1 | |
| 1931 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 774 | 1932 | }}} |
| 775 | 1933 | }}} |
| 776 | ||
| 777 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1934 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 778 | 1935 | }}} |
| 779 | {{{#!if _ParOpen == -1 | |
| 780 | {{{#!if Match=true | |
| 1936 | {{{#!if this._ParOpen == -1 | |
| 1937 | {{{#!if this.Match=true | |
| 781 | 1938 | }}} |
| 782 | }}}{{{#!if _ParOpen != -1 | |
| 783 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1939 | }}}{{{#!if this._ParOpen != -1 | |
| 1940 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 784 | 1941 | }}} |
| 785 | 1942 | }}} |
| 786 | ||
| 787 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1943 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 788 | 1944 | }}} |
| 789 | {{{#!if _ParOpen == -1 | |
| 790 | {{{#!if Match=true | |
| 1945 | {{{#!if this._ParOpen == -1 | |
| 1946 | {{{#!if this.Match=true | |
| 791 | 1947 | }}} |
| 792 | }}}{{{#!if _ParOpen != -1 | |
| 793 | {{{#!if ParOpen+=_ParOpen+3 | |
| 1948 | }}}{{{#!if this._ParOpen != -1 | |
| 1949 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 794 | 1950 | }}} |
| 795 | 1951 | }}} |
| 796 | 1952 | }}} |
| 797 | ##### | |
| 798 | {{{#!if Match | |
| 799 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 800 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 1953 | ##### | |
| 1954 | {{{#!if this.Match | |
| 1955 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1956 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 801 | 1957 | }}} |
| 802 | 1958 | }}} |
| 803 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 804 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 805 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 806 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 807 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1959 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 1960 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1961 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1962 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 1963 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 808 | 1964 | }}} |
| 809 | 1965 | }}} |
| 810 | 1966 | }}} |
| 811 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 812 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 813 | }}}{{{#!if Blank!=-1 | |
| 814 | {{{#!if Comma != -1 | |
| 815 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 1967 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 1968 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1969 | }}}{{{#!if this.Blank!=-1 | |
| 1970 | {{{#!if this.Comma != -1 | |
| 1971 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 816 | 1972 | }}} |
| 817 | 1973 | }}} |
| 818 | {{{#!if Comma == -1 | |
| 819 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 1974 | {{{#!if this.Comma == -1 | |
| 1975 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 820 | 1976 | }}} |
| 821 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 822 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1977 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1978 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 823 | 1979 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 824 | 1980 | }}} |
| 825 | 1981 | }}} |
| 826 | 1982 | }}} |
| 827 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 828 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 829 | }}}{{{#!if Blank==5 | |
| 830 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 831 | }}}{{{#!if Em = Emlist[Size] | |
| 832 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 833 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 1983 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 1984 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1985 | }}}{{{#!if this.Blank==5 | |
| 1986 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1987 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1988 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1989 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 834 | 1990 | }}} |
| 835 | 1991 | }}} |
| 836 | 1992 | }}} |
| 837 | 1993 | }}} |
| 838 | 1994 | }}} |
| 839 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 840 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 841 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 1995 | ##### | |
| 1996 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1997 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1998 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 842 | 1999 | }}} |
| 843 | {{{#!if _ParOpen == -1 | |
| 844 | {{{#!if Match=true | |
| 2000 | {{{#!if this._ParOpen == -1 | |
| 2001 | {{{#!if this.Match=true | |
| 845 | 2002 | }}} |
| 846 | }}}{{{#!if _ParOpen != -1 | |
| 847 | {{{#!if ParOpen=_ParOpen | |
| 2003 | }}}{{{#!if this._ParOpen != -1 | |
| 2004 | {{{#!if this.ParOpen=this._ParOpen | |
| 848 | 2005 | }}} |
| 849 | 2006 | }}} |
| 850 | ||
| 851 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2007 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 852 | 2008 | }}} |
| 853 | {{{#!if _ParOpen == -1 | |
| 854 | {{{#!if Match=true | |
| 2009 | {{{#!if this._ParOpen == -1 | |
| 2010 | {{{#!if this.Match=true | |
| 855 | 2011 | }}} |
| 856 | }}}{{{#!if _ParOpen != -1 | |
| 857 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2012 | }}}{{{#!if this._ParOpen != -1 | |
| 2013 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 858 | 2014 | }}} |
| 859 | 2015 | }}} |
| 860 | ||
| 861 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2016 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 862 | 2017 | }}} |
| 863 | {{{#!if _ParOpen == -1 | |
| 864 | {{{#!if Match=true | |
| 2018 | {{{#!if this._ParOpen == -1 | |
| 2019 | {{{#!if this.Match=true | |
| 865 | 2020 | }}} |
| 866 | }}}{{{#!if _ParOpen != -1 | |
| 867 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2021 | }}}{{{#!if this._ParOpen != -1 | |
| 2022 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 868 | 2023 | }}} |
| 869 | 2024 | }}} |
| 870 | ||
| 871 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2025 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 872 | 2026 | }}} |
| 873 | {{{#!if _ParOpen == -1 | |
| 874 | {{{#!if Match=true | |
| 2027 | {{{#!if this._ParOpen == -1 | |
| 2028 | {{{#!if this.Match=true | |
| 875 | 2029 | }}} |
| 876 | }}}{{{#!if _ParOpen != -1 | |
| 877 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2030 | }}}{{{#!if this._ParOpen != -1 | |
| 2031 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 878 | 2032 | }}} |
| 879 | 2033 | }}} |
| 880 | ||
| 881 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2034 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 882 | 2035 | }}} |
| 883 | {{{#!if _ParOpen == -1 | |
| 884 | {{{#!if Match=true | |
| 2036 | {{{#!if this._ParOpen == -1 | |
| 2037 | {{{#!if this.Match=true | |
| 885 | 2038 | }}} |
| 886 | }}}{{{#!if _ParOpen != -1 | |
| 887 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2039 | }}}{{{#!if this._ParOpen != -1 | |
| 2040 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 888 | 2041 | }}} |
| 889 | 2042 | }}} |
| 890 | ||
| 891 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2043 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 892 | 2044 | }}} |
| 893 | {{{#!if _ParOpen == -1 | |
| 894 | {{{#!if Match=true | |
| 2045 | {{{#!if this._ParOpen == -1 | |
| 2046 | {{{#!if this.Match=true | |
| 895 | 2047 | }}} |
| 896 | }}}{{{#!if _ParOpen != -1 | |
| 897 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2048 | }}}{{{#!if this._ParOpen != -1 | |
| 2049 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 898 | 2050 | }}} |
| 899 | 2051 | }}} |
| 900 | ||
| 901 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2052 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 902 | 2053 | }}} |
| 903 | {{{#!if _ParOpen == -1 | |
| 904 | {{{#!if Match=true | |
| 2054 | {{{#!if this._ParOpen == -1 | |
| 2055 | {{{#!if this.Match=true | |
| 905 | 2056 | }}} |
| 906 | }}}{{{#!if _ParOpen != -1 | |
| 907 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2057 | }}}{{{#!if this._ParOpen != -1 | |
| 2058 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 908 | 2059 | }}} |
| 909 | 2060 | }}} |
| 910 | 2061 | }}} |
| 911 | ##### | |
| 912 | {{{#!if Match | |
| 913 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 914 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 2062 | ##### | |
| 2063 | {{{#!if this.Match | |
| 2064 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2065 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 915 | 2066 | }}} |
| 916 | 2067 | }}} |
| 917 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 918 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 919 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 920 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 921 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2068 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2069 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2070 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2071 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2072 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 922 | 2073 | }}} |
| 923 | 2074 | }}} |
| 924 | 2075 | }}} |
| 925 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 926 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 927 | }}}{{{#!if Blank!=-1 | |
| 928 | {{{#!if Comma != -1 | |
| 929 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 2076 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2077 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2078 | }}}{{{#!if this.Blank!=-1 | |
| 2079 | {{{#!if this.Comma != -1 | |
| 2080 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 930 | 2081 | }}} |
| 931 | 2082 | }}} |
| 932 | {{{#!if Comma == -1 | |
| 933 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 2083 | {{{#!if this.Comma == -1 | |
| 2084 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 934 | 2085 | }}} |
| 935 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 936 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2086 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2087 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 937 | 2088 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 938 | 2089 | }}} |
| 939 | 2090 | }}} |
| 940 | 2091 | }}} |
| 941 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 942 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 943 | }}}{{{#!if Blank==5 | |
| 944 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 945 | }}}{{{#!if Em = Emlist[Size] | |
| 946 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 947 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2092 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2093 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2094 | }}}{{{#!if this.Blank==5 | |
| 2095 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2096 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2097 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2098 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 948 | 2099 | }}} |
| 949 | 2100 | }}} |
| 950 | 2101 | }}} |
| 951 | 2102 | }}} |
| 952 | 2103 | }}} |
| 953 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 954 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 955 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2104 | ##### | |
| 2105 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2106 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2107 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 956 | 2108 | }}} |
| 957 | {{{#!if _ParOpen == -1 | |
| 958 | {{{#!if Match=true | |
| 2109 | {{{#!if this._ParOpen == -1 | |
| 2110 | {{{#!if this.Match=true | |
| 959 | 2111 | }}} |
| 960 | }}}{{{#!if _ParOpen != -1 | |
| 961 | {{{#!if ParOpen=_ParOpen | |
| 2112 | }}}{{{#!if this._ParOpen != -1 | |
| 2113 | {{{#!if this.ParOpen=this._ParOpen | |
| 962 | 2114 | }}} |
| 963 | 2115 | }}} |
| 964 | ||
| 965 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2116 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 966 | 2117 | }}} |
| 967 | {{{#!if _ParOpen == -1 | |
| 968 | {{{#!if Match=true | |
| 2118 | {{{#!if this._ParOpen == -1 | |
| 2119 | {{{#!if this.Match=true | |
| 969 | 2120 | }}} |
| 970 | }}}{{{#!if _ParOpen != -1 | |
| 971 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2121 | }}}{{{#!if this._ParOpen != -1 | |
| 2122 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 972 | 2123 | }}} |
| 973 | 2124 | }}} |
| 974 | ||
| 975 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2125 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 976 | 2126 | }}} |
| 977 | {{{#!if _ParOpen == -1 | |
| 978 | {{{#!if Match=true | |
| 2127 | {{{#!if this._ParOpen == -1 | |
| 2128 | {{{#!if this.Match=true | |
| 979 | 2129 | }}} |
| 980 | }}}{{{#!if _ParOpen != -1 | |
| 981 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2130 | }}}{{{#!if this._ParOpen != -1 | |
| 2131 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 982 | 2132 | }}} |
| 983 | 2133 | }}} |
| 984 | ||
| 985 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2134 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 986 | 2135 | }}} |
| 987 | {{{#!if _ParOpen == -1 | |
| 988 | {{{#!if Match=true | |
| 2136 | {{{#!if this._ParOpen == -1 | |
| 2137 | {{{#!if this.Match=true | |
| 989 | 2138 | }}} |
| 990 | }}}{{{#!if _ParOpen != -1 | |
| 991 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2139 | }}}{{{#!if this._ParOpen != -1 | |
| 2140 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 992 | 2141 | }}} |
| 993 | 2142 | }}} |
| 994 | ||
| 995 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2143 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 996 | 2144 | }}} |
| 997 | {{{#!if _ParOpen == -1 | |
| 998 | {{{#!if Match=true | |
| 2145 | {{{#!if this._ParOpen == -1 | |
| 2146 | {{{#!if this.Match=true | |
| 999 | 2147 | }}} |
| 1000 | }}}{{{#!if _ParOpen != -1 | |
| 1001 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2148 | }}}{{{#!if this._ParOpen != -1 | |
| 2149 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1002 | 2150 | }}} |
| 1003 | 2151 | }}} |
| 1004 | ||
| 1005 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2152 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1006 | 2153 | }}} |
| 1007 | {{{#!if _ParOpen == -1 | |
| 1008 | {{{#!if Match=true | |
| 2154 | {{{#!if this._ParOpen == -1 | |
| 2155 | {{{#!if this.Match=true | |
| 1009 | 2156 | }}} |
| 1010 | }}}{{{#!if _ParOpen != -1 | |
| 1011 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2157 | }}}{{{#!if this._ParOpen != -1 | |
| 2158 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1012 | 2159 | }}} |
| 1013 | 2160 | }}} |
| 1014 | ||
| 1015 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2161 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1016 | 2162 | }}} |
| 1017 | {{{#!if _ParOpen == -1 | |
| 1018 | {{{#!if Match=true | |
| 2163 | {{{#!if this._ParOpen == -1 | |
| 2164 | {{{#!if this.Match=true | |
| 1019 | 2165 | }}} |
| 1020 | }}}{{{#!if _ParOpen != -1 | |
| 1021 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2166 | }}}{{{#!if this._ParOpen != -1 | |
| 2167 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1022 | 2168 | }}} |
| 1023 | 2169 | }}} |
| 1024 | 2170 | }}} |
| 1025 | ##### | |
| 1026 | {{{#!if Match | |
| 1027 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 1028 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 2171 | ##### | |
| 2172 | {{{#!if this.Match | |
| 2173 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2174 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 1029 | 2175 | }}} |
| 1030 | 2176 | }}} |
| 1031 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 1032 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 1033 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 1034 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 1035 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2177 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2178 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2179 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2180 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2181 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1036 | 2182 | }}} |
| 1037 | 2183 | }}} |
| 1038 | 2184 | }}} |
| 1039 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 1040 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 1041 | }}}{{{#!if Blank!=-1 | |
| 1042 | {{{#!if Comma != -1 | |
| 1043 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 2185 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2186 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2187 | }}}{{{#!if this.Blank!=-1 | |
| 2188 | {{{#!if this.Comma != -1 | |
| 2189 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 1044 | 2190 | }}} |
| 1045 | 2191 | }}} |
| 1046 | {{{#!if Comma == -1 | |
| 1047 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 2192 | {{{#!if this.Comma == -1 | |
| 2193 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 1048 | 2194 | }}} |
| 1049 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1050 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2195 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2196 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1051 | 2197 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1052 | 2198 | }}} |
| 1053 | 2199 | }}} |
| 1054 | 2200 | }}} |
| 1055 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 1056 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 1057 | }}}{{{#!if Blank==5 | |
| 1058 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 1059 | }}}{{{#!if Em = Emlist[Size] | |
| 1060 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1061 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2201 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2202 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2203 | }}}{{{#!if this.Blank==5 | |
| 2204 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2205 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2206 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2207 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1062 | 2208 | }}} |
| 1063 | 2209 | }}} |
| 1064 | 2210 | }}} |
| 1065 | 2211 | }}} |
| 1066 | 2212 | }}} |
| 1067 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 1068 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 1069 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2213 | ##### | |
| 2214 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2215 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2216 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1070 | 2217 | }}} |
| 1071 | {{{#!if _ParOpen == -1 | |
| 1072 | {{{#!if Match=true | |
| 2218 | {{{#!if this._ParOpen == -1 | |
| 2219 | {{{#!if this.Match=true | |
| 1073 | 2220 | }}} |
| 1074 | }}}{{{#!if _ParOpen != -1 | |
| 1075 | {{{#!if ParOpen=_ParOpen | |
| 2221 | }}}{{{#!if this._ParOpen != -1 | |
| 2222 | {{{#!if this.ParOpen=this._ParOpen | |
| 1076 | 2223 | }}} |
| 1077 | 2224 | }}} |
| 1078 | ||
| 1079 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2225 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1080 | 2226 | }}} |
| 1081 | {{{#!if _ParOpen == -1 | |
| 1082 | {{{#!if Match=true | |
| 2227 | {{{#!if this._ParOpen == -1 | |
| 2228 | {{{#!if this.Match=true | |
| 1083 | 2229 | }}} |
| 1084 | }}}{{{#!if _ParOpen != -1 | |
| 1085 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2230 | }}}{{{#!if this._ParOpen != -1 | |
| 2231 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1086 | 2232 | }}} |
| 1087 | 2233 | }}} |
| 1088 | ||
| 1089 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2234 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1090 | 2235 | }}} |
| 1091 | {{{#!if _ParOpen == -1 | |
| 1092 | {{{#!if Match=true | |
| 2236 | {{{#!if this._ParOpen == -1 | |
| 2237 | {{{#!if this.Match=true | |
| 1093 | 2238 | }}} |
| 1094 | }}}{{{#!if _ParOpen != -1 | |
| 1095 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2239 | }}}{{{#!if this._ParOpen != -1 | |
| 2240 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1096 | 2241 | }}} |
| 1097 | 2242 | }}} |
| 1098 | ||
| 1099 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2243 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1100 | 2244 | }}} |
| 1101 | {{{#!if _ParOpen == -1 | |
| 1102 | {{{#!if Match=true | |
| 2245 | {{{#!if this._ParOpen == -1 | |
| 2246 | {{{#!if this.Match=true | |
| 1103 | 2247 | }}} |
| 1104 | }}}{{{#!if _ParOpen != -1 | |
| 1105 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2248 | }}}{{{#!if this._ParOpen != -1 | |
| 2249 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1106 | 2250 | }}} |
| 1107 | 2251 | }}} |
| 1108 | ||
| 1109 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2252 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1110 | 2253 | }}} |
| 1111 | {{{#!if _ParOpen == -1 | |
| 1112 | {{{#!if Match=true | |
| 2254 | {{{#!if this._ParOpen == -1 | |
| 2255 | {{{#!if this.Match=true | |
| 1113 | 2256 | }}} |
| 1114 | }}}{{{#!if _ParOpen != -1 | |
| 1115 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2257 | }}}{{{#!if this._ParOpen != -1 | |
| 2258 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1116 | 2259 | }}} |
| 1117 | 2260 | }}} |
| 1118 | ||
| 1119 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2261 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1120 | 2262 | }}} |
| 1121 | {{{#!if _ParOpen == -1 | |
| 1122 | {{{#!if Match=true | |
| 2263 | {{{#!if this._ParOpen == -1 | |
| 2264 | {{{#!if this.Match=true | |
| 1123 | 2265 | }}} |
| 1124 | }}}{{{#!if _ParOpen != -1 | |
| 1125 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2266 | }}}{{{#!if this._ParOpen != -1 | |
| 2267 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1126 | 2268 | }}} |
| 1127 | 2269 | }}} |
| 1128 | ||
| 1129 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2270 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1130 | 2271 | }}} |
| 1131 | {{{#!if _ParOpen == -1 | |
| 1132 | {{{#!if Match=true | |
| 2272 | {{{#!if this._ParOpen == -1 | |
| 2273 | {{{#!if this.Match=true | |
| 1133 | 2274 | }}} |
| 1134 | }}}{{{#!if _ParOpen != -1 | |
| 1135 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2275 | }}}{{{#!if this._ParOpen != -1 | |
| 2276 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1136 | 2277 | }}} |
| 1137 | 2278 | }}} |
| 1138 | 2279 | }}} |
| 1139 | ##### | |
| 1140 | {{{#!if Match | |
| 1141 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 1142 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 2280 | ##### | |
| 2281 | {{{#!if this.Match | |
| 2282 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2283 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 1143 | 2284 | }}} |
| 1144 | 2285 | }}} |
| 1145 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 1146 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 1147 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 1148 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 1149 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2286 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2287 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2288 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2289 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2290 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1150 | 2291 | }}} |
| 1151 | 2292 | }}} |
| 1152 | 2293 | }}} |
| 1153 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 1154 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 1155 | }}}{{{#!if Blank!=-1 | |
| 1156 | {{{#!if Comma != -1 | |
| 1157 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 2294 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2295 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2296 | }}}{{{#!if this.Blank!=-1 | |
| 2297 | {{{#!if this.Comma != -1 | |
| 2298 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 1158 | 2299 | }}} |
| 1159 | 2300 | }}} |
| 1160 | {{{#!if Comma == -1 | |
| 1161 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 2301 | {{{#!if this.Comma == -1 | |
| 2302 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 1162 | 2303 | }}} |
| 1163 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1164 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2304 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2305 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1165 | 2306 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1166 | 2307 | }}} |
| 1167 | 2308 | }}} |
| 1168 | 2309 | }}} |
| 1169 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 1170 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 1171 | }}}{{{#!if Blank==5 | |
| 1172 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 1173 | }}}{{{#!if Em = Emlist[Size] | |
| 1174 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1175 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2310 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2311 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2312 | }}}{{{#!if this.Blank==5 | |
| 2313 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2314 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2315 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2316 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1176 | 2317 | }}} |
| 1177 | 2318 | }}} |
| 1178 | 2319 | }}} |
| 1179 | 2320 | }}} |
| 1180 | 2321 | }}} |
| 1181 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 1182 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 1183 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2322 | ##### | |
| 2323 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2324 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2325 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1184 | 2326 | }}} |
| 1185 | {{{#!if _ParOpen == -1 | |
| 1186 | {{{#!if Match=true | |
| 2327 | {{{#!if this._ParOpen == -1 | |
| 2328 | {{{#!if this.Match=true | |
| 1187 | 2329 | }}} |
| 1188 | }}}{{{#!if _ParOpen != -1 | |
| 1189 | {{{#!if ParOpen=_ParOpen | |
| 2330 | }}}{{{#!if this._ParOpen != -1 | |
| 2331 | {{{#!if this.ParOpen=this._ParOpen | |
| 1190 | 2332 | }}} |
| 1191 | 2333 | }}} |
| 1192 | ||
| 1193 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2334 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1194 | 2335 | }}} |
| 1195 | {{{#!if _ParOpen == -1 | |
| 1196 | {{{#!if Match=true | |
| 2336 | {{{#!if this._ParOpen == -1 | |
| 2337 | {{{#!if this.Match=true | |
| 1197 | 2338 | }}} |
| 1198 | }}}{{{#!if _ParOpen != -1 | |
| 1199 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2339 | }}}{{{#!if this._ParOpen != -1 | |
| 2340 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1200 | 2341 | }}} |
| 1201 | 2342 | }}} |
| 1202 | ||
| 1203 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2343 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1204 | 2344 | }}} |
| 1205 | {{{#!if _ParOpen == -1 | |
| 1206 | {{{#!if Match=true | |
| 2345 | {{{#!if this._ParOpen == -1 | |
| 2346 | {{{#!if this.Match=true | |
| 1207 | 2347 | }}} |
| 1208 | }}}{{{#!if _ParOpen != -1 | |
| 1209 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2348 | }}}{{{#!if this._ParOpen != -1 | |
| 2349 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1210 | 2350 | }}} |
| 1211 | 2351 | }}} |
| 1212 | ||
| 1213 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2352 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1214 | 2353 | }}} |
| 1215 | {{{#!if _ParOpen == -1 | |
| 1216 | {{{#!if Match=true | |
| 2354 | {{{#!if this._ParOpen == -1 | |
| 2355 | {{{#!if this.Match=true | |
| 1217 | 2356 | }}} |
| 1218 | }}}{{{#!if _ParOpen != -1 | |
| 1219 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2357 | }}}{{{#!if this._ParOpen != -1 | |
| 2358 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1220 | 2359 | }}} |
| 1221 | 2360 | }}} |
| 1222 | ||
| 1223 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2361 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1224 | 2362 | }}} |
| 1225 | {{{#!if _ParOpen == -1 | |
| 1226 | {{{#!if Match=true | |
| 2363 | {{{#!if this._ParOpen == -1 | |
| 2364 | {{{#!if this.Match=true | |
| 1227 | 2365 | }}} |
| 1228 | }}}{{{#!if _ParOpen != -1 | |
| 1229 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2366 | }}}{{{#!if this._ParOpen != -1 | |
| 2367 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1230 | 2368 | }}} |
| 1231 | 2369 | }}} |
| 1232 | ||
| 1233 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2370 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1234 | 2371 | }}} |
| 1235 | {{{#!if _ParOpen == -1 | |
| 1236 | {{{#!if Match=true | |
| 2372 | {{{#!if this._ParOpen == -1 | |
| 2373 | {{{#!if this.Match=true | |
| 1237 | 2374 | }}} |
| 1238 | }}}{{{#!if _ParOpen != -1 | |
| 1239 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2375 | }}}{{{#!if this._ParOpen != -1 | |
| 2376 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1240 | 2377 | }}} |
| 1241 | 2378 | }}} |
| 1242 | ||
| 1243 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2379 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1244 | 2380 | }}} |
| 1245 | {{{#!if _ParOpen == -1 | |
| 1246 | {{{#!if Match=true | |
| 2381 | {{{#!if this._ParOpen == -1 | |
| 2382 | {{{#!if this.Match=true | |
| 1247 | 2383 | }}} |
| 1248 | }}}{{{#!if _ParOpen != -1 | |
| 1249 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2384 | }}}{{{#!if this._ParOpen != -1 | |
| 2385 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1250 | 2386 | }}} |
| 1251 | 2387 | }}} |
| 1252 | 2388 | }}} |
| 1253 | ##### | |
| 1254 | {{{#!if Match | |
| 1255 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 1256 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 2389 | ##### | |
| 2390 | {{{#!if this.Match | |
| 2391 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2392 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 1257 | 2393 | }}} |
| 1258 | 2394 | }}} |
| 1259 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 1260 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 1261 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 1262 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 1263 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2395 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2396 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2397 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2398 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2399 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1264 | 2400 | }}} |
| 1265 | 2401 | }}} |
| 1266 | 2402 | }}} |
| 1267 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 1268 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 1269 | }}}{{{#!if Blank!=-1 | |
| 1270 | {{{#!if Comma != -1 | |
| 1271 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 2403 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2404 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2405 | }}}{{{#!if this.Blank!=-1 | |
| 2406 | {{{#!if this.Comma != -1 | |
| 2407 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 1272 | 2408 | }}} |
| 1273 | 2409 | }}} |
| 1274 | {{{#!if Comma == -1 | |
| 1275 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 2410 | {{{#!if this.Comma == -1 | |
| 2411 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 1276 | 2412 | }}} |
| 1277 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1278 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2413 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2414 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1279 | 2415 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1280 | 2416 | }}} |
| 1281 | 2417 | }}} |
| 1282 | 2418 | }}} |
| 1283 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 1284 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 1285 | }}}{{{#!if Blank==5 | |
| 1286 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 1287 | }}}{{{#!if Em = Emlist[Size] | |
| 1288 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1289 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2419 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2420 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2421 | }}}{{{#!if this.Blank==5 | |
| 2422 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2423 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2424 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2425 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1290 | 2426 | }}} |
| 1291 | 2427 | }}} |
| 1292 | 2428 | }}} |
| 1293 | 2429 | }}} |
| 1294 | 2430 | }}} |
| 1295 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 1296 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 1297 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2431 | ##### | |
| 2432 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2433 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2434 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1298 | 2435 | }}} |
| 1299 | {{{#!if _ParOpen == -1 | |
| 1300 | {{{#!if Match=true | |
| 2436 | {{{#!if this._ParOpen == -1 | |
| 2437 | {{{#!if this.Match=true | |
| 1301 | 2438 | }}} |
| 1302 | }}}{{{#!if _ParOpen != -1 | |
| 1303 | {{{#!if ParOpen=_ParOpen | |
| 2439 | }}}{{{#!if this._ParOpen != -1 | |
| 2440 | {{{#!if this.ParOpen=this._ParOpen | |
| 1304 | 2441 | }}} |
| 1305 | 2442 | }}} |
| 1306 | ||
| 1307 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2443 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1308 | 2444 | }}} |
| 1309 | {{{#!if _ParOpen == -1 | |
| 1310 | {{{#!if Match=true | |
| 2445 | {{{#!if this._ParOpen == -1 | |
| 2446 | {{{#!if this.Match=true | |
| 1311 | 2447 | }}} |
| 1312 | }}}{{{#!if _ParOpen != -1 | |
| 1313 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2448 | }}}{{{#!if this._ParOpen != -1 | |
| 2449 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1314 | 2450 | }}} |
| 1315 | 2451 | }}} |
| 1316 | ||
| 1317 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2452 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1318 | 2453 | }}} |
| 1319 | {{{#!if _ParOpen == -1 | |
| 1320 | {{{#!if Match=true | |
| 2454 | {{{#!if this._ParOpen == -1 | |
| 2455 | {{{#!if this.Match=true | |
| 1321 | 2456 | }}} |
| 1322 | }}}{{{#!if _ParOpen != -1 | |
| 1323 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2457 | }}}{{{#!if this._ParOpen != -1 | |
| 2458 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1324 | 2459 | }}} |
| 1325 | 2460 | }}} |
| 1326 | ||
| 1327 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2461 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1328 | 2462 | }}} |
| 1329 | {{{#!if _ParOpen == -1 | |
| 1330 | {{{#!if Match=true | |
| 2463 | {{{#!if this._ParOpen == -1 | |
| 2464 | {{{#!if this.Match=true | |
| 1331 | 2465 | }}} |
| 1332 | }}}{{{#!if _ParOpen != -1 | |
| 1333 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2466 | }}}{{{#!if this._ParOpen != -1 | |
| 2467 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1334 | 2468 | }}} |
| 1335 | 2469 | }}} |
| 1336 | ||
| 1337 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2470 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1338 | 2471 | }}} |
| 1339 | {{{#!if _ParOpen == -1 | |
| 1340 | {{{#!if Match=true | |
| 2472 | {{{#!if this._ParOpen == -1 | |
| 2473 | {{{#!if this.Match=true | |
| 1341 | 2474 | }}} |
| 1342 | }}}{{{#!if _ParOpen != -1 | |
| 1343 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2475 | }}}{{{#!if this._ParOpen != -1 | |
| 2476 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1344 | 2477 | }}} |
| 1345 | 2478 | }}} |
| 1346 | ||
| 1347 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2479 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1348 | 2480 | }}} |
| 1349 | {{{#!if _ParOpen == -1 | |
| 1350 | {{{#!if Match=true | |
| 2481 | {{{#!if this._ParOpen == -1 | |
| 2482 | {{{#!if this.Match=true | |
| 1351 | 2483 | }}} |
| 1352 | }}}{{{#!if _ParOpen != -1 | |
| 1353 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2484 | }}}{{{#!if this._ParOpen != -1 | |
| 2485 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1354 | 2486 | }}} |
| 1355 | 2487 | }}} |
| 1356 | ||
| 1357 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2488 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1358 | 2489 | }}} |
| 1359 | {{{#!if _ParOpen == -1 | |
| 1360 | {{{#!if Match=true | |
| 2490 | {{{#!if this._ParOpen == -1 | |
| 2491 | {{{#!if this.Match=true | |
| 1361 | 2492 | }}} |
| 1362 | }}}{{{#!if _ParOpen != -1 | |
| 1363 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2493 | }}}{{{#!if this._ParOpen != -1 | |
| 2494 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1364 | 2495 | }}} |
| 1365 | 2496 | }}} |
| 1366 | 2497 | }}} |
| 1367 | ##### | |
| 1368 | {{{#!if Match | |
| 1369 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 1370 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 2498 | ##### | |
| 2499 | {{{#!if this.Match | |
| 2500 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2501 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 1371 | 2502 | }}} |
| 1372 | 2503 | }}} |
| 1373 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 1374 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 1375 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 1376 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 1377 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2504 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2505 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2506 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2507 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2508 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1378 | 2509 | }}} |
| 1379 | 2510 | }}} |
| 1380 | 2511 | }}} |
| 1381 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 1382 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 1383 | }}}{{{#!if Blank!=-1 | |
| 1384 | {{{#!if Comma != -1 | |
| 1385 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 2512 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2513 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2514 | }}}{{{#!if this.Blank!=-1 | |
| 2515 | {{{#!if this.Comma != -1 | |
| 2516 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 1386 | 2517 | }}} |
| 1387 | 2518 | }}} |
| 1388 | {{{#!if Comma == -1 | |
| 1389 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 2519 | {{{#!if this.Comma == -1 | |
| 2520 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 1390 | 2521 | }}} |
| 1391 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1392 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2522 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2523 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1393 | 2524 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1394 | 2525 | }}} |
| 1395 | 2526 | }}} |
| 1396 | 2527 | }}} |
| 1397 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 1398 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 1399 | }}}{{{#!if Blank==5 | |
| 1400 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 1401 | }}}{{{#!if Em = Emlist[Size] | |
| 1402 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1403 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2528 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2529 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2530 | }}}{{{#!if this.Blank==5 | |
| 2531 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2532 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2533 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2534 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1404 | 2535 | }}} |
| 1405 | 2536 | }}} |
| 1406 | 2537 | }}} |
| 1407 | 2538 | }}} |
| 1408 | 2539 | }}} |
| 1409 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 1410 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 1411 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2540 | ##### | |
| 2541 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2542 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2543 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1412 | 2544 | }}} |
| 1413 | {{{#!if _ParOpen == -1 | |
| 1414 | {{{#!if Match=true | |
| 2545 | {{{#!if this._ParOpen == -1 | |
| 2546 | {{{#!if this.Match=true | |
| 1415 | 2547 | }}} |
| 1416 | }}}{{{#!if _ParOpen != -1 | |
| 1417 | {{{#!if ParOpen=_ParOpen | |
| 2548 | }}}{{{#!if this._ParOpen != -1 | |
| 2549 | {{{#!if this.ParOpen=this._ParOpen | |
| 1418 | 2550 | }}} |
| 1419 | 2551 | }}} |
| 1420 | ||
| 1421 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2552 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1422 | 2553 | }}} |
| 1423 | {{{#!if _ParOpen == -1 | |
| 1424 | {{{#!if Match=true | |
| 2554 | {{{#!if this._ParOpen == -1 | |
| 2555 | {{{#!if this.Match=true | |
| 1425 | 2556 | }}} |
| 1426 | }}}{{{#!if _ParOpen != -1 | |
| 1427 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2557 | }}}{{{#!if this._ParOpen != -1 | |
| 2558 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1428 | 2559 | }}} |
| 1429 | 2560 | }}} |
| 1430 | ||
| 1431 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2561 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1432 | 2562 | }}} |
| 1433 | {{{#!if _ParOpen == -1 | |
| 1434 | {{{#!if Match=true | |
| 2563 | {{{#!if this._ParOpen == -1 | |
| 2564 | {{{#!if this.Match=true | |
| 1435 | 2565 | }}} |
| 1436 | }}}{{{#!if _ParOpen != -1 | |
| 1437 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2566 | }}}{{{#!if this._ParOpen != -1 | |
| 2567 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1438 | 2568 | }}} |
| 1439 | 2569 | }}} |
| 1440 | ||
| 1441 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2570 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1442 | 2571 | }}} |
| 1443 | {{{#!if _ParOpen == -1 | |
| 1444 | {{{#!if Match=true | |
| 2572 | {{{#!if this._ParOpen == -1 | |
| 2573 | {{{#!if this.Match=true | |
| 1445 | 2574 | }}} |
| 1446 | }}}{{{#!if _ParOpen != -1 | |
| 1447 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2575 | }}}{{{#!if this._ParOpen != -1 | |
| 2576 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1448 | 2577 | }}} |
| 1449 | 2578 | }}} |
| 1450 | ||
| 1451 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2579 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1452 | 2580 | }}} |
| 1453 | {{{#!if _ParOpen == -1 | |
| 1454 | {{{#!if Match=true | |
| 2581 | {{{#!if this._ParOpen == -1 | |
| 2582 | {{{#!if this.Match=true | |
| 1455 | 2583 | }}} |
| 1456 | }}}{{{#!if _ParOpen != -1 | |
| 1457 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2584 | }}}{{{#!if this._ParOpen != -1 | |
| 2585 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1458 | 2586 | }}} |
| 1459 | 2587 | }}} |
| 1460 | ||
| 1461 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2588 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1462 | 2589 | }}} |
| 1463 | {{{#!if _ParOpen == -1 | |
| 1464 | {{{#!if Match=true | |
| 2590 | {{{#!if this._ParOpen == -1 | |
| 2591 | {{{#!if this.Match=true | |
| 1465 | 2592 | }}} |
| 1466 | }}}{{{#!if _ParOpen != -1 | |
| 1467 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2593 | }}}{{{#!if this._ParOpen != -1 | |
| 2594 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1468 | 2595 | }}} |
| 1469 | 2596 | }}} |
| 1470 | ||
| 1471 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2597 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1472 | 2598 | }}} |
| 1473 | {{{#!if _ParOpen == -1 | |
| 1474 | {{{#!if Match=true | |
| 2599 | {{{#!if this._ParOpen == -1 | |
| 2600 | {{{#!if this.Match=true | |
| 1475 | 2601 | }}} |
| 1476 | }}}{{{#!if _ParOpen != -1 | |
| 1477 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2602 | }}}{{{#!if this._ParOpen != -1 | |
| 2603 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1478 | 2604 | }}} |
| 1479 | 2605 | }}} |
| 1480 | 2606 | }}} |
| 1481 | ##### | |
| 1482 | {{{#!if Match | |
| 1483 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 1484 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 2607 | ##### | |
| 2608 | {{{#!if this.Match | |
| 2609 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2610 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 1485 | 2611 | }}} |
| 1486 | 2612 | }}} |
| 1487 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 1488 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 1489 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 1490 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 1491 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2613 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2614 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2615 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2616 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2617 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1492 | 2618 | }}} |
| 1493 | 2619 | }}} |
| 1494 | 2620 | }}} |
| 1495 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 1496 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 1497 | }}}{{{#!if Blank!=-1 | |
| 1498 | {{{#!if Comma != -1 | |
| 1499 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 2621 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2622 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2623 | }}}{{{#!if this.Blank!=-1 | |
| 2624 | {{{#!if this.Comma != -1 | |
| 2625 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 1500 | 2626 | }}} |
| 1501 | 2627 | }}} |
| 1502 | {{{#!if Comma == -1 | |
| 1503 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 2628 | {{{#!if this.Comma == -1 | |
| 2629 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 1504 | 2630 | }}} |
| 1505 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1506 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2631 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2632 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1507 | 2633 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1508 | 2634 | }}} |
| 1509 | 2635 | }}} |
| 1510 | 2636 | }}} |
| 1511 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 1512 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 1513 | }}}{{{#!if Blank==5 | |
| 1514 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 1515 | }}}{{{#!if Em = Emlist[Size] | |
| 1516 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1517 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2637 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2638 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2639 | }}}{{{#!if this.Blank==5 | |
| 2640 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2641 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2642 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2643 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1518 | 2644 | }}} |
| 1519 | 2645 | }}} |
| 1520 | 2646 | }}} |
| 1521 | 2647 | }}} |
| 1522 | 2648 | }}} |
| 1523 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 1524 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 1525 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2649 | ##### | |
| 2650 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2651 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2652 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1526 | 2653 | }}} |
| 1527 | {{{#!if _ParOpen == -1 | |
| 1528 | {{{#!if Match=true | |
| 2654 | {{{#!if this._ParOpen == -1 | |
| 2655 | {{{#!if this.Match=true | |
| 1529 | 2656 | }}} |
| 1530 | }}}{{{#!if _ParOpen != -1 | |
| 1531 | {{{#!if ParOpen=_ParOpen | |
| 2657 | }}}{{{#!if this._ParOpen != -1 | |
| 2658 | {{{#!if this.ParOpen=this._ParOpen | |
| 1532 | 2659 | }}} |
| 1533 | 2660 | }}} |
| 1534 | ||
| 1535 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2661 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1536 | 2662 | }}} |
| 1537 | {{{#!if _ParOpen == -1 | |
| 1538 | {{{#!if Match=true | |
| 2663 | {{{#!if this._ParOpen == -1 | |
| 2664 | {{{#!if this.Match=true | |
| 1539 | 2665 | }}} |
| 1540 | }}}{{{#!if _ParOpen != -1 | |
| 1541 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2666 | }}}{{{#!if this._ParOpen != -1 | |
| 2667 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1542 | 2668 | }}} |
| 1543 | 2669 | }}} |
| 1544 | ||
| 1545 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2670 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1546 | 2671 | }}} |
| 1547 | {{{#!if _ParOpen == -1 | |
| 1548 | {{{#!if Match=true | |
| 2672 | {{{#!if this._ParOpen == -1 | |
| 2673 | {{{#!if this.Match=true | |
| 1549 | 2674 | }}} |
| 1550 | }}}{{{#!if _ParOpen != -1 | |
| 1551 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2675 | }}}{{{#!if this._ParOpen != -1 | |
| 2676 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1552 | 2677 | }}} |
| 1553 | 2678 | }}} |
| 1554 | ||
| 1555 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2679 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1556 | 2680 | }}} |
| 1557 | {{{#!if _ParOpen == -1 | |
| 1558 | {{{#!if Match=true | |
| 2681 | {{{#!if this._ParOpen == -1 | |
| 2682 | {{{#!if this.Match=true | |
| 1559 | 2683 | }}} |
| 1560 | }}}{{{#!if _ParOpen != -1 | |
| 1561 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2684 | }}}{{{#!if this._ParOpen != -1 | |
| 2685 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1562 | 2686 | }}} |
| 1563 | 2687 | }}} |
| 1564 | ||
| 1565 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2688 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1566 | 2689 | }}} |
| 1567 | {{{#!if _ParOpen == -1 | |
| 1568 | {{{#!if Match=true | |
| 2690 | {{{#!if this._ParOpen == -1 | |
| 2691 | {{{#!if this.Match=true | |
| 1569 | 2692 | }}} |
| 1570 | }}}{{{#!if _ParOpen != -1 | |
| 1571 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2693 | }}}{{{#!if this._ParOpen != -1 | |
| 2694 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1572 | 2695 | }}} |
| 1573 | 2696 | }}} |
| 1574 | ||
| 1575 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2697 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1576 | 2698 | }}} |
| 1577 | {{{#!if _ParOpen == -1 | |
| 1578 | {{{#!if Match=true | |
| 2699 | {{{#!if this._ParOpen == -1 | |
| 2700 | {{{#!if this.Match=true | |
| 1579 | 2701 | }}} |
| 1580 | }}}{{{#!if _ParOpen != -1 | |
| 1581 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2702 | }}}{{{#!if this._ParOpen != -1 | |
| 2703 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1582 | 2704 | }}} |
| 1583 | 2705 | }}} |
| 1584 | ||
| 1585 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2706 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1586 | 2707 | }}} |
| 1587 | {{{#!if _ParOpen == -1 | |
| 1588 | {{{#!if Match=true | |
| 2708 | {{{#!if this._ParOpen == -1 | |
| 2709 | {{{#!if this.Match=true | |
| 1589 | 2710 | }}} |
| 1590 | }}}{{{#!if _ParOpen != -1 | |
| 1591 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2711 | }}}{{{#!if this._ParOpen != -1 | |
| 2712 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1592 | 2713 | }}} |
| 1593 | 2714 | }}} |
| 1594 | 2715 | }}} |
| 1595 | ##### | |
| 1596 | ||
| 1597 | ||
| 1598 | ||
| 1599 | ||
| 1600 | ||
| 1601 | ||
| 1602 | ||
| 1603 | ||
| 1604 | ||
| 1605 | ||
| 1606 | ||
| 1607 | ||
| 1608 | ||
| 1609 | ||
| 1610 | ||
| 1611 | ||
| 1612 | ||
| 1613 | ||
| 1614 | ||
| 1615 | ||
| 1616 | ||
| 1617 | ||
| 1618 | ||
| 1619 | ||
| 1620 | ||
| 1621 | ||
| 1622 | ||
| 1623 | ||
| 1624 | ||
| 1625 | ||
| 1626 | ||
| 1627 | ||
| 1628 | ||
| 1629 | ||
| 1630 | ||
| 1631 | ||
| 1632 | ||
| 1633 | ||
| 1634 | ||
| 1635 | ||
| 1636 | ||
| 1637 | ||
| 1638 | ||
| 1639 | ||
| 1640 | ||
| 1641 | ||
| 1642 | ||
| 1643 | ||
| 1644 | ||
| 1645 | ||
| 1646 | ||
| 1647 | ||
| 1648 | ||
| 1649 | ||
| 1650 | ||
| 1651 | ||
| 1652 | ||
| 1653 | ||
| 1654 | ||
| 1655 | ||
| 1656 | ||
| 1657 | ||
| 1658 | ||
| 1659 | ||
| 1660 | ||
| 1661 | ||
| 1662 | ||
| 1663 | ||
| 1664 | ||
| 1665 | ||
| 1666 | ||
| 1667 | ||
| 1668 | ||
| 1669 | ||
| 1670 | ||
| 1671 | ||
| 1672 | ||
| 1673 | ||
| 1674 | ||
| 1675 | ||
| 1676 | ||
| 1677 | ||
| 1678 | ||
| 1679 | ||
| 1680 | ||
| 1681 | ||
| 1682 | ||
| 1683 | ||
| 1684 | ||
| 1685 | ||
| 1686 | ||
| 1687 | ||
| 1688 | ||
| 1689 | ||
| 1690 | ||
| 1691 | ||
| 1692 | ||
| 1693 | ||
| 1694 | ||
| 1695 | ||
| 1696 | ||
| 1697 | ||
| 1698 | ||
| 2716 | ##### | |
| 1699 | {{{#!if | |
| 2717 | {{{#!if this.Match | |
| 2718 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2719 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 2720 | }}} | |
| 2721 | }}} | |
| 2722 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2723 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2724 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2725 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2726 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2727 | }}} | |
| 2728 | }}} | |
| 2729 | }}} | |
| 2730 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2731 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2732 | }}}{{{#!if this.Blank!=-1 | |
| 2733 | {{{#!if this.Comma != -1 | |
| 2734 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2735 | }}} | |
| 2736 | }}} | |
| 2737 | {{{#!if this.Comma == -1 | |
| 2738 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2739 | }}} | |
| 2740 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2741 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2742 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 2743 | }}} | |
| 2744 | }}} | |
| 2745 | }}} | |
| 2746 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2747 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2748 | }}}{{{#!if this.Blank==5 | |
| 2749 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2750 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2751 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2752 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2753 | }}} | |
| 2754 | }}} | |
| 1700 | 2755 | }}} |
| 1701 | {{{#!if _ParOpen == -1 | |
| 1702 | {{{#!if Match=true | |
| 2756 | }}} | |
| 2757 | }}} | |
| 2758 | ##### | |
| 2759 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2760 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2761 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2762 | }}} | |
| 2763 | {{{#!if this._ParOpen == -1 | |
| 2764 | {{{#!if this.Match=true | |
| 1703 | 2765 | }}} |
| 1704 | }}}{{{#!if _ParOpen != -1 | |
| 1705 | {{{#!if ParOpen | |
| 2766 | }}}{{{#!if this._ParOpen != -1 | |
| 2767 | {{{#!if this.ParOpen=this._ParOpen | |
| 1706 | 2768 | }}} |
| 1707 | 2769 | }}} |
| 2770 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1708 | 2771 | }}} |
| 1709 | ########################### | |
| 1710 | {{{#!if Match | |
| 1711 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 1712 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 2772 | {{{#!if this._ParOpen == -1 | |
| 2773 | {{{#!if this.Match=true | |
| 2774 | }}} | |
| 2775 | }}}{{{#!if this._ParOpen != -1 | |
| 2776 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2777 | }}} | |
| 2778 | }}} | |
| 2779 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2780 | }}} | |
| 2781 | {{{#!if this._ParOpen == -1 | |
| 2782 | {{{#!if this.Match=true | |
| 2783 | }}} | |
| 2784 | }}}{{{#!if this._ParOpen != -1 | |
| 2785 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2786 | }}} | |
| 2787 | }}} | |
| 2788 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2789 | }}} | |
| 2790 | {{{#!if this._ParOpen == -1 | |
| 2791 | {{{#!if this.Match=true | |
| 2792 | }}} | |
| 2793 | }}}{{{#!if this._ParOpen != -1 | |
| 2794 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2795 | }}} | |
| 2796 | }}} | |
| 2797 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2798 | }}} | |
| 2799 | {{{#!if this._ParOpen == -1 | |
| 2800 | {{{#!if this.Match=true | |
| 2801 | }}} | |
| 2802 | }}}{{{#!if this._ParOpen != -1 | |
| 2803 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2804 | }}} | |
| 2805 | }}} | |
| 2806 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2807 | }}} | |
| 2808 | {{{#!if this._ParOpen == -1 | |
| 2809 | {{{#!if this.Match=true | |
| 2810 | }}} | |
| 2811 | }}}{{{#!if this._ParOpen != -1 | |
| 2812 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2813 | }}} | |
| 2814 | }}} | |
| 2815 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2816 | }}} | |
| 2817 | {{{#!if this._ParOpen == -1 | |
| 2818 | {{{#!if this.Match=true | |
| 2819 | }}} | |
| 2820 | }}}{{{#!if this._ParOpen != -1 | |
| 2821 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2822 | }}} | |
| 2823 | }}} | |
| 2824 | }}} | |
| 2825 | ##### | |
| 2826 | {{{#!if this.Match | |
| 2827 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2828 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 1713 | 2829 | }}} |
| 1714 | 2830 | }}} |
| 1715 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 1716 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 1717 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 1718 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 1719 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2831 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2832 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2833 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2834 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2835 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1720 | 2836 | }}} |
| 1721 | 2837 | }}} |
| 1722 | 2838 | }}} |
| 1723 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 1724 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 1725 | }}}{{{#!if Blank!=-1 | |
| 1726 | {{{#!if Comma != -1 | |
| 1727 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 2839 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2840 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2841 | }}}{{{#!if this.Blank!=-1 | |
| 2842 | {{{#!if this.Comma != -1 | |
| 2843 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 1728 | 2844 | }}} |
| 1729 | 2845 | }}} |
| 1730 | {{{#!if Comma == -1 | |
| 1731 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 2846 | {{{#!if this.Comma == -1 | |
| 2847 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 1732 | 2848 | }}} |
| 1733 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1734 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2849 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2850 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1735 | 2851 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1736 | 2852 | }}} |
| 1737 | 2853 | }}} |
| 1738 | 2854 | }}} |
| 1739 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 1740 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 1741 | }}}{{{#!if Blank==5 | |
| 1742 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 1743 | }}}{{{#!if Em = Emlist[Size] | |
| 1744 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1745 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2855 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2856 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2857 | }}}{{{#!if this.Blank==5 | |
| 2858 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2859 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2860 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2861 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1746 | 2862 | }}} |
| 1747 | 2863 | }}} |
| 1748 | 2864 | }}} |
| 1749 | 2865 | }}} |
| 1750 | 2866 | }}} |
| 1751 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 1752 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 1753 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2867 | ##### | |
| 2868 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2869 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2870 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1754 | 2871 | }}} |
| 1755 | {{{#!if _ParOpen == -1 | |
| 1756 | {{{#!if Match=true | |
| 2872 | {{{#!if this._ParOpen == -1 | |
| 2873 | {{{#!if this.Match=true | |
| 1757 | 2874 | }}} |
| 1758 | }}}{{{#!if _ParOpen != -1 | |
| 1759 | {{{#!if ParOpen=_ParOpen | |
| 2875 | }}}{{{#!if this._ParOpen != -1 | |
| 2876 | {{{#!if this.ParOpen=this._ParOpen | |
| 1760 | 2877 | }}} |
| 1761 | 2878 | }}} |
| 1762 | ||
| 1763 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2879 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1764 | 2880 | }}} |
| 1765 | {{{#!if _ParOpen == -1 | |
| 1766 | {{{#!if Match=true | |
| 2881 | {{{#!if this._ParOpen == -1 | |
| 2882 | {{{#!if this.Match=true | |
| 1767 | 2883 | }}} |
| 1768 | }}}{{{#!if _ParOpen != -1 | |
| 1769 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2884 | }}}{{{#!if this._ParOpen != -1 | |
| 2885 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1770 | 2886 | }}} |
| 1771 | 2887 | }}} |
| 1772 | ||
| 1773 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2888 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1774 | 2889 | }}} |
| 1775 | {{{#!if _ParOpen == -1 | |
| 1776 | {{{#!if Match=true | |
| 2890 | {{{#!if this._ParOpen == -1 | |
| 2891 | {{{#!if this.Match=true | |
| 1777 | 2892 | }}} |
| 1778 | }}}{{{#!if _ParOpen != -1 | |
| 1779 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2893 | }}}{{{#!if this._ParOpen != -1 | |
| 2894 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1780 | 2895 | }}} |
| 1781 | 2896 | }}} |
| 1782 | ||
| 1783 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2897 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1784 | 2898 | }}} |
| 1785 | {{{#!if _ParOpen == -1 | |
| 1786 | {{{#!if Match=true | |
| 2899 | {{{#!if this._ParOpen == -1 | |
| 2900 | {{{#!if this.Match=true | |
| 1787 | 2901 | }}} |
| 1788 | }}}{{{#!if _ParOpen != -1 | |
| 1789 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2902 | }}}{{{#!if this._ParOpen != -1 | |
| 2903 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1790 | 2904 | }}} |
| 1791 | 2905 | }}} |
| 1792 | ||
| 1793 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2906 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1794 | 2907 | }}} |
| 1795 | {{{#!if _ParOpen == -1 | |
| 1796 | {{{#!if Match=true | |
| 2908 | {{{#!if this._ParOpen == -1 | |
| 2909 | {{{#!if this.Match=true | |
| 1797 | 2910 | }}} |
| 1798 | }}}{{{#!if _ParOpen != -1 | |
| 1799 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2911 | }}}{{{#!if this._ParOpen != -1 | |
| 2912 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1800 | 2913 | }}} |
| 1801 | 2914 | }}} |
| 1802 | ||
| 1803 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2915 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1804 | 2916 | }}} |
| 1805 | {{{#!if _ParOpen == -1 | |
| 1806 | {{{#!if Match=true | |
| 2917 | {{{#!if this._ParOpen == -1 | |
| 2918 | {{{#!if this.Match=true | |
| 1807 | 2919 | }}} |
| 1808 | }}}{{{#!if _ParOpen != -1 | |
| 1809 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2920 | }}}{{{#!if this._ParOpen != -1 | |
| 2921 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1810 | 2922 | }}} |
| 1811 | 2923 | }}} |
| 1812 | 2924 | }}} |
| 1813 | ##### | |
| 1814 | {{{#!if Match | |
| 1815 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 1816 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 2925 | ##### | |
| 2926 | {{{#!if this.Match | |
| 2927 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2928 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 1817 | 2929 | }}} |
| 1818 | 2930 | }}} |
| 1819 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 1820 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 1821 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 1822 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 1823 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2931 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2932 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2933 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2934 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2935 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1824 | 2936 | }}} |
| 1825 | 2937 | }}} |
| 1826 | 2938 | }}} |
| 1827 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 1828 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 1829 | }}}{{{#!if Blank!=-1 | |
| 1830 | {{{#!if Comma != -1 | |
| 1831 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 2939 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2940 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2941 | }}}{{{#!if this.Blank!=-1 | |
| 2942 | {{{#!if this.Comma != -1 | |
| 2943 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 1832 | 2944 | }}} |
| 1833 | 2945 | }}} |
| 1834 | {{{#!if Comma == -1 | |
| 1835 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 2946 | {{{#!if this.Comma == -1 | |
| 2947 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 1836 | 2948 | }}} |
| 1837 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1838 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2949 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2950 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1839 | 2951 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1840 | 2952 | }}} |
| 1841 | 2953 | }}} |
| 1842 | 2954 | }}} |
| 1843 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 1844 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 1845 | }}}{{{#!if Blank==5 | |
| 1846 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 1847 | }}}{{{#!if Em = Emlist[Size] | |
| 1848 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1849 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 2955 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2956 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2957 | }}}{{{#!if this.Blank==5 | |
| 2958 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2959 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2960 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2961 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1850 | 2962 | }}} |
| 1851 | 2963 | }}} |
| 1852 | 2964 | }}} |
| 1853 | 2965 | }}} |
| 1854 | 2966 | }}} |
| 1855 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 1856 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 1857 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2967 | ##### | |
| 2968 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2969 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2970 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1858 | 2971 | }}} |
| 1859 | {{{#!if _ParOpen == -1 | |
| 1860 | {{{#!if Match=true | |
| 2972 | {{{#!if this._ParOpen == -1 | |
| 2973 | {{{#!if this.Match=true | |
| 1861 | 2974 | }}} |
| 1862 | }}}{{{#!if _ParOpen != -1 | |
| 1863 | {{{#!if ParOpen=_ParOpen | |
| 2975 | }}}{{{#!if this._ParOpen != -1 | |
| 2976 | {{{#!if this.ParOpen=this._ParOpen | |
| 1864 | 2977 | }}} |
| 1865 | 2978 | }}} |
| 1866 | ||
| 1867 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2979 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1868 | 2980 | }}} |
| 1869 | {{{#!if _ParOpen == -1 | |
| 1870 | {{{#!if Match=true | |
| 2981 | {{{#!if this._ParOpen == -1 | |
| 2982 | {{{#!if this.Match=true | |
| 1871 | 2983 | }}} |
| 1872 | }}}{{{#!if _ParOpen != -1 | |
| 1873 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2984 | }}}{{{#!if this._ParOpen != -1 | |
| 2985 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1874 | 2986 | }}} |
| 1875 | 2987 | }}} |
| 1876 | ||
| 1877 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2988 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1878 | 2989 | }}} |
| 1879 | {{{#!if _ParOpen == -1 | |
| 1880 | {{{#!if Match=true | |
| 2990 | {{{#!if this._ParOpen == -1 | |
| 2991 | {{{#!if this.Match=true | |
| 1881 | 2992 | }}} |
| 1882 | }}}{{{#!if _ParOpen != -1 | |
| 1883 | {{{#!if ParOpen+=_ParOpen+3 | |
| 2993 | }}}{{{#!if this._ParOpen != -1 | |
| 2994 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1884 | 2995 | }}} |
| 1885 | 2996 | }}} |
| 1886 | ||
| 1887 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 2997 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1888 | 2998 | }}} |
| 1889 | {{{#!if _ParOpen == -1 | |
| 1890 | {{{#!if Match=true | |
| 2999 | {{{#!if this._ParOpen == -1 | |
| 3000 | {{{#!if this.Match=true | |
| 1891 | 3001 | }}} |
| 1892 | }}}{{{#!if _ParOpen != -1 | |
| 1893 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3002 | }}}{{{#!if this._ParOpen != -1 | |
| 3003 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1894 | 3004 | }}} |
| 1895 | 3005 | }}} |
| 1896 | ||
| 1897 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3006 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1898 | 3007 | }}} |
| 1899 | {{{#!if _ParOpen == -1 | |
| 1900 | {{{#!if Match=true | |
| 3008 | {{{#!if this._ParOpen == -1 | |
| 3009 | {{{#!if this.Match=true | |
| 1901 | 3010 | }}} |
| 1902 | }}}{{{#!if _ParOpen != -1 | |
| 1903 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3011 | }}}{{{#!if this._ParOpen != -1 | |
| 3012 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1904 | 3013 | }}} |
| 1905 | 3014 | }}} |
| 1906 | 3015 | }}} |
| 1907 | ##### | |
| 1908 | {{{#!if Match | |
| 1909 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 1910 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 3016 | ##### | |
| 3017 | {{{#!if this.Match | |
| 3018 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3019 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 1911 | 3020 | }}} |
| 1912 | 3021 | }}} |
| 1913 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 1914 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 1915 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 1916 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 1917 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3022 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3023 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3024 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3025 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3026 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1918 | 3027 | }}} |
| 1919 | 3028 | }}} |
| 1920 | 3029 | }}} |
| 1921 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 1922 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 1923 | }}}{{{#!if Blank!=-1 | |
| 1924 | {{{#!if Comma != -1 | |
| 1925 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3030 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3031 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3032 | }}}{{{#!if this.Blank!=-1 | |
| 3033 | {{{#!if this.Comma != -1 | |
| 3034 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 1926 | 3035 | }}} |
| 1927 | 3036 | }}} |
| 1928 | {{{#!if Comma == -1 | |
| 1929 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3037 | {{{#!if this.Comma == -1 | |
| 3038 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 1930 | 3039 | }}} |
| 1931 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1932 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3040 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3041 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1933 | 3042 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1934 | 3043 | }}} |
| 1935 | 3044 | }}} |
| 1936 | 3045 | }}} |
| 1937 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 1938 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 1939 | }}}{{{#!if Blank==5 | |
| 1940 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 1941 | }}}{{{#!if Em = Emlist[Size] | |
| 1942 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 1943 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3046 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3047 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3048 | }}}{{{#!if this.Blank==5 | |
| 3049 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3050 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3051 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3052 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 1944 | 3053 | }}} |
| 1945 | 3054 | }}} |
| 1946 | 3055 | }}} |
| 1947 | 3056 | }}} |
| 1948 | 3057 | }}} |
| 1949 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 1950 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 1951 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3058 | ##### | |
| 3059 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3060 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3061 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1952 | 3062 | }}} |
| 1953 | {{{#!if _ParOpen == -1 | |
| 1954 | {{{#!if Match=true | |
| 3063 | {{{#!if this._ParOpen == -1 | |
| 3064 | {{{#!if this.Match=true | |
| 1955 | 3065 | }}} |
| 1956 | }}}{{{#!if _ParOpen != -1 | |
| 1957 | {{{#!if ParOpen=_ParOpen | |
| 3066 | }}}{{{#!if this._ParOpen != -1 | |
| 3067 | {{{#!if this.ParOpen=this._ParOpen | |
| 1958 | 3068 | }}} |
| 1959 | 3069 | }}} |
| 1960 | ||
| 1961 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3070 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1962 | 3071 | }}} |
| 1963 | {{{#!if _ParOpen == -1 | |
| 1964 | {{{#!if Match=true | |
| 3072 | {{{#!if this._ParOpen == -1 | |
| 3073 | {{{#!if this.Match=true | |
| 1965 | 3074 | }}} |
| 1966 | }}}{{{#!if _ParOpen != -1 | |
| 1967 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3075 | }}}{{{#!if this._ParOpen != -1 | |
| 3076 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1968 | 3077 | }}} |
| 1969 | 3078 | }}} |
| 1970 | ||
| 1971 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3079 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1972 | 3080 | }}} |
| 1973 | {{{#!if _ParOpen == -1 | |
| 1974 | {{{#!if Match=true | |
| 3081 | {{{#!if this._ParOpen == -1 | |
| 3082 | {{{#!if this.Match=true | |
| 1975 | 3083 | }}} |
| 1976 | }}}{{{#!if _ParOpen != -1 | |
| 1977 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3084 | }}}{{{#!if this._ParOpen != -1 | |
| 3085 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1978 | 3086 | }}} |
| 1979 | 3087 | }}} |
| 1980 | ||
| 1981 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3088 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 1982 | 3089 | }}} |
| 1983 | {{{#!if _ParOpen == -1 | |
| 1984 | {{{#!if Match=true | |
| 3090 | {{{#!if this._ParOpen == -1 | |
| 3091 | {{{#!if this.Match=true | |
| 1985 | 3092 | }}} |
| 1986 | }}}{{{#!if _ParOpen != -1 | |
| 1987 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3093 | }}}{{{#!if this._ParOpen != -1 | |
| 3094 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 1988 | 3095 | }}} |
| 1989 | 3096 | }}} |
| 1990 | 3097 | }}} |
| 1991 | ##### | |
| 1992 | {{{#!if Match | |
| 1993 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 1994 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 3098 | ##### | |
| 3099 | {{{#!if this.Match | |
| 3100 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3101 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 1995 | 3102 | }}} |
| 1996 | 3103 | }}} |
| 1997 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 1998 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 1999 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2000 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 2001 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3104 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3105 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3106 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3107 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3108 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2002 | 3109 | }}} |
| 2003 | 3110 | }}} |
| 2004 | 3111 | }}} |
| 2005 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 2006 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 2007 | }}}{{{#!if Blank!=-1 | |
| 2008 | {{{#!if Comma != -1 | |
| 2009 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3112 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3113 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3114 | }}}{{{#!if this.Blank!=-1 | |
| 3115 | {{{#!if this.Comma != -1 | |
| 3116 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2010 | 3117 | }}} |
| 2011 | 3118 | }}} |
| 2012 | {{{#!if Comma == -1 | |
| 2013 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3119 | {{{#!if this.Comma == -1 | |
| 3120 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2014 | 3121 | }}} |
| 2015 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 2016 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3122 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3123 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2017 | 3124 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2018 | 3125 | }}} |
| 2019 | 3126 | }}} |
| 2020 | 3127 | }}} |
| 2021 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 2022 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 2023 | }}}{{{#!if Blank==5 | |
| 2024 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 2025 | }}}{{{#!if Em = Emlist[Size] | |
| 2026 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 2027 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3128 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3129 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3130 | }}}{{{#!if this.Blank==5 | |
| 3131 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3132 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3133 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3134 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2028 | 3135 | }}} |
| 2029 | 3136 | }}} |
| 2030 | 3137 | }}} |
| 2031 | 3138 | }}} |
| 2032 | 3139 | }}} |
| 2033 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 2034 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2035 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3140 | ##### | |
| 3141 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3142 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3143 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2036 | 3144 | }}} |
| 2037 | {{{#!if _ParOpen == -1 | |
| 2038 | {{{#!if Match=true | |
| 3145 | {{{#!if this._ParOpen == -1 | |
| 3146 | {{{#!if this.Match=true | |
| 2039 | 3147 | }}} |
| 2040 | }}}{{{#!if _ParOpen != -1 | |
| 2041 | {{{#!if ParOpen=_ParOpen | |
| 3148 | }}}{{{#!if this._ParOpen != -1 | |
| 3149 | {{{#!if this.ParOpen=this._ParOpen | |
| 2042 | 3150 | }}} |
| 2043 | 3151 | }}} |
| 2044 | ||
| 2045 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3152 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2046 | 3153 | }}} |
| 2047 | {{{#!if _ParOpen == -1 | |
| 2048 | {{{#!if Match=true | |
| 3154 | {{{#!if this._ParOpen == -1 | |
| 3155 | {{{#!if this.Match=true | |
| 2049 | 3156 | }}} |
| 2050 | }}}{{{#!if _ParOpen != -1 | |
| 2051 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3157 | }}}{{{#!if this._ParOpen != -1 | |
| 3158 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2052 | 3159 | }}} |
| 2053 | 3160 | }}} |
| 2054 | ||
| 2055 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3161 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2056 | 3162 | }}} |
| 2057 | {{{#!if _ParOpen == -1 | |
| 2058 | {{{#!if Match=true | |
| 3163 | {{{#!if this._ParOpen == -1 | |
| 3164 | {{{#!if this.Match=true | |
| 2059 | 3165 | }}} |
| 2060 | }}}{{{#!if _ParOpen != -1 | |
| 2061 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3166 | }}}{{{#!if this._ParOpen != -1 | |
| 3167 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2062 | 3168 | }}} |
| 2063 | 3169 | }}} |
| 2064 | 3170 | }}} |
| 2065 | ##### | |
| 2066 | {{{#!if Match | |
| 2067 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 2068 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 3171 | ##### | |
| 3172 | {{{#!if this.Match | |
| 3173 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3174 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 2069 | 3175 | }}} |
| 2070 | 3176 | }}} |
| 2071 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 2072 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 2073 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2074 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 2075 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3177 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3178 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3179 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3180 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3181 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2076 | 3182 | }}} |
| 2077 | 3183 | }}} |
| 2078 | 3184 | }}} |
| 2079 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 2080 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 2081 | }}}{{{#!if Blank!=-1 | |
| 2082 | {{{#!if Comma != -1 | |
| 2083 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3185 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3186 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3187 | }}}{{{#!if this.Blank!=-1 | |
| 3188 | {{{#!if this.Comma != -1 | |
| 3189 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2084 | 3190 | }}} |
| 2085 | 3191 | }}} |
| 2086 | {{{#!if Comma == -1 | |
| 2087 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3192 | {{{#!if this.Comma == -1 | |
| 3193 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2088 | 3194 | }}} |
| 2089 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 2090 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3195 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3196 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2091 | 3197 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2092 | 3198 | }}} |
| 2093 | 3199 | }}} |
| 2094 | 3200 | }}} |
| 2095 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 2096 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 2097 | }}}{{{#!if Blank==5 | |
| 2098 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 2099 | }}}{{{#!if Em = Emlist[Size] | |
| 2100 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 2101 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3201 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3202 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3203 | }}}{{{#!if this.Blank==5 | |
| 3204 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3205 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3206 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3207 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2102 | 3208 | }}} |
| 2103 | 3209 | }}} |
| 2104 | 3210 | }}} |
| 2105 | 3211 | }}} |
| 2106 | 3212 | }}} |
| 2107 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 2108 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2109 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3213 | ##### | |
| 3214 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3215 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3216 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2110 | 3217 | }}} |
| 2111 | {{{#!if _ParOpen == -1 | |
| 2112 | {{{#!if Match=true | |
| 3218 | {{{#!if this._ParOpen == -1 | |
| 3219 | {{{#!if this.Match=true | |
| 2113 | 3220 | }}} |
| 2114 | }}}{{{#!if _ParOpen != -1 | |
| 2115 | {{{#!if ParOpen=_ParOpen | |
| 3221 | }}}{{{#!if this._ParOpen != -1 | |
| 3222 | {{{#!if this.ParOpen=this._ParOpen | |
| 2116 | 3223 | }}} |
| 2117 | 3224 | }}} |
| 2118 | ||
| 2119 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3225 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2120 | 3226 | }}} |
| 2121 | {{{#!if _ParOpen == -1 | |
| 2122 | {{{#!if Match=true | |
| 3227 | {{{#!if this._ParOpen == -1 | |
| 3228 | {{{#!if this.Match=true | |
| 2123 | 3229 | }}} |
| 2124 | }}}{{{#!if _ParOpen != -1 | |
| 2125 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3230 | }}}{{{#!if this._ParOpen != -1 | |
| 3231 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2126 | 3232 | }}} |
| 2127 | 3233 | }}} |
| 2128 | 3234 | }}} |
| 2129 | ##### | |
| 2130 | {{{#!if Match | |
| 2131 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 2132 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 3235 | ##### | |
| 3236 | {{{#!if this.Match | |
| 3237 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3238 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 2133 | 3239 | }}} |
| 2134 | 3240 | }}} |
| 2135 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 2136 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 2137 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2138 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 2139 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3241 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3242 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3243 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3244 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3245 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2140 | 3246 | }}} |
| 2141 | 3247 | }}} |
| 2142 | 3248 | }}} |
| 2143 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 2144 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 2145 | }}}{{{#!if Blank!=-1 | |
| 2146 | {{{#!if Comma != -1 | |
| 2147 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3249 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3250 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3251 | }}}{{{#!if this.Blank!=-1 | |
| 3252 | {{{#!if this.Comma != -1 | |
| 3253 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2148 | 3254 | }}} |
| 2149 | 3255 | }}} |
| 2150 | {{{#!if Comma == -1 | |
| 2151 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3256 | {{{#!if this.Comma == -1 | |
| 3257 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2152 | 3258 | }}} |
| 2153 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 2154 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3259 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3260 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2155 | 3261 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2156 | 3262 | }}} |
| 2157 | 3263 | }}} |
| 2158 | 3264 | }}} |
| 2159 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 2160 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 2161 | }}}{{{#!if Blank==5 | |
| 2162 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 2163 | }}}{{{#!if Em = Emlist[Size] | |
| 2164 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 2165 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3265 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3266 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3267 | }}}{{{#!if this.Blank==5 | |
| 3268 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3269 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3270 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3271 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2166 | 3272 | }}} |
| 2167 | 3273 | }}} |
| 2168 | 3274 | }}} |
| 2169 | 3275 | }}} |
| 2170 | 3276 | }}} |
| 2171 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 2172 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2173 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3277 | ##### | |
| 3278 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3279 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3280 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2174 | 3281 | }}} |
| 2175 | {{{#!if _ParOpen == -1 | |
| 2176 | {{{#!if Match=true | |
| 3282 | {{{#!if this._ParOpen == -1 | |
| 3283 | {{{#!if this.Match=true | |
| 2177 | 3284 | }}} |
| 2178 | }}}{{{#!if _ParOpen != -1 | |
| 2179 | {{{#!if ParOpen=_ParOpen | |
| 3285 | }}}{{{#!if this._ParOpen != -1 | |
| 3286 | {{{#!if this.ParOpen=this._ParOpen | |
| 2180 | 3287 | }}} |
| 2181 | 3288 | }}} |
| 2182 | ||
| 2183 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3289 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2184 | 3290 | }}} |
| 2185 | {{{#!if _ParOpen == -1 | |
| 2186 | {{{#!if Match=true | |
| 3291 | {{{#!if this._ParOpen == -1 | |
| 3292 | {{{#!if this.Match=true | |
| 2187 | 3293 | }}} |
| 2188 | }}}{{{#!if _ParOpen != -1 | |
| 2189 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3294 | }}}{{{#!if this._ParOpen != -1 | |
| 3295 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2190 | 3296 | }}} |
| 2191 | 3297 | }}} |
| 2192 | 3298 | }}} |
| 2193 | ##### | |
| 2194 | {{{#!if Match | |
| 2195 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 2196 | {{{#!if input = input.substring(0,ParOpen)+input.substring(ParOpen+9,ParClose).trim()+input.substr(ParClose+3) | |
| 3299 | ##### | |
| 3300 | {{{#!if this.Match | |
| 3301 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3302 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 2197 | 3303 | }}} |
| 2198 | 3304 | }}} |
| 2199 | {{{#!if input.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 2200 | {{{#!if BrL = input.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = input.substring(ParOpen,ParClose).indexOf('style=') | |
| 2201 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2202 | {{{#!if Text = input.substring(ParOpen+BrL+4,ParClose), Style=input.substr(ParOpen+StyleL,BrL-StyleL) | |
| 2203 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div '+Style+'>'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3305 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3306 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3307 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3308 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3309 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2204 | 3310 | }}} |
| 2205 | 3311 | }}} |
| 2206 | 3312 | }}} |
| 2207 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 2208 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 2209 | }}}{{{#!if Blank!=-1 | |
| 2210 | {{{#!if Comma != -1 | |
| 2211 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3313 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3314 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3315 | }}}{{{#!if this.Blank!=-1 | |
| 3316 | {{{#!if this.Comma != -1 | |
| 3317 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2212 | 3318 | }}} |
| 2213 | 3319 | }}} |
| 2214 | {{{#!if Comma == -1 | |
| 2215 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3320 | {{{#!if this.Comma == -1 | |
| 3321 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2216 | 3322 | }}} |
| 2217 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 2218 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3323 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3324 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2219 | 3325 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2220 | 3326 | }}} |
| 2221 | 3327 | }}} |
| 2222 | 3328 | }}} |
| 2223 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{+' || input.substr(ParOpen, 4) == '\{\{\{-' | |
| 2224 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' ') | |
| 2225 | }}}{{{#!if Blank==5 | |
| 2226 | {{{#!if Size=input.substr(ParOpen+Blank-2, 2) | |
| 2227 | }}}{{{#!if Em = Emlist[Size] | |
| 2228 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 2229 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 3329 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3330 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3331 | }}}{{{#!if this.Blank==5 | |
| 3332 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3333 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3334 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3335 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2230 | 3336 | }}} |
| 2231 | 3337 | }}} |
| 2232 | 3338 | }}} |
| 2233 | 3339 | }}} |
| 2234 | 3340 | }}} |
| 2235 | ################################################################################################################################################################################################################################################################################################################################################################################################################################################################## | |
| 2236 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 2237 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2238 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3341 | ################################################################################################################################################################################################################################################################################################################################################################################################################################################################## 다크 | |
| 3342 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3343 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3344 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2239 | 3345 | }}} |
| 2240 | {{{#!if _ParOpen == -1 | |
| 2241 | {{{#!if Match=true | |
| 3346 | {{{#!if this._ParOpen == -1 | |
| 3347 | {{{#!if this.Match=true | |
| 2242 | 3348 | }}} |
| 2243 | }}}{{{#!if _ParOpen != -1 | |
| 2244 | {{{#!if ParOpen=_ParOpen | |
| 3349 | }}}{{{#!if this._ParOpen != -1 | |
| 3350 | {{{#!if this.ParOpen=this._ParOpen | |
| 2245 | 3351 | }}} |
| 2246 | 3352 | }}} |
| 2247 | ||
| 2248 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3353 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2249 | 3354 | }}} |
| 2250 | {{{#!if _ParOpen == -1 | |
| 2251 | {{{#!if Match=true | |
| 3355 | {{{#!if this._ParOpen == -1 | |
| 3356 | {{{#!if this.Match=true | |
| 2252 | 3357 | }}} |
| 2253 | }}}{{{#!if _ParOpen != -1 | |
| 2254 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3358 | }}}{{{#!if this._ParOpen != -1 | |
| 3359 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2255 | 3360 | }}} |
| 2256 | 3361 | }}} |
| 2257 | ||
| 2258 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3362 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2259 | 3363 | }}} |
| 2260 | {{{#!if _ParOpen == -1 | |
| 2261 | {{{#!if Match=true | |
| 3364 | {{{#!if this._ParOpen == -1 | |
| 3365 | {{{#!if this.Match=true | |
| 2262 | 3366 | }}} |
| 2263 | }}}{{{#!if _ParOpen != -1 | |
| 2264 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3367 | }}}{{{#!if this._ParOpen != -1 | |
| 3368 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2265 | 3369 | }}} |
| 2266 | 3370 | }}} |
| 2267 | ||
| 2268 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3371 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2269 | 3372 | }}} |
| 2270 | {{{#!if _ParOpen == -1 | |
| 2271 | {{{#!if Match=true | |
| 3373 | {{{#!if this._ParOpen == -1 | |
| 3374 | {{{#!if this.Match=true | |
| 2272 | 3375 | }}} |
| 2273 | }}}{{{#!if _ParOpen != -1 | |
| 2274 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3376 | }}}{{{#!if this._ParOpen != -1 | |
| 3377 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2275 | 3378 | }}} |
| 2276 | 3379 | }}} |
| 2277 | ||
| 2278 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3380 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2279 | 3381 | }}} |
| 2280 | {{{#!if _ParOpen == -1 | |
| 2281 | {{{#!if Match=true | |
| 3382 | {{{#!if this._ParOpen == -1 | |
| 3383 | {{{#!if this.Match=true | |
| 2282 | 3384 | }}} |
| 2283 | }}}{{{#!if _ParOpen != -1 | |
| 2284 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3385 | }}}{{{#!if this._ParOpen != -1 | |
| 3386 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2285 | 3387 | }}} |
| 2286 | 3388 | }}} |
| 2287 | ||
| 2288 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3389 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2289 | 3390 | }}} |
| 2290 | {{{#!if _ParOpen == -1 | |
| 2291 | {{{#!if Match=true | |
| 3391 | {{{#!if this._ParOpen == -1 | |
| 3392 | {{{#!if this.Match=true | |
| 2292 | 3393 | }}} |
| 2293 | }}}{{{#!if _ParOpen != -1 | |
| 2294 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3394 | }}}{{{#!if this._ParOpen != -1 | |
| 3395 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2295 | 3396 | }}} |
| 2296 | 3397 | }}} |
| 2297 | ||
| 2298 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3398 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2299 | 3399 | }}} |
| 2300 | {{{#!if _ParOpen == -1 | |
| 2301 | {{{#!if Match=true | |
| 3400 | {{{#!if this._ParOpen == -1 | |
| 3401 | {{{#!if this.Match=true | |
| 2302 | 3402 | }}} |
| 2303 | }}}{{{#!if _ParOpen != -1 | |
| 2304 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3403 | }}}{{{#!if this._ParOpen != -1 | |
| 3404 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2305 | 3405 | }}} |
| 2306 | 3406 | }}} |
| 2307 | 3407 | }}} |
| 2308 | ##### | |
| 2309 | {{{#!if Match | |
| 2310 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 2311 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 3408 | ##### | |
| 3409 | {{{#!if this.Match | |
| 3410 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3411 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 2312 | 3412 | }}} |
| 2313 | 3413 | }}} |
| 2314 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 2315 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 2316 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2317 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 3414 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3415 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3416 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3417 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 2318 | 3418 | }}} |
| 2319 | {{{#!if DarkStyleL==-1 | |
| 2320 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 2321 | ||
| 3419 | {{{#!if this.DarkStyleL==-1 | |
| 3420 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2322 | 3421 | }}}}}} |
| 2323 | {{{#!if DarkStyleL!=-1 | |
| 2324 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 2325 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 3422 | {{{#!if this.DarkStyleL!=-1 | |
| 3423 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3424 | }}}}}} | |
| 3425 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2326 | 3426 | }}} |
| 2327 | 3427 | }}} |
| 2328 | 3428 | }}} |
| 2329 | ||
| 2330 | ||
| 2331 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 2332 | }}}{{{#!if Blank!=-1 | |
| 2333 | {{{#!if Comma != -1 | |
| 2334 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3429 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3430 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3431 | }}}{{{#!if this.Blank!=-1 | |
| 3432 | {{{#!if this.Comma != -1 | |
| 3433 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2335 | 3434 | }}} |
| 2336 | 3435 | }}} |
| 2337 | {{{#!if Comma == -1 | |
| 2338 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3436 | {{{#!if this.Comma == -1 | |
| 3437 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2339 | 3438 | }}} |
| 2340 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2341 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3439 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3440 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2342 | 3441 | }}} |
| 2343 | 3442 | }}} |
| 2344 | 3443 | }}} |
| 2345 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 2346 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 2347 | }}}{{{#!if Blank==5 | |
| 2348 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 2349 | }}}{{{#!if Em = Emlist[Size] | |
| 2350 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2351 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3444 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3445 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3446 | }}}{{{#!if this.Blank==5 | |
| 3447 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3448 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3449 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3450 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2352 | 3451 | }}} |
| 2353 | 3452 | }}} |
| 2354 | 3453 | }}} |
| 2355 | 3454 | }}} |
| 2356 | 3455 | }}} |
| 2357 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 2358 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2359 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3456 | ##### | |
| 3457 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3458 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3459 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2360 | 3460 | }}} |
| 2361 | {{{#!if _ParOpen == -1 | |
| 2362 | {{{#!if Match=true | |
| 3461 | {{{#!if this._ParOpen == -1 | |
| 3462 | {{{#!if this.Match=true | |
| 2363 | 3463 | }}} |
| 2364 | }}}{{{#!if _ParOpen != -1 | |
| 2365 | {{{#!if ParOpen=_ParOpen | |
| 3464 | }}}{{{#!if this._ParOpen != -1 | |
| 3465 | {{{#!if this.ParOpen=this._ParOpen | |
| 2366 | 3466 | }}} |
| 2367 | 3467 | }}} |
| 2368 | ||
| 2369 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3468 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2370 | 3469 | }}} |
| 2371 | {{{#!if _ParOpen == -1 | |
| 2372 | {{{#!if Match=true | |
| 3470 | {{{#!if this._ParOpen == -1 | |
| 3471 | {{{#!if this.Match=true | |
| 2373 | 3472 | }}} |
| 2374 | }}}{{{#!if _ParOpen != -1 | |
| 2375 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3473 | }}}{{{#!if this._ParOpen != -1 | |
| 3474 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2376 | 3475 | }}} |
| 2377 | 3476 | }}} |
| 2378 | ||
| 2379 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3477 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2380 | 3478 | }}} |
| 2381 | {{{#!if _ParOpen == -1 | |
| 2382 | {{{#!if Match=true | |
| 3479 | {{{#!if this._ParOpen == -1 | |
| 3480 | {{{#!if this.Match=true | |
| 2383 | 3481 | }}} |
| 2384 | }}}{{{#!if _ParOpen != -1 | |
| 2385 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3482 | }}}{{{#!if this._ParOpen != -1 | |
| 3483 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2386 | 3484 | }}} |
| 2387 | 3485 | }}} |
| 2388 | ||
| 2389 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3486 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2390 | 3487 | }}} |
| 2391 | {{{#!if _ParOpen == -1 | |
| 2392 | {{{#!if Match=true | |
| 3488 | {{{#!if this._ParOpen == -1 | |
| 3489 | {{{#!if this.Match=true | |
| 2393 | 3490 | }}} |
| 2394 | }}}{{{#!if _ParOpen != -1 | |
| 2395 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3491 | }}}{{{#!if this._ParOpen != -1 | |
| 3492 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2396 | 3493 | }}} |
| 2397 | 3494 | }}} |
| 2398 | ||
| 2399 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3495 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2400 | 3496 | }}} |
| 2401 | {{{#!if _ParOpen == -1 | |
| 2402 | {{{#!if Match=true | |
| 3497 | {{{#!if this._ParOpen == -1 | |
| 3498 | {{{#!if this.Match=true | |
| 2403 | 3499 | }}} |
| 2404 | }}}{{{#!if _ParOpen != -1 | |
| 2405 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3500 | }}}{{{#!if this._ParOpen != -1 | |
| 3501 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2406 | 3502 | }}} |
| 2407 | 3503 | }}} |
| 2408 | ||
| 2409 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3504 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2410 | 3505 | }}} |
| 2411 | {{{#!if _ParOpen == -1 | |
| 2412 | {{{#!if Match=true | |
| 3506 | {{{#!if this._ParOpen == -1 | |
| 3507 | {{{#!if this.Match=true | |
| 2413 | 3508 | }}} |
| 2414 | }}}{{{#!if _ParOpen != -1 | |
| 2415 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3509 | }}}{{{#!if this._ParOpen != -1 | |
| 3510 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2416 | 3511 | }}} |
| 2417 | 3512 | }}} |
| 2418 | ||
| 2419 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3513 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2420 | 3514 | }}} |
| 2421 | {{{#!if _ParOpen == -1 | |
| 2422 | {{{#!if Match=true | |
| 3515 | {{{#!if this._ParOpen == -1 | |
| 3516 | {{{#!if this.Match=true | |
| 2423 | 3517 | }}} |
| 2424 | }}}{{{#!if _ParOpen != -1 | |
| 2425 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3518 | }}}{{{#!if this._ParOpen != -1 | |
| 3519 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2426 | 3520 | }}} |
| 2427 | 3521 | }}} |
| 2428 | 3522 | }}} |
| 2429 | ##### | |
| 2430 | {{{#!if Match | |
| 2431 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 2432 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 3523 | ##### | |
| 3524 | {{{#!if this.Match | |
| 3525 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3526 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 2433 | 3527 | }}} |
| 2434 | 3528 | }}} |
| 2435 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 2436 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 2437 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2438 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 3529 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3530 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3531 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3532 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 2439 | 3533 | }}} |
| 2440 | {{{#!if DarkStyleL==-1 | |
| 2441 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 2442 | ||
| 3534 | {{{#!if this.DarkStyleL==-1 | |
| 3535 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2443 | 3536 | }}}}}} |
| 2444 | {{{#!if DarkStyleL!=-1 | |
| 2445 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 2446 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 3537 | {{{#!if this.DarkStyleL!=-1 | |
| 3538 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3539 | }}}}}} | |
| 3540 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2447 | 3541 | }}} |
| 2448 | 3542 | }}} |
| 2449 | 3543 | }}} |
| 2450 | ||
| 2451 | ||
| 2452 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 2453 | }}}{{{#!if Blank!=-1 | |
| 2454 | {{{#!if Comma != -1 | |
| 2455 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3544 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3545 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3546 | }}}{{{#!if this.Blank!=-1 | |
| 3547 | {{{#!if this.Comma != -1 | |
| 3548 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2456 | 3549 | }}} |
| 2457 | 3550 | }}} |
| 2458 | {{{#!if Comma == -1 | |
| 2459 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3551 | {{{#!if this.Comma == -1 | |
| 3552 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2460 | 3553 | }}} |
| 2461 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2462 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3554 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3555 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2463 | 3556 | }}} |
| 2464 | 3557 | }}} |
| 2465 | 3558 | }}} |
| 2466 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 2467 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 2468 | }}}{{{#!if Blank==5 | |
| 2469 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 2470 | }}}{{{#!if Em = Emlist[Size] | |
| 2471 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2472 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3559 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3560 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3561 | }}}{{{#!if this.Blank==5 | |
| 3562 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3563 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3564 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3565 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2473 | 3566 | }}} |
| 2474 | 3567 | }}} |
| 2475 | 3568 | }}} |
| 2476 | 3569 | }}} |
| 2477 | 3570 | }}} |
| 2478 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 2479 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2480 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3571 | ##### | |
| 3572 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3573 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3574 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2481 | 3575 | }}} |
| 2482 | {{{#!if _ParOpen == -1 | |
| 2483 | {{{#!if Match=true | |
| 3576 | {{{#!if this._ParOpen == -1 | |
| 3577 | {{{#!if this.Match=true | |
| 2484 | 3578 | }}} |
| 2485 | }}}{{{#!if _ParOpen != -1 | |
| 2486 | {{{#!if ParOpen=_ParOpen | |
| 3579 | }}}{{{#!if this._ParOpen != -1 | |
| 3580 | {{{#!if this.ParOpen=this._ParOpen | |
| 2487 | 3581 | }}} |
| 2488 | 3582 | }}} |
| 2489 | ||
| 2490 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3583 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2491 | 3584 | }}} |
| 2492 | {{{#!if _ParOpen == -1 | |
| 2493 | {{{#!if Match=true | |
| 3585 | {{{#!if this._ParOpen == -1 | |
| 3586 | {{{#!if this.Match=true | |
| 2494 | 3587 | }}} |
| 2495 | }}}{{{#!if _ParOpen != -1 | |
| 2496 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3588 | }}}{{{#!if this._ParOpen != -1 | |
| 3589 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2497 | 3590 | }}} |
| 2498 | 3591 | }}} |
| 2499 | ||
| 2500 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3592 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2501 | 3593 | }}} |
| 2502 | {{{#!if _ParOpen == -1 | |
| 2503 | {{{#!if Match=true | |
| 3594 | {{{#!if this._ParOpen == -1 | |
| 3595 | {{{#!if this.Match=true | |
| 2504 | 3596 | }}} |
| 2505 | }}}{{{#!if _ParOpen != -1 | |
| 2506 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3597 | }}}{{{#!if this._ParOpen != -1 | |
| 3598 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2507 | 3599 | }}} |
| 2508 | 3600 | }}} |
| 2509 | ||
| 2510 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3601 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2511 | 3602 | }}} |
| 2512 | {{{#!if _ParOpen == -1 | |
| 2513 | {{{#!if Match=true | |
| 3603 | {{{#!if this._ParOpen == -1 | |
| 3604 | {{{#!if this.Match=true | |
| 2514 | 3605 | }}} |
| 2515 | }}}{{{#!if _ParOpen != -1 | |
| 2516 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3606 | }}}{{{#!if this._ParOpen != -1 | |
| 3607 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2517 | 3608 | }}} |
| 2518 | 3609 | }}} |
| 2519 | ||
| 2520 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3610 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2521 | 3611 | }}} |
| 2522 | {{{#!if _ParOpen == -1 | |
| 2523 | {{{#!if Match=true | |
| 3612 | {{{#!if this._ParOpen == -1 | |
| 3613 | {{{#!if this.Match=true | |
| 2524 | 3614 | }}} |
| 2525 | }}}{{{#!if _ParOpen != -1 | |
| 2526 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3615 | }}}{{{#!if this._ParOpen != -1 | |
| 3616 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2527 | 3617 | }}} |
| 2528 | 3618 | }}} |
| 2529 | ||
| 2530 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3619 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2531 | 3620 | }}} |
| 2532 | {{{#!if _ParOpen == -1 | |
| 2533 | {{{#!if Match=true | |
| 3621 | {{{#!if this._ParOpen == -1 | |
| 3622 | {{{#!if this.Match=true | |
| 2534 | 3623 | }}} |
| 2535 | }}}{{{#!if _ParOpen != -1 | |
| 2536 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3624 | }}}{{{#!if this._ParOpen != -1 | |
| 3625 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2537 | 3626 | }}} |
| 2538 | 3627 | }}} |
| 2539 | ||
| 2540 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3628 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2541 | 3629 | }}} |
| 2542 | {{{#!if _ParOpen == -1 | |
| 2543 | {{{#!if Match=true | |
| 3630 | {{{#!if this._ParOpen == -1 | |
| 3631 | {{{#!if this.Match=true | |
| 2544 | 3632 | }}} |
| 2545 | }}}{{{#!if _ParOpen != -1 | |
| 2546 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3633 | }}}{{{#!if this._ParOpen != -1 | |
| 3634 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2547 | 3635 | }}} |
| 2548 | 3636 | }}} |
| 2549 | 3637 | }}} |
| 2550 | ##### | |
| 2551 | {{{#!if Match | |
| 2552 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 2553 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 3638 | ##### | |
| 3639 | {{{#!if this.Match | |
| 3640 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3641 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 2554 | 3642 | }}} |
| 2555 | 3643 | }}} |
| 2556 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 2557 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 2558 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2559 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 3644 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3645 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3646 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3647 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 2560 | 3648 | }}} |
| 2561 | {{{#!if DarkStyleL==-1 | |
| 2562 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 2563 | ||
| 3649 | {{{#!if this.DarkStyleL==-1 | |
| 3650 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2564 | 3651 | }}}}}} |
| 2565 | {{{#!if DarkStyleL!=-1 | |
| 2566 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 2567 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 3652 | {{{#!if this.DarkStyleL!=-1 | |
| 3653 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3654 | }}}}}} | |
| 3655 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2568 | 3656 | }}} |
| 2569 | 3657 | }}} |
| 2570 | 3658 | }}} |
| 2571 | ||
| 2572 | ||
| 2573 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 2574 | }}}{{{#!if Blank!=-1 | |
| 2575 | {{{#!if Comma != -1 | |
| 2576 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3659 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3660 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3661 | }}}{{{#!if this.Blank!=-1 | |
| 3662 | {{{#!if this.Comma != -1 | |
| 3663 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2577 | 3664 | }}} |
| 2578 | 3665 | }}} |
| 2579 | {{{#!if Comma == -1 | |
| 2580 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3666 | {{{#!if this.Comma == -1 | |
| 3667 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2581 | 3668 | }}} |
| 2582 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2583 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3669 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3670 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2584 | 3671 | }}} |
| 2585 | 3672 | }}} |
| 2586 | 3673 | }}} |
| 2587 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 2588 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 2589 | }}}{{{#!if Blank==5 | |
| 2590 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 2591 | }}}{{{#!if Em = Emlist[Size] | |
| 2592 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2593 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3674 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3675 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3676 | }}}{{{#!if this.Blank==5 | |
| 3677 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3678 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3679 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3680 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2594 | 3681 | }}} |
| 2595 | 3682 | }}} |
| 2596 | 3683 | }}} |
| 2597 | 3684 | }}} |
| 2598 | 3685 | }}} |
| 2599 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 2600 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2601 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3686 | ##### | |
| 3687 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3688 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3689 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2602 | 3690 | }}} |
| 2603 | {{{#!if _ParOpen == -1 | |
| 2604 | {{{#!if Match=true | |
| 3691 | {{{#!if this._ParOpen == -1 | |
| 3692 | {{{#!if this.Match=true | |
| 2605 | 3693 | }}} |
| 2606 | }}}{{{#!if _ParOpen != -1 | |
| 2607 | {{{#!if ParOpen=_ParOpen | |
| 3694 | }}}{{{#!if this._ParOpen != -1 | |
| 3695 | {{{#!if this.ParOpen=this._ParOpen | |
| 2608 | 3696 | }}} |
| 2609 | 3697 | }}} |
| 2610 | ||
| 2611 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3698 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2612 | 3699 | }}} |
| 2613 | {{{#!if _ParOpen == -1 | |
| 2614 | {{{#!if Match=true | |
| 3700 | {{{#!if this._ParOpen == -1 | |
| 3701 | {{{#!if this.Match=true | |
| 2615 | 3702 | }}} |
| 2616 | }}}{{{#!if _ParOpen != -1 | |
| 2617 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3703 | }}}{{{#!if this._ParOpen != -1 | |
| 3704 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2618 | 3705 | }}} |
| 2619 | 3706 | }}} |
| 2620 | ||
| 2621 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3707 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2622 | 3708 | }}} |
| 2623 | {{{#!if _ParOpen == -1 | |
| 2624 | {{{#!if Match=true | |
| 3709 | {{{#!if this._ParOpen == -1 | |
| 3710 | {{{#!if this.Match=true | |
| 2625 | 3711 | }}} |
| 2626 | }}}{{{#!if _ParOpen != -1 | |
| 2627 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3712 | }}}{{{#!if this._ParOpen != -1 | |
| 3713 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2628 | 3714 | }}} |
| 2629 | 3715 | }}} |
| 2630 | ||
| 2631 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3716 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2632 | 3717 | }}} |
| 2633 | {{{#!if _ParOpen == -1 | |
| 2634 | {{{#!if Match=true | |
| 3718 | {{{#!if this._ParOpen == -1 | |
| 3719 | {{{#!if this.Match=true | |
| 2635 | 3720 | }}} |
| 2636 | }}}{{{#!if _ParOpen != -1 | |
| 2637 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3721 | }}}{{{#!if this._ParOpen != -1 | |
| 3722 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2638 | 3723 | }}} |
| 2639 | 3724 | }}} |
| 2640 | ||
| 2641 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3725 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2642 | 3726 | }}} |
| 2643 | {{{#!if _ParOpen == -1 | |
| 2644 | {{{#!if Match=true | |
| 3727 | {{{#!if this._ParOpen == -1 | |
| 3728 | {{{#!if this.Match=true | |
| 2645 | 3729 | }}} |
| 2646 | }}}{{{#!if _ParOpen != -1 | |
| 2647 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3730 | }}}{{{#!if this._ParOpen != -1 | |
| 3731 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2648 | 3732 | }}} |
| 2649 | 3733 | }}} |
| 2650 | ||
| 2651 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3734 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2652 | 3735 | }}} |
| 2653 | {{{#!if _ParOpen == -1 | |
| 2654 | {{{#!if Match=true | |
| 3736 | {{{#!if this._ParOpen == -1 | |
| 3737 | {{{#!if this.Match=true | |
| 2655 | 3738 | }}} |
| 2656 | }}}{{{#!if _ParOpen != -1 | |
| 2657 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3739 | }}}{{{#!if this._ParOpen != -1 | |
| 3740 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2658 | 3741 | }}} |
| 2659 | 3742 | }}} |
| 2660 | ||
| 2661 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3743 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2662 | 3744 | }}} |
| 2663 | {{{#!if _ParOpen == -1 | |
| 2664 | {{{#!if Match=true | |
| 3745 | {{{#!if this._ParOpen == -1 | |
| 3746 | {{{#!if this.Match=true | |
| 2665 | 3747 | }}} |
| 2666 | }}}{{{#!if _ParOpen != -1 | |
| 2667 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3748 | }}}{{{#!if this._ParOpen != -1 | |
| 3749 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2668 | 3750 | }}} |
| 2669 | 3751 | }}} |
| 2670 | 3752 | }}} |
| 2671 | ##### | |
| 2672 | {{{#!if Match | |
| 2673 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 2674 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 3753 | ##### | |
| 3754 | {{{#!if this.Match | |
| 3755 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3756 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 2675 | 3757 | }}} |
| 2676 | 3758 | }}} |
| 2677 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 2678 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 2679 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2680 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 3759 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3760 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3761 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3762 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 2681 | 3763 | }}} |
| 2682 | {{{#!if DarkStyleL==-1 | |
| 2683 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 2684 | ||
| 3764 | {{{#!if this.DarkStyleL==-1 | |
| 3765 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2685 | 3766 | }}}}}} |
| 2686 | {{{#!if DarkStyleL!=-1 | |
| 2687 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 2688 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 3767 | {{{#!if this.DarkStyleL!=-1 | |
| 3768 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3769 | }}}}}} | |
| 3770 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2689 | 3771 | }}} |
| 2690 | 3772 | }}} |
| 2691 | 3773 | }}} |
| 2692 | ||
| 2693 | ||
| 2694 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 2695 | }}}{{{#!if Blank!=-1 | |
| 2696 | {{{#!if Comma != -1 | |
| 2697 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3774 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3775 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3776 | }}}{{{#!if this.Blank!=-1 | |
| 3777 | {{{#!if this.Comma != -1 | |
| 3778 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2698 | 3779 | }}} |
| 2699 | 3780 | }}} |
| 2700 | {{{#!if Comma == -1 | |
| 2701 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3781 | {{{#!if this.Comma == -1 | |
| 3782 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2702 | 3783 | }}} |
| 2703 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2704 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3784 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3785 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2705 | 3786 | }}} |
| 2706 | 3787 | }}} |
| 2707 | 3788 | }}} |
| 2708 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 2709 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 2710 | }}}{{{#!if Blank==5 | |
| 2711 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 2712 | }}}{{{#!if Em = Emlist[Size] | |
| 2713 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2714 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3789 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3790 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3791 | }}}{{{#!if this.Blank==5 | |
| 3792 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3793 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3794 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3795 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2715 | 3796 | }}} |
| 2716 | 3797 | }}} |
| 2717 | 3798 | }}} |
| 2718 | 3799 | }}} |
| 2719 | 3800 | }}} |
| 2720 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 2721 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2722 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3801 | ##### | |
| 3802 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3803 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3804 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2723 | 3805 | }}} |
| 2724 | {{{#!if _ParOpen == -1 | |
| 2725 | {{{#!if Match=true | |
| 3806 | {{{#!if this._ParOpen == -1 | |
| 3807 | {{{#!if this.Match=true | |
| 2726 | 3808 | }}} |
| 2727 | }}}{{{#!if _ParOpen != -1 | |
| 2728 | {{{#!if ParOpen=_ParOpen | |
| 3809 | }}}{{{#!if this._ParOpen != -1 | |
| 3810 | {{{#!if this.ParOpen=this._ParOpen | |
| 2729 | 3811 | }}} |
| 2730 | 3812 | }}} |
| 2731 | ||
| 2732 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3813 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2733 | 3814 | }}} |
| 2734 | {{{#!if _ParOpen == -1 | |
| 2735 | {{{#!if Match=true | |
| 3815 | {{{#!if this._ParOpen == -1 | |
| 3816 | {{{#!if this.Match=true | |
| 2736 | 3817 | }}} |
| 2737 | }}}{{{#!if _ParOpen != -1 | |
| 2738 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3818 | }}}{{{#!if this._ParOpen != -1 | |
| 3819 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2739 | 3820 | }}} |
| 2740 | 3821 | }}} |
| 2741 | ||
| 2742 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3822 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2743 | 3823 | }}} |
| 2744 | {{{#!if _ParOpen == -1 | |
| 2745 | {{{#!if Match=true | |
| 3824 | {{{#!if this._ParOpen == -1 | |
| 3825 | {{{#!if this.Match=true | |
| 2746 | 3826 | }}} |
| 2747 | }}}{{{#!if _ParOpen != -1 | |
| 2748 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3827 | }}}{{{#!if this._ParOpen != -1 | |
| 3828 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2749 | 3829 | }}} |
| 2750 | 3830 | }}} |
| 2751 | ||
| 2752 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3831 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2753 | 3832 | }}} |
| 2754 | {{{#!if _ParOpen == -1 | |
| 2755 | {{{#!if Match=true | |
| 3833 | {{{#!if this._ParOpen == -1 | |
| 3834 | {{{#!if this.Match=true | |
| 2756 | 3835 | }}} |
| 2757 | }}}{{{#!if _ParOpen != -1 | |
| 2758 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3836 | }}}{{{#!if this._ParOpen != -1 | |
| 3837 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2759 | 3838 | }}} |
| 2760 | 3839 | }}} |
| 2761 | ||
| 2762 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3840 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2763 | 3841 | }}} |
| 2764 | {{{#!if _ParOpen == -1 | |
| 2765 | {{{#!if Match=true | |
| 3842 | {{{#!if this._ParOpen == -1 | |
| 3843 | {{{#!if this.Match=true | |
| 2766 | 3844 | }}} |
| 2767 | }}}{{{#!if _ParOpen != -1 | |
| 2768 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3845 | }}}{{{#!if this._ParOpen != -1 | |
| 3846 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2769 | 3847 | }}} |
| 2770 | 3848 | }}} |
| 2771 | ||
| 2772 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3849 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2773 | 3850 | }}} |
| 2774 | {{{#!if _ParOpen == -1 | |
| 2775 | {{{#!if Match=true | |
| 3851 | {{{#!if this._ParOpen == -1 | |
| 3852 | {{{#!if this.Match=true | |
| 2776 | 3853 | }}} |
| 2777 | }}}{{{#!if _ParOpen != -1 | |
| 2778 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3854 | }}}{{{#!if this._ParOpen != -1 | |
| 3855 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2779 | 3856 | }}} |
| 2780 | 3857 | }}} |
| 2781 | ||
| 2782 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3858 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2783 | 3859 | }}} |
| 2784 | {{{#!if _ParOpen == -1 | |
| 2785 | {{{#!if Match=true | |
| 3860 | {{{#!if this._ParOpen == -1 | |
| 3861 | {{{#!if this.Match=true | |
| 2786 | 3862 | }}} |
| 2787 | }}}{{{#!if _ParOpen != -1 | |
| 2788 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3863 | }}}{{{#!if this._ParOpen != -1 | |
| 3864 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2789 | 3865 | }}} |
| 2790 | 3866 | }}} |
| 2791 | 3867 | }}} |
| 2792 | ##### | |
| 2793 | {{{#!if Match | |
| 2794 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 2795 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 3868 | ##### | |
| 3869 | {{{#!if this.Match | |
| 3870 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3871 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 2796 | 3872 | }}} |
| 2797 | 3873 | }}} |
| 2798 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 2799 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 2800 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2801 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 3874 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3875 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3876 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3877 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 2802 | 3878 | }}} |
| 2803 | {{{#!if DarkStyleL==-1 | |
| 2804 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 2805 | ||
| 3879 | {{{#!if this.DarkStyleL==-1 | |
| 3880 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2806 | 3881 | }}}}}} |
| 2807 | {{{#!if DarkStyleL!=-1 | |
| 2808 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 2809 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 3882 | {{{#!if this.DarkStyleL!=-1 | |
| 3883 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3884 | }}}}}} | |
| 3885 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2810 | 3886 | }}} |
| 2811 | 3887 | }}} |
| 2812 | 3888 | }}} |
| 2813 | ||
| 2814 | ||
| 2815 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 2816 | }}}{{{#!if Blank!=-1 | |
| 2817 | {{{#!if Comma != -1 | |
| 2818 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 3889 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 3890 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3891 | }}}{{{#!if this.Blank!=-1 | |
| 3892 | {{{#!if this.Comma != -1 | |
| 3893 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2819 | 3894 | }}} |
| 2820 | 3895 | }}} |
| 2821 | {{{#!if Comma == -1 | |
| 2822 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 3896 | {{{#!if this.Comma == -1 | |
| 3897 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2823 | 3898 | }}} |
| 2824 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2825 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3899 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3900 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2826 | 3901 | }}} |
| 2827 | 3902 | }}} |
| 2828 | 3903 | }}} |
| 2829 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 2830 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 2831 | }}}{{{#!if Blank==5 | |
| 2832 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 2833 | }}}{{{#!if Em = Emlist[Size] | |
| 2834 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2835 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 3904 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 3905 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3906 | }}}{{{#!if this.Blank==5 | |
| 3907 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3908 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3909 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3910 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2836 | 3911 | }}} |
| 2837 | 3912 | }}} |
| 2838 | 3913 | }}} |
| 2839 | 3914 | }}} |
| 2840 | 3915 | }}} |
| 2841 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 2842 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2843 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3916 | ##### | |
| 3917 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3918 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3919 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2844 | 3920 | }}} |
| 2845 | {{{#!if _ParOpen == -1 | |
| 2846 | {{{#!if Match=true | |
| 3921 | {{{#!if this._ParOpen == -1 | |
| 3922 | {{{#!if this.Match=true | |
| 2847 | 3923 | }}} |
| 2848 | }}}{{{#!if _ParOpen != -1 | |
| 2849 | {{{#!if ParOpen=_ParOpen | |
| 3924 | }}}{{{#!if this._ParOpen != -1 | |
| 3925 | {{{#!if this.ParOpen=this._ParOpen | |
| 2850 | 3926 | }}} |
| 2851 | 3927 | }}} |
| 2852 | ||
| 2853 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3928 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2854 | 3929 | }}} |
| 2855 | {{{#!if _ParOpen == -1 | |
| 2856 | {{{#!if Match=true | |
| 3930 | {{{#!if this._ParOpen == -1 | |
| 3931 | {{{#!if this.Match=true | |
| 2857 | 3932 | }}} |
| 2858 | }}}{{{#!if _ParOpen != -1 | |
| 2859 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3933 | }}}{{{#!if this._ParOpen != -1 | |
| 3934 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2860 | 3935 | }}} |
| 2861 | 3936 | }}} |
| 2862 | ||
| 2863 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3937 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2864 | 3938 | }}} |
| 2865 | {{{#!if _ParOpen == -1 | |
| 2866 | {{{#!if Match=true | |
| 3939 | {{{#!if this._ParOpen == -1 | |
| 3940 | {{{#!if this.Match=true | |
| 2867 | 3941 | }}} |
| 2868 | }}}{{{#!if _ParOpen != -1 | |
| 2869 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3942 | }}}{{{#!if this._ParOpen != -1 | |
| 3943 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2870 | 3944 | }}} |
| 2871 | 3945 | }}} |
| 2872 | ||
| 2873 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3946 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2874 | 3947 | }}} |
| 2875 | {{{#!if _ParOpen == -1 | |
| 2876 | {{{#!if Match=true | |
| 3948 | {{{#!if this._ParOpen == -1 | |
| 3949 | {{{#!if this.Match=true | |
| 2877 | 3950 | }}} |
| 2878 | }}}{{{#!if _ParOpen != -1 | |
| 2879 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3951 | }}}{{{#!if this._ParOpen != -1 | |
| 3952 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2880 | 3953 | }}} |
| 2881 | 3954 | }}} |
| 2882 | ||
| 2883 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3955 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2884 | 3956 | }}} |
| 2885 | {{{#!if _ParOpen == -1 | |
| 2886 | {{{#!if Match=true | |
| 3957 | {{{#!if this._ParOpen == -1 | |
| 3958 | {{{#!if this.Match=true | |
| 2887 | 3959 | }}} |
| 2888 | }}}{{{#!if _ParOpen != -1 | |
| 2889 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3960 | }}}{{{#!if this._ParOpen != -1 | |
| 3961 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2890 | 3962 | }}} |
| 2891 | 3963 | }}} |
| 2892 | ||
| 2893 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3964 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2894 | 3965 | }}} |
| 2895 | {{{#!if _ParOpen == -1 | |
| 2896 | {{{#!if Match=true | |
| 3966 | {{{#!if this._ParOpen == -1 | |
| 3967 | {{{#!if this.Match=true | |
| 2897 | 3968 | }}} |
| 2898 | }}}{{{#!if _ParOpen != -1 | |
| 2899 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3969 | }}}{{{#!if this._ParOpen != -1 | |
| 3970 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2900 | 3971 | }}} |
| 2901 | 3972 | }}} |
| 2902 | ||
| 2903 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 3973 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2904 | 3974 | }}} |
| 2905 | {{{#!if _ParOpen == -1 | |
| 2906 | {{{#!if Match=true | |
| 3975 | {{{#!if this._ParOpen == -1 | |
| 3976 | {{{#!if this.Match=true | |
| 2907 | 3977 | }}} |
| 2908 | }}}{{{#!if _ParOpen != -1 | |
| 2909 | {{{#!if ParOpen+=_ParOpen+3 | |
| 3978 | }}}{{{#!if this._ParOpen != -1 | |
| 3979 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2910 | 3980 | }}} |
| 2911 | 3981 | }}} |
| 2912 | 3982 | }}} |
| 2913 | ##### | |
| 2914 | {{{#!if Match | |
| 2915 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 2916 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 3983 | ##### | |
| 3984 | {{{#!if this.Match | |
| 3985 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3986 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 2917 | 3987 | }}} |
| 2918 | 3988 | }}} |
| 2919 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 2920 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 2921 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 2922 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 3989 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 3990 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3991 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3992 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 2923 | 3993 | }}} |
| 2924 | {{{#!if DarkStyleL==-1 | |
| 2925 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 2926 | ||
| 3994 | {{{#!if this.DarkStyleL==-1 | |
| 3995 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2927 | 3996 | }}}}}} |
| 2928 | {{{#!if DarkStyleL!=-1 | |
| 2929 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 2930 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 3997 | {{{#!if this.DarkStyleL!=-1 | |
| 3998 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3999 | }}}}}} | |
| 4000 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2931 | 4001 | }}} |
| 2932 | 4002 | }}} |
| 2933 | 4003 | }}} |
| 2934 | ||
| 2935 | ||
| 2936 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 2937 | }}}{{{#!if Blank!=-1 | |
| 2938 | {{{#!if Comma != -1 | |
| 2939 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4004 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4005 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4006 | }}}{{{#!if this.Blank!=-1 | |
| 4007 | {{{#!if this.Comma != -1 | |
| 4008 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2940 | 4009 | }}} |
| 2941 | 4010 | }}} |
| 2942 | {{{#!if Comma == -1 | |
| 2943 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4011 | {{{#!if this.Comma == -1 | |
| 4012 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2944 | 4013 | }}} |
| 2945 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2946 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4014 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4015 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2947 | 4016 | }}} |
| 2948 | 4017 | }}} |
| 2949 | 4018 | }}} |
| 2950 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 2951 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 2952 | }}}{{{#!if Blank==5 | |
| 2953 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 2954 | }}}{{{#!if Em = Emlist[Size] | |
| 2955 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 2956 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4019 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 4020 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4021 | }}}{{{#!if this.Blank==5 | |
| 4022 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4023 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4024 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4025 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 2957 | 4026 | }}} |
| 2958 | 4027 | }}} |
| 2959 | 4028 | }}} |
| 2960 | 4029 | }}} |
| 2961 | 4030 | }}} |
| 2962 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 2963 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 2964 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4031 | ##### | |
| 4032 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4033 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4034 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2965 | 4035 | }}} |
| 2966 | {{{#!if _ParOpen == -1 | |
| 2967 | {{{#!if Match=true | |
| 4036 | {{{#!if this._ParOpen == -1 | |
| 4037 | {{{#!if this.Match=true | |
| 2968 | 4038 | }}} |
| 2969 | }}}{{{#!if _ParOpen != -1 | |
| 2970 | {{{#!if ParOpen=_ParOpen | |
| 4039 | }}}{{{#!if this._ParOpen != -1 | |
| 4040 | {{{#!if this.ParOpen=this._ParOpen | |
| 2971 | 4041 | }}} |
| 2972 | 4042 | }}} |
| 2973 | ||
| 2974 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4043 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2975 | 4044 | }}} |
| 2976 | {{{#!if _ParOpen == -1 | |
| 2977 | {{{#!if Match=true | |
| 4045 | {{{#!if this._ParOpen == -1 | |
| 4046 | {{{#!if this.Match=true | |
| 2978 | 4047 | }}} |
| 2979 | }}}{{{#!if _ParOpen != -1 | |
| 2980 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4048 | }}}{{{#!if this._ParOpen != -1 | |
| 4049 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2981 | 4050 | }}} |
| 2982 | 4051 | }}} |
| 2983 | ||
| 2984 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4052 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2985 | 4053 | }}} |
| 2986 | {{{#!if _ParOpen == -1 | |
| 2987 | {{{#!if Match=true | |
| 4054 | {{{#!if this._ParOpen == -1 | |
| 4055 | {{{#!if this.Match=true | |
| 2988 | 4056 | }}} |
| 2989 | }}}{{{#!if _ParOpen != -1 | |
| 2990 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4057 | }}}{{{#!if this._ParOpen != -1 | |
| 4058 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2991 | 4059 | }}} |
| 2992 | 4060 | }}} |
| 2993 | ||
| 2994 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4061 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2995 | 4062 | }}} |
| 2996 | {{{#!if _ParOpen == -1 | |
| 2997 | {{{#!if Match=true | |
| 4063 | {{{#!if this._ParOpen == -1 | |
| 4064 | {{{#!if this.Match=true | |
| 2998 | 4065 | }}} |
| 2999 | }}}{{{#!if _ParOpen != -1 | |
| 3000 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4066 | }}}{{{#!if this._ParOpen != -1 | |
| 4067 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3001 | 4068 | }}} |
| 3002 | 4069 | }}} |
| 3003 | ||
| 3004 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4070 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3005 | 4071 | }}} |
| 3006 | {{{#!if _ParOpen == -1 | |
| 3007 | {{{#!if Match=true | |
| 4072 | {{{#!if this._ParOpen == -1 | |
| 4073 | {{{#!if this.Match=true | |
| 3008 | 4074 | }}} |
| 3009 | }}}{{{#!if _ParOpen != -1 | |
| 3010 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4075 | }}}{{{#!if this._ParOpen != -1 | |
| 4076 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3011 | 4077 | }}} |
| 3012 | 4078 | }}} |
| 3013 | ||
| 3014 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4079 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3015 | 4080 | }}} |
| 3016 | {{{#!if _ParOpen == -1 | |
| 3017 | {{{#!if Match=true | |
| 4081 | {{{#!if this._ParOpen == -1 | |
| 4082 | {{{#!if this.Match=true | |
| 3018 | 4083 | }}} |
| 3019 | }}}{{{#!if _ParOpen != -1 | |
| 3020 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4084 | }}}{{{#!if this._ParOpen != -1 | |
| 4085 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3021 | 4086 | }}} |
| 3022 | 4087 | }}} |
| 3023 | ||
| 3024 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4088 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3025 | 4089 | }}} |
| 3026 | {{{#!if _ParOpen == -1 | |
| 3027 | {{{#!if Match=true | |
| 4090 | {{{#!if this._ParOpen == -1 | |
| 4091 | {{{#!if this.Match=true | |
| 3028 | 4092 | }}} |
| 3029 | }}}{{{#!if _ParOpen != -1 | |
| 3030 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4093 | }}}{{{#!if this._ParOpen != -1 | |
| 4094 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3031 | 4095 | }}} |
| 3032 | 4096 | }}} |
| 3033 | 4097 | }}} |
| 3034 | ##### | |
| 3035 | {{{#!if Match | |
| 3036 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 3037 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4098 | ##### | |
| 4099 | {{{#!if this.Match | |
| 4100 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4101 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 3038 | 4102 | }}} |
| 3039 | 4103 | }}} |
| 3040 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 3041 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 3042 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 3043 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 4104 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 4105 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4106 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4107 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 3044 | 4108 | }}} |
| 3045 | {{{#!if DarkStyleL==-1 | |
| 3046 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 3047 | ||
| 4109 | {{{#!if this.DarkStyleL==-1 | |
| 4110 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3048 | 4111 | }}}}}} |
| 3049 | {{{#!if DarkStyleL!=-1 | |
| 3050 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 3051 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 4112 | {{{#!if this.DarkStyleL!=-1 | |
| 4113 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4114 | }}}}}} | |
| 4115 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3052 | 4116 | }}} |
| 3053 | 4117 | }}} |
| 3054 | 4118 | }}} |
| 3055 | ||
| 3056 | ||
| 3057 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 3058 | }}}{{{#!if Blank!=-1 | |
| 3059 | {{{#!if Comma != -1 | |
| 3060 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4119 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4120 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4121 | }}}{{{#!if this.Blank!=-1 | |
| 4122 | {{{#!if this.Comma != -1 | |
| 4123 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 3061 | 4124 | }}} |
| 3062 | 4125 | }}} |
| 3063 | {{{#!if Comma == -1 | |
| 3064 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4126 | {{{#!if this.Comma == -1 | |
| 4127 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 3065 | 4128 | }}} |
| 3066 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3067 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4129 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4130 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3068 | 4131 | }}} |
| 3069 | 4132 | }}} |
| 3070 | 4133 | }}} |
| 3071 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 3072 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 3073 | }}}{{{#!if Blank==5 | |
| 3074 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 3075 | }}}{{{#!if Em = Emlist[Size] | |
| 3076 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3077 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4134 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 4135 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4136 | }}}{{{#!if this.Blank==5 | |
| 4137 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4138 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4139 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4140 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3078 | 4141 | }}} |
| 3079 | 4142 | }}} |
| 3080 | 4143 | }}} |
| 3081 | 4144 | }}} |
| 3082 | 4145 | }}} |
| 3083 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 3084 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 3085 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4146 | ##### | |
| 4147 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4148 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4149 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3086 | 4150 | }}} |
| 3087 | {{{#!if _ParOpen == -1 | |
| 3088 | {{{#!if Match=true | |
| 4151 | {{{#!if this._ParOpen == -1 | |
| 4152 | {{{#!if this.Match=true | |
| 3089 | 4153 | }}} |
| 3090 | }}}{{{#!if _ParOpen != -1 | |
| 3091 | {{{#!if ParOpen=_ParOpen | |
| 4154 | }}}{{{#!if this._ParOpen != -1 | |
| 4155 | {{{#!if this.ParOpen=this._ParOpen | |
| 3092 | 4156 | }}} |
| 3093 | 4157 | }}} |
| 3094 | ||
| 3095 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4158 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3096 | 4159 | }}} |
| 3097 | {{{#!if _ParOpen == -1 | |
| 3098 | {{{#!if Match=true | |
| 4160 | {{{#!if this._ParOpen == -1 | |
| 4161 | {{{#!if this.Match=true | |
| 3099 | 4162 | }}} |
| 3100 | }}}{{{#!if _ParOpen != -1 | |
| 3101 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4163 | }}}{{{#!if this._ParOpen != -1 | |
| 4164 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3102 | 4165 | }}} |
| 3103 | 4166 | }}} |
| 3104 | ||
| 3105 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4167 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3106 | 4168 | }}} |
| 3107 | {{{#!if _ParOpen == -1 | |
| 3108 | {{{#!if Match=true | |
| 4169 | {{{#!if this._ParOpen == -1 | |
| 4170 | {{{#!if this.Match=true | |
| 3109 | 4171 | }}} |
| 3110 | }}}{{{#!if _ParOpen != -1 | |
| 3111 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4172 | }}}{{{#!if this._ParOpen != -1 | |
| 4173 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3112 | 4174 | }}} |
| 3113 | 4175 | }}} |
| 3114 | ||
| 3115 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4176 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3116 | 4177 | }}} |
| 3117 | {{{#!if _ParOpen == -1 | |
| 3118 | {{{#!if Match=true | |
| 4178 | {{{#!if this._ParOpen == -1 | |
| 4179 | {{{#!if this.Match=true | |
| 3119 | 4180 | }}} |
| 3120 | }}}{{{#!if _ParOpen != -1 | |
| 3121 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4181 | }}}{{{#!if this._ParOpen != -1 | |
| 4182 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3122 | 4183 | }}} |
| 3123 | 4184 | }}} |
| 3124 | ||
| 3125 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4185 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3126 | 4186 | }}} |
| 3127 | {{{#!if _ParOpen == -1 | |
| 3128 | {{{#!if Match=true | |
| 4187 | {{{#!if this._ParOpen == -1 | |
| 4188 | {{{#!if this.Match=true | |
| 3129 | 4189 | }}} |
| 3130 | }}}{{{#!if _ParOpen != -1 | |
| 3131 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4190 | }}}{{{#!if this._ParOpen != -1 | |
| 4191 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3132 | 4192 | }}} |
| 3133 | 4193 | }}} |
| 3134 | ||
| 3135 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4194 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3136 | 4195 | }}} |
| 3137 | {{{#!if _ParOpen == -1 | |
| 3138 | {{{#!if Match=true | |
| 4196 | {{{#!if this._ParOpen == -1 | |
| 4197 | {{{#!if this.Match=true | |
| 3139 | 4198 | }}} |
| 3140 | }}}{{{#!if _ParOpen != -1 | |
| 3141 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4199 | }}}{{{#!if this._ParOpen != -1 | |
| 4200 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3142 | 4201 | }}} |
| 3143 | 4202 | }}} |
| 3144 | ||
| 3145 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4203 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3146 | 4204 | }}} |
| 3147 | {{{#!if _ParOpen == -1 | |
| 3148 | {{{#!if Match=true | |
| 4205 | {{{#!if this._ParOpen == -1 | |
| 4206 | {{{#!if this.Match=true | |
| 3149 | 4207 | }}} |
| 3150 | }}}{{{#!if _ParOpen != -1 | |
| 3151 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4208 | }}}{{{#!if this._ParOpen != -1 | |
| 4209 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3152 | 4210 | }}} |
| 3153 | 4211 | }}} |
| 3154 | 4212 | }}} |
| 3155 | ##### | |
| 3156 | {{{#!if Match | |
| 3157 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 3158 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4213 | ##### | |
| 4214 | {{{#!if this.Match | |
| 4215 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4216 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 3159 | 4217 | }}} |
| 3160 | 4218 | }}} |
| 3161 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 3162 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 3163 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 3164 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 4219 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 4220 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4221 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4222 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 3165 | 4223 | }}} |
| 3166 | {{{#!if DarkStyleL==-1 | |
| 3167 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 3168 | ||
| 4224 | {{{#!if this.DarkStyleL==-1 | |
| 4225 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3169 | 4226 | }}}}}} |
| 3170 | {{{#!if DarkStyleL!=-1 | |
| 3171 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 3172 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 4227 | {{{#!if this.DarkStyleL!=-1 | |
| 4228 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4229 | }}}}}} | |
| 4230 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3173 | 4231 | }}} |
| 3174 | 4232 | }}} |
| 3175 | 4233 | }}} |
| 3176 | ||
| 3177 | ||
| 3178 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 3179 | }}}{{{#!if Blank!=-1 | |
| 3180 | {{{#!if Comma != -1 | |
| 3181 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4234 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4235 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4236 | }}}{{{#!if this.Blank!=-1 | |
| 4237 | {{{#!if this.Comma != -1 | |
| 4238 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 3182 | 4239 | }}} |
| 3183 | 4240 | }}} |
| 3184 | {{{#!if Comma == -1 | |
| 3185 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4241 | {{{#!if this.Comma == -1 | |
| 4242 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 3186 | 4243 | }}} |
| 3187 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3188 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4244 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4245 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3189 | 4246 | }}} |
| 3190 | 4247 | }}} |
| 3191 | 4248 | }}} |
| 3192 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 3193 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 3194 | }}}{{{#!if Blank==5 | |
| 3195 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 3196 | }}}{{{#!if Em = Emlist[Size] | |
| 3197 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3198 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4249 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 4250 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4251 | }}}{{{#!if this.Blank==5 | |
| 4252 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4253 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4254 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4255 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3199 | 4256 | }}} |
| 3200 | 4257 | }}} |
| 3201 | 4258 | }}} |
| 3202 | 4259 | }}} |
| 3203 | 4260 | }}} |
| 3204 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 3205 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 3206 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4261 | ##### | |
| 4262 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4263 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4264 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3207 | 4265 | }}} |
| 3208 | {{{#!if _ParOpen == -1 | |
| 3209 | {{{#!if Match=true | |
| 4266 | {{{#!if this._ParOpen == -1 | |
| 4267 | {{{#!if this.Match=true | |
| 3210 | 4268 | }}} |
| 3211 | }}}{{{#!if _ParOpen != -1 | |
| 3212 | {{{#!if ParOpen=_ParOpen | |
| 4269 | }}}{{{#!if this._ParOpen != -1 | |
| 4270 | {{{#!if this.ParOpen=this._ParOpen | |
| 3213 | 4271 | }}} |
| 3214 | 4272 | }}} |
| 3215 | ||
| 3216 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4273 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3217 | 4274 | }}} |
| 3218 | {{{#!if _ParOpen == -1 | |
| 3219 | {{{#!if Match=true | |
| 4275 | {{{#!if this._ParOpen == -1 | |
| 4276 | {{{#!if this.Match=true | |
| 3220 | 4277 | }}} |
| 3221 | }}}{{{#!if _ParOpen != -1 | |
| 3222 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4278 | }}}{{{#!if this._ParOpen != -1 | |
| 4279 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3223 | 4280 | }}} |
| 3224 | 4281 | }}} |
| 3225 | ||
| 3226 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4282 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3227 | 4283 | }}} |
| 3228 | {{{#!if _ParOpen == -1 | |
| 3229 | {{{#!if Match=true | |
| 4284 | {{{#!if this._ParOpen == -1 | |
| 4285 | {{{#!if this.Match=true | |
| 3230 | 4286 | }}} |
| 3231 | }}}{{{#!if _ParOpen != -1 | |
| 3232 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4287 | }}}{{{#!if this._ParOpen != -1 | |
| 4288 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3233 | 4289 | }}} |
| 3234 | 4290 | }}} |
| 3235 | ||
| 3236 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4291 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3237 | 4292 | }}} |
| 3238 | {{{#!if _ParOpen == -1 | |
| 3239 | {{{#!if Match=true | |
| 4293 | {{{#!if this._ParOpen == -1 | |
| 4294 | {{{#!if this.Match=true | |
| 3240 | 4295 | }}} |
| 3241 | }}}{{{#!if _ParOpen != -1 | |
| 3242 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4296 | }}}{{{#!if this._ParOpen != -1 | |
| 4297 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3243 | 4298 | }}} |
| 3244 | 4299 | }}} |
| 3245 | ||
| 3246 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4300 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3247 | 4301 | }}} |
| 3248 | {{{#!if _ParOpen == -1 | |
| 3249 | {{{#!if Match=true | |
| 4302 | {{{#!if this._ParOpen == -1 | |
| 4303 | {{{#!if this.Match=true | |
| 3250 | 4304 | }}} |
| 3251 | }}}{{{#!if _ParOpen != -1 | |
| 3252 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4305 | }}}{{{#!if this._ParOpen != -1 | |
| 4306 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3253 | 4307 | }}} |
| 3254 | 4308 | }}} |
| 3255 | ||
| 3256 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4309 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3257 | 4310 | }}} |
| 3258 | {{{#!if _ParOpen == -1 | |
| 3259 | {{{#!if Match=true | |
| 4311 | {{{#!if this._ParOpen == -1 | |
| 4312 | {{{#!if this.Match=true | |
| 3260 | 4313 | }}} |
| 3261 | }}}{{{#!if _ParOpen != -1 | |
| 3262 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4314 | }}}{{{#!if this._ParOpen != -1 | |
| 4315 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3263 | 4316 | }}} |
| 3264 | 4317 | }}} |
| 3265 | ||
| 3266 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4318 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3267 | 4319 | }}} |
| 3268 | {{{#!if _ParOpen == -1 | |
| 3269 | {{{#!if Match=true | |
| 4320 | {{{#!if this._ParOpen == -1 | |
| 4321 | {{{#!if this.Match=true | |
| 3270 | 4322 | }}} |
| 3271 | }}}{{{#!if _ParOpen != -1 | |
| 3272 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4323 | }}}{{{#!if this._ParOpen != -1 | |
| 4324 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3273 | 4325 | }}} |
| 3274 | 4326 | }}} |
| 3275 | 4327 | }}} |
| 3276 | ##### | |
| 3277 | {{{#!if Match | |
| 3278 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 3279 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4328 | ##### | |
| 4329 | {{{#!if this.Match | |
| 4330 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4331 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 3280 | 4332 | }}} |
| 3281 | 4333 | }}} |
| 3282 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 3283 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 3284 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 3285 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 4334 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 4335 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4336 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4337 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 3286 | 4338 | }}} |
| 3287 | {{{#!if DarkStyleL==-1 | |
| 3288 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 3289 | ||
| 4339 | {{{#!if this.DarkStyleL==-1 | |
| 4340 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3290 | 4341 | }}}}}} |
| 3291 | {{{#!if DarkStyleL!=-1 | |
| 3292 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 3293 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 4342 | {{{#!if this.DarkStyleL!=-1 | |
| 4343 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4344 | }}}}}} | |
| 4345 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3294 | 4346 | }}} |
| 3295 | 4347 | }}} |
| 3296 | 4348 | }}} |
| 3297 | ||
| 3298 | ||
| 3299 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 3300 | }}}{{{#!if Blank!=-1 | |
| 3301 | {{{#!if Comma != -1 | |
| 3302 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4349 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4350 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4351 | }}}{{{#!if this.Blank!=-1 | |
| 4352 | {{{#!if this.Comma != -1 | |
| 4353 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 3303 | 4354 | }}} |
| 3304 | 4355 | }}} |
| 3305 | {{{#!if Comma == -1 | |
| 3306 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4356 | {{{#!if this.Comma == -1 | |
| 4357 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 3307 | 4358 | }}} |
| 3308 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3309 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4359 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4360 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3310 | 4361 | }}} |
| 3311 | 4362 | }}} |
| 3312 | 4363 | }}} |
| 3313 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 3314 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 3315 | }}}{{{#!if Blank==5 | |
| 3316 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 3317 | }}}{{{#!if Em = Emlist[Size] | |
| 3318 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3319 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4364 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 4365 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4366 | }}}{{{#!if this.Blank==5 | |
| 4367 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4368 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4369 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4370 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3320 | 4371 | }}} |
| 3321 | 4372 | }}} |
| 3322 | 4373 | }}} |
| 3323 | 4374 | }}} |
| 3324 | 4375 | }}} |
| 3325 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 3326 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 3327 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4376 | ##### | |
| 4377 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4378 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4379 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3328 | 4380 | }}} |
| 3329 | {{{#!if _ParOpen == -1 | |
| 3330 | {{{#!if Match=true | |
| 4381 | {{{#!if this._ParOpen == -1 | |
| 4382 | {{{#!if this.Match=true | |
| 3331 | 4383 | }}} |
| 3332 | }}}{{{#!if _ParOpen != -1 | |
| 3333 | {{{#!if ParOpen=_ParOpen | |
| 4384 | }}}{{{#!if this._ParOpen != -1 | |
| 4385 | {{{#!if this.ParOpen=this._ParOpen | |
| 3334 | 4386 | }}} |
| 3335 | 4387 | }}} |
| 3336 | ||
| 3337 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4388 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3338 | 4389 | }}} |
| 3339 | {{{#!if _ParOpen == -1 | |
| 3340 | {{{#!if Match=true | |
| 4390 | {{{#!if this._ParOpen == -1 | |
| 4391 | {{{#!if this.Match=true | |
| 3341 | 4392 | }}} |
| 3342 | }}}{{{#!if _ParOpen != -1 | |
| 3343 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4393 | }}}{{{#!if this._ParOpen != -1 | |
| 4394 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3344 | 4395 | }}} |
| 3345 | 4396 | }}} |
| 3346 | ||
| 3347 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4397 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3348 | 4398 | }}} |
| 3349 | {{{#!if _ParOpen == -1 | |
| 3350 | {{{#!if Match=true | |
| 4399 | {{{#!if this._ParOpen == -1 | |
| 4400 | {{{#!if this.Match=true | |
| 3351 | 4401 | }}} |
| 3352 | }}}{{{#!if _ParOpen != -1 | |
| 3353 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4402 | }}}{{{#!if this._ParOpen != -1 | |
| 4403 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3354 | 4404 | }}} |
| 3355 | 4405 | }}} |
| 3356 | ||
| 3357 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4406 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3358 | 4407 | }}} |
| 3359 | {{{#!if _ParOpen == -1 | |
| 3360 | {{{#!if Match=true | |
| 4408 | {{{#!if this._ParOpen == -1 | |
| 4409 | {{{#!if this.Match=true | |
| 3361 | 4410 | }}} |
| 3362 | }}}{{{#!if _ParOpen != -1 | |
| 3363 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4411 | }}}{{{#!if this._ParOpen != -1 | |
| 4412 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3364 | 4413 | }}} |
| 3365 | 4414 | }}} |
| 3366 | ||
| 3367 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4415 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3368 | 4416 | }}} |
| 3369 | {{{#!if _ParOpen == -1 | |
| 3370 | {{{#!if Match=true | |
| 4417 | {{{#!if this._ParOpen == -1 | |
| 4418 | {{{#!if this.Match=true | |
| 3371 | 4419 | }}} |
| 3372 | }}}{{{#!if _ParOpen != -1 | |
| 3373 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4420 | }}}{{{#!if this._ParOpen != -1 | |
| 4421 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3374 | 4422 | }}} |
| 3375 | 4423 | }}} |
| 3376 | ||
| 3377 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4424 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3378 | 4425 | }}} |
| 3379 | {{{#!if _ParOpen == -1 | |
| 3380 | {{{#!if Match=true | |
| 4426 | {{{#!if this._ParOpen == -1 | |
| 4427 | {{{#!if this.Match=true | |
| 3381 | 4428 | }}} |
| 3382 | }}}{{{#!if _ParOpen != -1 | |
| 3383 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4429 | }}}{{{#!if this._ParOpen != -1 | |
| 4430 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3384 | 4431 | }}} |
| 3385 | 4432 | }}} |
| 3386 | ||
| 3387 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4433 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3388 | 4434 | }}} |
| 3389 | {{{#!if _ParOpen == -1 | |
| 3390 | {{{#!if Match=true | |
| 4435 | {{{#!if this._ParOpen == -1 | |
| 4436 | {{{#!if this.Match=true | |
| 3391 | 4437 | }}} |
| 3392 | }}}{{{#!if _ParOpen != -1 | |
| 3393 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4438 | }}}{{{#!if this._ParOpen != -1 | |
| 4439 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3394 | 4440 | }}} |
| 3395 | 4441 | }}} |
| 3396 | 4442 | }}} |
| 3397 | ##### | |
| 3398 | {{{#!if Match | |
| 3399 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 3400 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4443 | ##### | |
| 4444 | {{{#!if this.Match | |
| 4445 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4446 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 3401 | 4447 | }}} |
| 3402 | 4448 | }}} |
| 3403 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 3404 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 3405 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 3406 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 4449 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 4450 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4451 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4452 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 3407 | 4453 | }}} |
| 3408 | {{{#!if DarkStyleL==-1 | |
| 3409 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 3410 | ||
| 4454 | {{{#!if this.DarkStyleL==-1 | |
| 4455 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3411 | 4456 | }}}}}} |
| 3412 | {{{#!if DarkStyleL!=-1 | |
| 3413 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 3414 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 4457 | {{{#!if this.DarkStyleL!=-1 | |
| 4458 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4459 | }}}}}} | |
| 4460 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3415 | 4461 | }}} |
| 3416 | 4462 | }}} |
| 3417 | 4463 | }}} |
| 3418 | ||
| 3419 | ||
| 3420 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 3421 | }}}{{{#!if Blank!=-1 | |
| 3422 | {{{#!if Comma != -1 | |
| 3423 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4464 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4465 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4466 | }}}{{{#!if this.Blank!=-1 | |
| 4467 | {{{#!if this.Comma != -1 | |
| 4468 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 3424 | 4469 | }}} |
| 3425 | 4470 | }}} |
| 3426 | {{{#!if Comma == -1 | |
| 3427 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4471 | {{{#!if this.Comma == -1 | |
| 4472 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 3428 | 4473 | }}} |
| 3429 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3430 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4474 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4475 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3431 | 4476 | }}} |
| 3432 | 4477 | }}} |
| 3433 | 4478 | }}} |
| 3434 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 3435 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 3436 | }}}{{{#!if Blank==5 | |
| 3437 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 3438 | }}}{{{#!if Em = Emlist[Size] | |
| 3439 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3440 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4479 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 4480 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4481 | }}}{{{#!if this.Blank==5 | |
| 4482 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4483 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4484 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4485 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3441 | 4486 | }}} |
| 3442 | 4487 | }}} |
| 3443 | 4488 | }}} |
| 3444 | 4489 | }}} |
| 3445 | 4490 | }}} |
| 3446 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 3447 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 3448 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4491 | ##### | |
| 4492 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4493 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4494 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3449 | 4495 | }}} |
| 3450 | {{{#!if _ParOpen == -1 | |
| 3451 | {{{#!if Match=true | |
| 4496 | {{{#!if this._ParOpen == -1 | |
| 4497 | {{{#!if this.Match=true | |
| 3452 | 4498 | }}} |
| 3453 | }}}{{{#!if _ParOpen != -1 | |
| 3454 | {{{#!if ParOpen=_ParOpen | |
| 4499 | }}}{{{#!if this._ParOpen != -1 | |
| 4500 | {{{#!if this.ParOpen=this._ParOpen | |
| 3455 | 4501 | }}} |
| 3456 | 4502 | }}} |
| 3457 | ||
| 3458 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4503 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3459 | 4504 | }}} |
| 3460 | {{{#!if _ParOpen == -1 | |
| 3461 | {{{#!if Match=true | |
| 4505 | {{{#!if this._ParOpen == -1 | |
| 4506 | {{{#!if this.Match=true | |
| 3462 | 4507 | }}} |
| 3463 | }}}{{{#!if _ParOpen != -1 | |
| 3464 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4508 | }}}{{{#!if this._ParOpen != -1 | |
| 4509 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3465 | 4510 | }}} |
| 3466 | 4511 | }}} |
| 3467 | ||
| 3468 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4512 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3469 | 4513 | }}} |
| 3470 | {{{#!if _ParOpen == -1 | |
| 3471 | {{{#!if Match=true | |
| 4514 | {{{#!if this._ParOpen == -1 | |
| 4515 | {{{#!if this.Match=true | |
| 3472 | 4516 | }}} |
| 3473 | }}}{{{#!if _ParOpen != -1 | |
| 3474 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4517 | }}}{{{#!if this._ParOpen != -1 | |
| 4518 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3475 | 4519 | }}} |
| 3476 | 4520 | }}} |
| 3477 | ||
| 3478 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4521 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3479 | 4522 | }}} |
| 3480 | {{{#!if _ParOpen == -1 | |
| 3481 | {{{#!if Match=true | |
| 4523 | {{{#!if this._ParOpen == -1 | |
| 4524 | {{{#!if this.Match=true | |
| 3482 | 4525 | }}} |
| 3483 | }}}{{{#!if _ParOpen != -1 | |
| 3484 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4526 | }}}{{{#!if this._ParOpen != -1 | |
| 4527 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3485 | 4528 | }}} |
| 3486 | 4529 | }}} |
| 3487 | ||
| 3488 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4530 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3489 | 4531 | }}} |
| 3490 | {{{#!if _ParOpen == -1 | |
| 3491 | {{{#!if Match=true | |
| 4532 | {{{#!if this._ParOpen == -1 | |
| 4533 | {{{#!if this.Match=true | |
| 3492 | 4534 | }}} |
| 3493 | }}}{{{#!if _ParOpen != -1 | |
| 3494 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4535 | }}}{{{#!if this._ParOpen != -1 | |
| 4536 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3495 | 4537 | }}} |
| 3496 | 4538 | }}} |
| 3497 | ||
| 3498 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4539 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3499 | 4540 | }}} |
| 3500 | {{{#!if _ParOpen == -1 | |
| 3501 | {{{#!if Match=true | |
| 4541 | {{{#!if this._ParOpen == -1 | |
| 4542 | {{{#!if this.Match=true | |
| 3502 | 4543 | }}} |
| 3503 | }}}{{{#!if _ParOpen != -1 | |
| 3504 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4544 | }}}{{{#!if this._ParOpen != -1 | |
| 4545 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3505 | 4546 | }}} |
| 3506 | 4547 | }}} |
| 3507 | ||
| 3508 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4548 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3509 | 4549 | }}} |
| 3510 | {{{#!if _ParOpen == -1 | |
| 3511 | {{{#!if Match=true | |
| 4550 | {{{#!if this._ParOpen == -1 | |
| 4551 | {{{#!if this.Match=true | |
| 3512 | 4552 | }}} |
| 3513 | }}}{{{#!if _ParOpen != -1 | |
| 3514 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4553 | }}}{{{#!if this._ParOpen != -1 | |
| 4554 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3515 | 4555 | }}} |
| 3516 | 4556 | }}} |
| 3517 | 4557 | }}} |
| 3518 | ##### | |
| 3519 | {{{#!if Match | |
| 3520 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 3521 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4558 | ##### | |
| 4559 | {{{#!if this.Match | |
| 4560 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4561 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 3522 | 4562 | }}} |
| 3523 | 4563 | }}} |
| 3524 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 3525 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 3526 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 3527 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 4564 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 4565 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4566 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4567 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 3528 | 4568 | }}} |
| 3529 | {{{#!if DarkStyleL==-1 | |
| 3530 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 3531 | ||
| 4569 | {{{#!if this.DarkStyleL==-1 | |
| 4570 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3532 | 4571 | }}}}}} |
| 3533 | {{{#!if DarkStyleL!=-1 | |
| 3534 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 3535 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 4572 | {{{#!if this.DarkStyleL!=-1 | |
| 4573 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4574 | }}}}}} | |
| 4575 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3536 | 4576 | }}} |
| 3537 | 4577 | }}} |
| 3538 | 4578 | }}} |
| 3539 | ||
| 3540 | ||
| 3541 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 3542 | }}}{{{#!if Blank!=-1 | |
| 3543 | {{{#!if Comma != -1 | |
| 3544 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4579 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4580 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4581 | }}}{{{#!if this.Blank!=-1 | |
| 4582 | {{{#!if this.Comma != -1 | |
| 4583 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 3545 | 4584 | }}} |
| 3546 | 4585 | }}} |
| 3547 | {{{#!if Comma == -1 | |
| 3548 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4586 | {{{#!if this.Comma == -1 | |
| 4587 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 3549 | 4588 | }}} |
| 3550 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3551 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4589 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4590 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3552 | 4591 | }}} |
| 3553 | 4592 | }}} |
| 3554 | 4593 | }}} |
| 3555 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 3556 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 3557 | }}}{{{#!if Blank==5 | |
| 3558 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 3559 | }}}{{{#!if Em = Emlist[Size] | |
| 3560 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3561 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4594 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 4595 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4596 | }}}{{{#!if this.Blank==5 | |
| 4597 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4598 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4599 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4600 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3562 | 4601 | }}} |
| 3563 | 4602 | }}} |
| 3564 | 4603 | }}} |
| 3565 | 4604 | }}} |
| 3566 | 4605 | }}} |
| 3567 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 3568 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 3569 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4606 | ##### | |
| 4607 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4608 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4609 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3570 | 4610 | }}} |
| 3571 | {{{#!if _ParOpen == -1 | |
| 3572 | {{{#!if Match=true | |
| 4611 | {{{#!if this._ParOpen == -1 | |
| 4612 | {{{#!if this.Match=true | |
| 3573 | 4613 | }}} |
| 3574 | }}}{{{#!if _ParOpen != -1 | |
| 3575 | {{{#!if ParOpen=_ParOpen | |
| 4614 | }}}{{{#!if this._ParOpen != -1 | |
| 4615 | {{{#!if this.ParOpen=this._ParOpen | |
| 3576 | 4616 | }}} |
| 3577 | 4617 | }}} |
| 3578 | ||
| 3579 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4618 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3580 | 4619 | }}} |
| 3581 | {{{#!if _ParOpen == -1 | |
| 3582 | {{{#!if Match=true | |
| 4620 | {{{#!if this._ParOpen == -1 | |
| 4621 | {{{#!if this.Match=true | |
| 3583 | 4622 | }}} |
| 3584 | }}}{{{#!if _ParOpen != -1 | |
| 3585 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4623 | }}}{{{#!if this._ParOpen != -1 | |
| 4624 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3586 | 4625 | }}} |
| 3587 | 4626 | }}} |
| 3588 | ||
| 3589 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4627 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3590 | 4628 | }}} |
| 3591 | {{{#!if _ParOpen == -1 | |
| 3592 | {{{#!if Match=true | |
| 4629 | {{{#!if this._ParOpen == -1 | |
| 4630 | {{{#!if this.Match=true | |
| 3593 | 4631 | }}} |
| 3594 | }}}{{{#!if _ParOpen != -1 | |
| 3595 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4632 | }}}{{{#!if this._ParOpen != -1 | |
| 4633 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3596 | 4634 | }}} |
| 3597 | 4635 | }}} |
| 3598 | ||
| 3599 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4636 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3600 | 4637 | }}} |
| 3601 | {{{#!if _ParOpen == -1 | |
| 3602 | {{{#!if Match=true | |
| 4638 | {{{#!if this._ParOpen == -1 | |
| 4639 | {{{#!if this.Match=true | |
| 3603 | 4640 | }}} |
| 3604 | }}}{{{#!if _ParOpen != -1 | |
| 3605 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4641 | }}}{{{#!if this._ParOpen != -1 | |
| 4642 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3606 | 4643 | }}} |
| 3607 | 4644 | }}} |
| 3608 | ||
| 3609 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4645 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3610 | 4646 | }}} |
| 3611 | {{{#!if _ParOpen == -1 | |
| 3612 | {{{#!if Match=true | |
| 4647 | {{{#!if this._ParOpen == -1 | |
| 4648 | {{{#!if this.Match=true | |
| 3613 | 4649 | }}} |
| 3614 | }}}{{{#!if _ParOpen != -1 | |
| 3615 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4650 | }}}{{{#!if this._ParOpen != -1 | |
| 4651 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3616 | 4652 | }}} |
| 3617 | 4653 | }}} |
| 3618 | ||
| 3619 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4654 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3620 | 4655 | }}} |
| 3621 | {{{#!if _ParOpen == -1 | |
| 3622 | {{{#!if Match=true | |
| 4656 | {{{#!if this._ParOpen == -1 | |
| 4657 | {{{#!if this.Match=true | |
| 3623 | 4658 | }}} |
| 3624 | }}}{{{#!if _ParOpen != -1 | |
| 3625 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4659 | }}}{{{#!if this._ParOpen != -1 | |
| 4660 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3626 | 4661 | }}} |
| 3627 | 4662 | }}} |
| 3628 | ||
| 3629 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4663 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3630 | 4664 | }}} |
| 3631 | {{{#!if _ParOpen == -1 | |
| 3632 | {{{#!if Match=true | |
| 4665 | {{{#!if this._ParOpen == -1 | |
| 4666 | {{{#!if this.Match=true | |
| 3633 | 4667 | }}} |
| 3634 | }}}{{{#!if _ParOpen != -1 | |
| 3635 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4668 | }}}{{{#!if this._ParOpen != -1 | |
| 4669 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3636 | 4670 | }}} |
| 3637 | 4671 | }}} |
| 3638 | 4672 | }}} |
| 3639 | ##### | |
| 3640 | {{{#!if Match | |
| 3641 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 3642 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4673 | ##### | |
| 4674 | {{{#!if this.Match | |
| 4675 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4676 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 3643 | 4677 | }}} |
| 3644 | 4678 | }}} |
| 3645 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 3646 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 3647 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 3648 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 4679 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 4680 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4681 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4682 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 3649 | 4683 | }}} |
| 3650 | {{{#!if DarkStyleL==-1 | |
| 3651 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 3652 | ||
| 4684 | {{{#!if this.DarkStyleL==-1 | |
| 4685 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3653 | 4686 | }}}}}} |
| 3654 | {{{#!if DarkStyleL!=-1 | |
| 3655 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 3656 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 4687 | {{{#!if this.DarkStyleL!=-1 | |
| 4688 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4689 | }}}}}} | |
| 4690 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3657 | 4691 | }}} |
| 3658 | 4692 | }}} |
| 3659 | 4693 | }}} |
| 3660 | ||
| 3661 | ||
| 3662 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 3663 | }}}{{{#!if Blank!=-1 | |
| 3664 | {{{#!if Comma != -1 | |
| 3665 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4694 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4695 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4696 | }}}{{{#!if this.Blank!=-1 | |
| 4697 | {{{#!if this.Comma != -1 | |
| 4698 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 3666 | 4699 | }}} |
| 3667 | 4700 | }}} |
| 3668 | {{{#!if Comma == -1 | |
| 3669 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4701 | {{{#!if this.Comma == -1 | |
| 4702 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 3670 | 4703 | }}} |
| 3671 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3672 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4704 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4705 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3673 | 4706 | }}} |
| 3674 | 4707 | }}} |
| 3675 | 4708 | }}} |
| 3676 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 3677 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 3678 | }}}{{{#!if Blank==5 | |
| 3679 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 3680 | }}}{{{#!if Em = Emlist[Size] | |
| 3681 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3682 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4709 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 4710 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4711 | }}}{{{#!if this.Blank==5 | |
| 4712 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4713 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4714 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4715 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3683 | 4716 | }}} |
| 3684 | 4717 | }}} |
| 3685 | 4718 | }}} |
| 3686 | 4719 | }}} |
| 3687 | 4720 | }}} |
| 3688 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 3689 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 3690 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4721 | ##### | |
| 4722 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4723 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4724 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3691 | 4725 | }}} |
| 3692 | {{{#!if _ParOpen == -1 | |
| 3693 | {{{#!if Match=true | |
| 4726 | {{{#!if this._ParOpen == -1 | |
| 4727 | {{{#!if this.Match=true | |
| 3694 | 4728 | }}} |
| 3695 | }}}{{{#!if _ParOpen != -1 | |
| 3696 | {{{#!if ParOpen=_ParOpen | |
| 4729 | }}}{{{#!if this._ParOpen != -1 | |
| 4730 | {{{#!if this.ParOpen=this._ParOpen | |
| 3697 | 4731 | }}} |
| 3698 | 4732 | }}} |
| 3699 | ||
| 3700 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4733 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3701 | 4734 | }}} |
| 3702 | {{{#!if _ParOpen == -1 | |
| 3703 | {{{#!if Match=true | |
| 4735 | {{{#!if this._ParOpen == -1 | |
| 4736 | {{{#!if this.Match=true | |
| 3704 | 4737 | }}} |
| 3705 | }}}{{{#!if _ParOpen != -1 | |
| 3706 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4738 | }}}{{{#!if this._ParOpen != -1 | |
| 4739 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3707 | 4740 | }}} |
| 3708 | 4741 | }}} |
| 3709 | ||
| 3710 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4742 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3711 | 4743 | }}} |
| 3712 | {{{#!if _ParOpen == -1 | |
| 3713 | {{{#!if Match=true | |
| 4744 | {{{#!if this._ParOpen == -1 | |
| 4745 | {{{#!if this.Match=true | |
| 3714 | 4746 | }}} |
| 3715 | }}}{{{#!if _ParOpen != -1 | |
| 3716 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4747 | }}}{{{#!if this._ParOpen != -1 | |
| 4748 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3717 | 4749 | }}} |
| 3718 | 4750 | }}} |
| 3719 | ||
| 3720 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4751 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3721 | 4752 | }}} |
| 3722 | {{{#!if _ParOpen == -1 | |
| 3723 | {{{#!if Match=true | |
| 4753 | {{{#!if this._ParOpen == -1 | |
| 4754 | {{{#!if this.Match=true | |
| 3724 | 4755 | }}} |
| 3725 | }}}{{{#!if _ParOpen != -1 | |
| 3726 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4756 | }}}{{{#!if this._ParOpen != -1 | |
| 4757 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3727 | 4758 | }}} |
| 3728 | 4759 | }}} |
| 3729 | ||
| 3730 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4760 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3731 | 4761 | }}} |
| 3732 | {{{#!if _ParOpen == -1 | |
| 3733 | {{{#!if Match=true | |
| 4762 | {{{#!if this._ParOpen == -1 | |
| 4763 | {{{#!if this.Match=true | |
| 3734 | 4764 | }}} |
| 3735 | }}}{{{#!if _ParOpen != -1 | |
| 3736 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4765 | }}}{{{#!if this._ParOpen != -1 | |
| 4766 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3737 | 4767 | }}} |
| 3738 | 4768 | }}} |
| 3739 | ||
| 3740 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4769 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3741 | 4770 | }}} |
| 3742 | {{{#!if _ParOpen == -1 | |
| 3743 | {{{#!if Match=true | |
| 4771 | {{{#!if this._ParOpen == -1 | |
| 4772 | {{{#!if this.Match=true | |
| 3744 | 4773 | }}} |
| 3745 | }}}{{{#!if _ParOpen != -1 | |
| 3746 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4774 | }}}{{{#!if this._ParOpen != -1 | |
| 4775 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3747 | 4776 | }}} |
| 3748 | 4777 | }}} |
| 3749 | 4778 | }}} |
| 3750 | ##### | |
| 3751 | {{{#!if Match | |
| 3752 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 3753 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4779 | ##### | |
| 4780 | {{{#!if this.Match | |
| 4781 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4782 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 3754 | 4783 | }}} |
| 3755 | 4784 | }}} |
| 3756 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 3757 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 3758 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 3759 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 4785 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 4786 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4787 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4788 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 3760 | 4789 | }}} |
| 3761 | {{{#!if DarkStyleL==-1 | |
| 3762 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 3763 | ||
| 4790 | {{{#!if this.DarkStyleL==-1 | |
| 4791 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3764 | 4792 | }}}}}} |
| 3765 | {{{#!if DarkStyleL!=-1 | |
| 3766 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 3767 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 4793 | {{{#!if this.DarkStyleL!=-1 | |
| 4794 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4795 | }}}}}} | |
| 4796 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3768 | 4797 | }}} |
| 3769 | 4798 | }}} |
| 3770 | 4799 | }}} |
| 3771 | ||
| 3772 | ||
| 3773 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 3774 | }}}{{{#!if Blank!=-1 | |
| 3775 | {{{#!if Comma != -1 | |
| 3776 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4800 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4801 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4802 | }}}{{{#!if this.Blank!=-1 | |
| 4803 | {{{#!if this.Comma != -1 | |
| 4804 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 3777 | 4805 | }}} |
| 3778 | 4806 | }}} |
| 3779 | {{{#!if Comma == -1 | |
| 3780 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4807 | {{{#!if this.Comma == -1 | |
| 4808 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 3781 | 4809 | }}} |
| 3782 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3783 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4810 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4811 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3784 | 4812 | }}} |
| 3785 | 4813 | }}} |
| 3786 | 4814 | }}} |
| 3787 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 3788 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 3789 | }}}{{{#!if Blank==5 | |
| 3790 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 3791 | }}}{{{#!if Em = Emlist[Size] | |
| 3792 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3793 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4815 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 4816 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4817 | }}}{{{#!if this.Blank==5 | |
| 4818 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4819 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4820 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4821 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3794 | 4822 | }}} |
| 3795 | 4823 | }}} |
| 3796 | 4824 | }}} |
| 3797 | 4825 | }}} |
| 3798 | 4826 | }}} |
| 3799 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 3800 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 3801 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4827 | ##### | |
| 4828 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4829 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4830 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3802 | 4831 | }}} |
| 3803 | {{{#!if _ParOpen == -1 | |
| 3804 | {{{#!if Match=true | |
| 4832 | {{{#!if this._ParOpen == -1 | |
| 4833 | {{{#!if this.Match=true | |
| 3805 | 4834 | }}} |
| 3806 | }}}{{{#!if _ParOpen != -1 | |
| 3807 | {{{#!if ParOpen=_ParOpen | |
| 4835 | }}}{{{#!if this._ParOpen != -1 | |
| 4836 | {{{#!if this.ParOpen=this._ParOpen | |
| 3808 | 4837 | }}} |
| 3809 | 4838 | }}} |
| 3810 | ||
| 3811 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4839 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3812 | 4840 | }}} |
| 3813 | {{{#!if _ParOpen == -1 | |
| 3814 | {{{#!if Match=true | |
| 4841 | {{{#!if this._ParOpen == -1 | |
| 4842 | {{{#!if this.Match=true | |
| 3815 | 4843 | }}} |
| 3816 | }}}{{{#!if _ParOpen != -1 | |
| 3817 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4844 | }}}{{{#!if this._ParOpen != -1 | |
| 4845 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3818 | 4846 | }}} |
| 3819 | 4847 | }}} |
| 3820 | ||
| 3821 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4848 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3822 | 4849 | }}} |
| 3823 | {{{#!if _ParOpen == -1 | |
| 3824 | {{{#!if Match=true | |
| 4850 | {{{#!if this._ParOpen == -1 | |
| 4851 | {{{#!if this.Match=true | |
| 3825 | 4852 | }}} |
| 3826 | }}}{{{#!if _ParOpen != -1 | |
| 3827 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4853 | }}}{{{#!if this._ParOpen != -1 | |
| 4854 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3828 | 4855 | }}} |
| 3829 | 4856 | }}} |
| 3830 | ||
| 3831 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4857 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3832 | 4858 | }}} |
| 3833 | {{{#!if _ParOpen == -1 | |
| 3834 | {{{#!if Match=true | |
| 4859 | {{{#!if this._ParOpen == -1 | |
| 4860 | {{{#!if this.Match=true | |
| 3835 | 4861 | }}} |
| 3836 | }}}{{{#!if _ParOpen != -1 | |
| 3837 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4862 | }}}{{{#!if this._ParOpen != -1 | |
| 4863 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3838 | 4864 | }}} |
| 3839 | 4865 | }}} |
| 3840 | ||
| 3841 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4866 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3842 | 4867 | }}} |
| 3843 | {{{#!if _ParOpen == -1 | |
| 3844 | {{{#!if Match=true | |
| 4868 | {{{#!if this._ParOpen == -1 | |
| 4869 | {{{#!if this.Match=true | |
| 3845 | 4870 | }}} |
| 3846 | }}}{{{#!if _ParOpen != -1 | |
| 3847 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4871 | }}}{{{#!if this._ParOpen != -1 | |
| 4872 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3848 | 4873 | }}} |
| 3849 | 4874 | }}} |
| 3850 | 4875 | }}} |
| 3851 | ##### | |
| 3852 | {{{#!if Match | |
| 3853 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 3854 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4876 | ##### | |
| 4877 | {{{#!if this.Match | |
| 4878 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4879 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 3855 | 4880 | }}} |
| 3856 | 4881 | }}} |
| 3857 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 3858 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 3859 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 3860 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 4882 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 4883 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4884 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4885 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 3861 | 4886 | }}} |
| 3862 | {{{#!if DarkStyleL==-1 | |
| 3863 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 3864 | ||
| 4887 | {{{#!if this.DarkStyleL==-1 | |
| 4888 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3865 | 4889 | }}}}}} |
| 3866 | {{{#!if DarkStyleL!=-1 | |
| 3867 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 3868 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 4890 | {{{#!if this.DarkStyleL!=-1 | |
| 4891 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4892 | }}}}}} | |
| 4893 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3869 | 4894 | }}} |
| 3870 | 4895 | }}} |
| 3871 | 4896 | }}} |
| 3872 | ||
| 3873 | ||
| 3874 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 3875 | }}}{{{#!if Blank!=-1 | |
| 3876 | {{{#!if Comma != -1 | |
| 3877 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4897 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4898 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4899 | }}}{{{#!if this.Blank!=-1 | |
| 4900 | {{{#!if this.Comma != -1 | |
| 4901 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 3878 | 4902 | }}} |
| 3879 | 4903 | }}} |
| 3880 | {{{#!if Comma == -1 | |
| 3881 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4904 | {{{#!if this.Comma == -1 | |
| 4905 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 3882 | 4906 | }}} |
| 3883 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3884 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4907 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4908 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3885 | 4909 | }}} |
| 3886 | 4910 | }}} |
| 3887 | 4911 | }}} |
| 3888 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 3889 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 3890 | }}}{{{#!if Blank==5 | |
| 3891 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 3892 | }}}{{{#!if Em = Emlist[Size] | |
| 3893 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3894 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4912 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 4913 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4914 | }}}{{{#!if this.Blank==5 | |
| 4915 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4916 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4917 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4918 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3895 | 4919 | }}} |
| 3896 | 4920 | }}} |
| 3897 | 4921 | }}} |
| 3898 | 4922 | }}} |
| 3899 | 4923 | }}} |
| 3900 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 3901 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 3902 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4924 | ##### | |
| 4925 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4926 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4927 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3903 | 4928 | }}} |
| 3904 | {{{#!if _ParOpen == -1 | |
| 3905 | {{{#!if Match=true | |
| 4929 | {{{#!if this._ParOpen == -1 | |
| 4930 | {{{#!if this.Match=true | |
| 3906 | 4931 | }}} |
| 3907 | }}}{{{#!if _ParOpen != -1 | |
| 3908 | {{{#!if ParOpen=_ParOpen | |
| 4932 | }}}{{{#!if this._ParOpen != -1 | |
| 4933 | {{{#!if this.ParOpen=this._ParOpen | |
| 3909 | 4934 | }}} |
| 3910 | 4935 | }}} |
| 3911 | ||
| 3912 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4936 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3913 | 4937 | }}} |
| 3914 | {{{#!if _ParOpen == -1 | |
| 3915 | {{{#!if Match=true | |
| 4938 | {{{#!if this._ParOpen == -1 | |
| 4939 | {{{#!if this.Match=true | |
| 3916 | 4940 | }}} |
| 3917 | }}}{{{#!if _ParOpen != -1 | |
| 3918 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4941 | }}}{{{#!if this._ParOpen != -1 | |
| 4942 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3919 | 4943 | }}} |
| 3920 | 4944 | }}} |
| 3921 | ||
| 3922 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4945 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3923 | 4946 | }}} |
| 3924 | {{{#!if _ParOpen == -1 | |
| 3925 | {{{#!if Match=true | |
| 4947 | {{{#!if this._ParOpen == -1 | |
| 4948 | {{{#!if this.Match=true | |
| 3926 | 4949 | }}} |
| 3927 | }}}{{{#!if _ParOpen != -1 | |
| 3928 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4950 | }}}{{{#!if this._ParOpen != -1 | |
| 4951 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3929 | 4952 | }}} |
| 3930 | 4953 | }}} |
| 3931 | ||
| 3932 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 4954 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3933 | 4955 | }}} |
| 3934 | {{{#!if _ParOpen == -1 | |
| 3935 | {{{#!if Match=true | |
| 4956 | {{{#!if this._ParOpen == -1 | |
| 4957 | {{{#!if this.Match=true | |
| 3936 | 4958 | }}} |
| 3937 | }}}{{{#!if _ParOpen != -1 | |
| 3938 | {{{#!if ParOpen+=_ParOpen+3 | |
| 4959 | }}}{{{#!if this._ParOpen != -1 | |
| 4960 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 3939 | 4961 | }}} |
| 3940 | 4962 | }}} |
| 3941 | 4963 | }}} |
| 3942 | ##### | |
| 3943 | {{{#!if Match | |
| 3944 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 3945 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4964 | ##### | |
| 4965 | {{{#!if this.Match | |
| 4966 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4967 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 3946 | 4968 | }}} |
| 3947 | 4969 | }}} |
| 3948 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 3949 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 3950 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 3951 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 4970 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 4971 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4972 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4973 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 3952 | 4974 | }}} |
| 3953 | {{{#!if DarkStyleL==-1 | |
| 3954 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 3955 | ||
| 4975 | {{{#!if this.DarkStyleL==-1 | |
| 4976 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3956 | 4977 | }}}}}} |
| 3957 | {{{#!if DarkStyleL!=-1 | |
| 3958 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 3959 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 4978 | {{{#!if this.DarkStyleL!=-1 | |
| 4979 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4980 | }}}}}} | |
| 4981 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3960 | 4982 | }}} |
| 3961 | 4983 | }}} |
| 3962 | 4984 | }}} |
| 3963 | ||
| 3964 | ||
| 3965 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 3966 | }}}{{{#!if Blank!=-1 | |
| 3967 | {{{#!if Comma != -1 | |
| 3968 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 4985 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 4986 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4987 | }}}{{{#!if this.Blank!=-1 | |
| 4988 | {{{#!if this.Comma != -1 | |
| 4989 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 3969 | 4990 | }}} |
| 3970 | 4991 | }}} |
| 3971 | {{{#!if Comma == -1 | |
| 3972 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 4992 | {{{#!if this.Comma == -1 | |
| 4993 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 3973 | 4994 | }}} |
| 3974 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3975 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 4995 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4996 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3976 | 4997 | }}} |
| 3977 | 4998 | }}} |
| 3978 | 4999 | }}} |
| 3979 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 3980 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 3981 | }}}{{{#!if Blank==5 | |
| 3982 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 3983 | }}}{{{#!if Em = Emlist[Size] | |
| 3984 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 3985 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 5000 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 5001 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5002 | }}}{{{#!if this.Blank==5 | |
| 5003 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5004 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5005 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5006 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 3986 | 5007 | }}} |
| 3987 | 5008 | }}} |
| 3988 | 5009 | }}} |
| 3989 | 5010 | }}} |
| 3990 | 5011 | }}} |
| 3991 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 3992 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 3993 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 5012 | ##### | |
| 5013 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5014 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5015 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 3994 | 5016 | }}} |
| 3995 | {{{#!if _ParOpen == -1 | |
| 3996 | {{{#!if Match=true | |
| 5017 | {{{#!if this._ParOpen == -1 | |
| 5018 | {{{#!if this.Match=true | |
| 3997 | 5019 | }}} |
| 3998 | }}}{{{#!if _ParOpen != -1 | |
| 3999 | {{{#!if ParOpen=_ParOpen | |
| 5020 | }}}{{{#!if this._ParOpen != -1 | |
| 5021 | {{{#!if this.ParOpen=this._ParOpen | |
| 4000 | 5022 | }}} |
| 4001 | 5023 | }}} |
| 4002 | ||
| 4003 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 5024 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 4004 | 5025 | }}} |
| 4005 | {{{#!if _ParOpen == -1 | |
| 4006 | {{{#!if Match=true | |
| 5026 | {{{#!if this._ParOpen == -1 | |
| 5027 | {{{#!if this.Match=true | |
| 4007 | 5028 | }}} |
| 4008 | }}}{{{#!if _ParOpen != -1 | |
| 4009 | {{{#!if ParOpen+=_ParOpen+3 | |
| 5029 | }}}{{{#!if this._ParOpen != -1 | |
| 5030 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 4010 | 5031 | }}} |
| 4011 | 5032 | }}} |
| 4012 | ||
| 4013 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 5033 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 4014 | 5034 | }}} |
| 4015 | {{{#!if _ParOpen == -1 | |
| 4016 | {{{#!if Match=true | |
| 5035 | {{{#!if this._ParOpen == -1 | |
| 5036 | {{{#!if this.Match=true | |
| 4017 | 5037 | }}} |
| 4018 | }}}{{{#!if _ParOpen != -1 | |
| 4019 | {{{#!if ParOpen+=_ParOpen+3 | |
| 5038 | }}}{{{#!if this._ParOpen != -1 | |
| 5039 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 4020 | 5040 | }}} |
| 4021 | 5041 | }}} |
| 4022 | 5042 | }}} |
| 4023 | ######## | |
| 4024 | {{{#!if | |
| 5043 | ##### | |
| 5044 | {{{#!if this.Match | |
| 5045 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5046 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 4025 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 4026 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 4027 | 5047 | }}} |
| 4028 | 5048 | }}} |
| 4029 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 4030 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 4031 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 4032 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 5049 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 5050 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 5051 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5052 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 4033 | 5053 | }}} |
| 4034 | {{{#!if DarkStyleL==-1 | |
| 4035 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 4036 | ||
| 5054 | {{{#!if this.DarkStyleL==-1 | |
| 5055 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 4037 | 5056 | }}}}}} |
| 4038 | {{{#!if DarkStyleL!=-1 | |
| 4039 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 4040 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 5057 | {{{#!if this.DarkStyleL!=-1 | |
| 5058 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 5059 | }}}}}} | |
| 5060 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 4041 | 5061 | }}} |
| 4042 | 5062 | }}} |
| 4043 | 5063 | }}} |
| 4044 | ||
| 4045 | ||
| 4046 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 4047 | }}}{{{#!if Blank!=-1 | |
| 4048 | {{{#!if Comma != -1 | |
| 4049 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 5064 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 5065 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5066 | }}}{{{#!if this.Blank!=-1 | |
| 5067 | {{{#!if this.Comma != -1 | |
| 5068 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 4050 | 5069 | }}} |
| 4051 | 5070 | }}} |
| 4052 | {{{#!if Comma == -1 | |
| 4053 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 5071 | {{{#!if this.Comma == -1 | |
| 5072 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 4054 | 5073 | }}} |
| 4055 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 4056 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 5074 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5075 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 4057 | 5076 | }}} |
| 4058 | 5077 | }}} |
| 4059 | 5078 | }}} |
| 4060 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 4061 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 4062 | }}}{{{#!if Blank==5 | |
| 4063 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 4064 | }}}{{{#!if Em = Emlist[Size] | |
| 4065 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 4066 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 5079 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 5080 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5081 | }}}{{{#!if this.Blank==5 | |
| 5082 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5083 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5084 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5085 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 4067 | 5086 | }}} |
| 4068 | 5087 | }}} |
| 4069 | 5088 | }}} |
| 4070 | 5089 | }}} |
| 4071 | 5090 | }}} |
| 4072 | {{{#!if ParClose=DarkInput.indexOf('\}\}\}'), ParOpen=DarkInput.indexOf('\{\{\{'), Match=false, true | |
| 4073 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen | |
| 4074 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 5091 | ##### | |
| 5092 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5093 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5094 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 4075 | 5095 | }}} |
| 4076 | {{{#!if _ParOpen == -1 | |
| 4077 | {{{#!if Match=true | |
| 5096 | {{{#!if this._ParOpen == -1 | |
| 5097 | {{{#!if this.Match=true | |
| 4078 | 5098 | }}} |
| 4079 | }}}{{{#!if _ParOpen != -1 | |
| 4080 | {{{#!if ParOpen=_ParOpen | |
| 5099 | }}}{{{#!if this._ParOpen != -1 | |
| 5100 | {{{#!if this.ParOpen=this._ParOpen | |
| 4081 | 5101 | }}} |
| 4082 | 5102 | }}} |
| 4083 | ||
| 4084 | {{{#!if _ParOpen = DarkInput.substring(ParOpen+3,ParClose).indexOf('\{\{\{') | |
| 5103 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 4085 | 5104 | }}} |
| 4086 | {{{#!if _ParOpen == -1 | |
| 4087 | {{{#!if Match=true | |
| 5105 | {{{#!if this._ParOpen == -1 | |
| 5106 | {{{#!if this.Match=true | |
| 4088 | 5107 | }}} |
| 4089 | }}}{{{#!if _ParOpen != -1 | |
| 4090 | {{{#!if ParOpen+=_ParOpen+3 | |
| 5108 | }}}{{{#!if this._ParOpen != -1 | |
| 5109 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 4091 | 5110 | }}} |
| 4092 | 5111 | }}} |
| 4093 | 5112 | }}} |
| 4094 | ##### | |
| 4095 | {{{#!if Match | |
| 4096 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!html' | |
| 4097 | {{{#!if DarkInput = DarkInput.substring(0,ParOpen)+DarkInput.substring(ParOpen+9,ParClose).trim()+DarkInput.substr(ParClose+3) | |
| 5113 | ##### | |
| 5114 | {{{#!if this.Match | |
| 5115 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5116 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| 4098 | 5117 | }}} |
| 4099 | 5118 | }}} |
| 4100 | {{{#!if DarkInput.substr(ParOpen, 9) == '\{\{\{#!wiki' | |
| 4101 | {{{#!if BrL = DarkInput.substring(ParOpen,ParClose).indexOf('<br>'), StyleL = DarkInput.substring(ParOpen,ParClose).indexOf('style='), DarkStyleL=DarkInput.substring(ParOpen,ParClose).indexOf('dark-style=') | |
| 4102 | }}}{{{#!if BrL != -1 && StyleL!=-1 | |
| 4103 | {{{#!if Text = DarkInput.substring(ParOpen+BrL+4,ParClose) | |
| 5119 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 5120 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 5121 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5122 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| 4104 | 5123 | }}} |
| 4105 | {{{#!if DarkStyleL==-1 | |
| 4106 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL,BrL- | |
| 4107 | ||
| 5124 | {{{#!if this.DarkStyleL==-1 | |
| 5125 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 4108 | 5126 | }}}}}} |
| 4109 | {{{#!if DarkStyleL!=-1 | |
| 4110 | {{{#!if Style=DarkInput.substr(ParOpen+StyleL, | |
| 4111 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div '+ | |
| 5127 | {{{#!if this.DarkStyleL!=-1 | |
| 5128 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 5129 | }}}}}} | |
| 5130 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 4112 | 5131 | }}} |
| 4113 | 5132 | }}} |
| 4114 | 5133 | }}} |
| 4115 | ||
| 4116 | ||
| 4117 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' '), Comma = DarkInput.substring(ParOpen,ParClose).indexOf(',') | |
| 4118 | }}}{{{#!if Blank!=-1 | |
| 4119 | {{{#!if Comma != -1 | |
| 4120 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Comma-3), DarkColor=DarkInput.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 5134 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 5135 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5136 | }}}{{{#!if this.Blank!=-1 | |
| 5137 | {{{#!if this.Comma != -1 | |
| 5138 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 4121 | 5139 | }}} |
| 4122 | 5140 | }}} |
| 4123 | {{{#!if Comma == -1 | |
| 4124 | {{{#!if WhiteColor=DarkInput.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 5141 | {{{#!if this.Comma == -1 | |
| 5142 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 4125 | 5143 | }}} |
| 4126 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 4127 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; color: '+DarkColor+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 5144 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5145 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 4128 | 5146 | }}} |
| 4129 | 5147 | }}} |
| 4130 | 5148 | }}} |
| 4131 | {{{#!if DarkInput.substr(ParOpen, 4) == '\{\{\{+' || DarkInput.substr(ParOpen, 4) == '\{\{\{-' | |
| 4132 | {{{#!if Blank = DarkInput.substring(ParOpen,ParClose).indexOf(' ') | |
| 4133 | }}}{{{#!if Blank==5 | |
| 4134 | {{{#!if Size=DarkInput.substr(ParOpen+Blank-2, 2) | |
| 4135 | }}}{{{#!if Em = Emlist[Size] | |
| 4136 | }}}{{{#!if Text = DarkInput.substring(ParOpen+Blank,ParClose) | |
| 4137 | }}}{{{#!if DarkInput = DarkInput.substring(0,ParOpen)+'<div style="display: inline; font-size: '+Em+'">'+Text.trim()+'</div>'+DarkInput.substr(ParClose+3) | |
| 5149 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 5150 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5151 | }}}{{{#!if this.Blank==5 | |
| 5152 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5153 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5154 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5155 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| 4138 | 5156 | }}} |
| 4139 | 5157 | }}} |
| 4140 | 5158 | }}} |
| ... | ... |