| r2689 vs r2690 | ||
|---|---|---|
| ... | ... | |
| 212 | 212 | |
| 213 | 213 | {{{#!wiki style="display: none" |
| 214 | 214 | {{{#!if input='냥\{\{\{#!html 냥<div style="color: red; display: inline">냥</div>\}\}\}냥\{\{\{#!wiki style="color: blue; display: inline"<br>냥텍스트\}\}\}asdf\{\{\{#;color:red,#f00 asdf\}\}\}' |
| 215 | }}}{{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 215 | }}} | |
| 216 | ############################## | |
| 217 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true | |
| 216 | 218 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen |
| 217 | 219 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') |
| 218 | 220 | }}} |
| ... | ... | |
| 258 | 260 | }}} |
| 259 | 261 | }}} |
| 260 | 262 | }}} |
| 263 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 264 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 265 | }}}{{{#!if Blank!=-1 | |
| 266 | {{{#!if Comma != -1 | |
| 267 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 268 | }}} | |
| 269 | }}} | |
| 270 | {{{#!if Comma == -1 | |
| 271 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 272 | }}} | |
| 273 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 274 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 275 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 276 | }}} | |
| 277 | }}} | |
| 278 | }}} | |
| 261 | 279 | }}} |
| 262 | 280 | }}} |
| 263 | ############################## | |
| 281 | ############################## | |
| 264 | 282 | {{{#!if ParClose=input.indexOf('\}\}\}'), ParOpen=input.indexOf('\{\{\{'), Match=false, true |
| 265 | 283 | {{{#!if ParClose!=-1&&ParOpen!=-1&&ParClose>ParOpen |
| 266 | 284 | {{{#!if _ParOpen = input.substring(ParOpen+3,ParClose).indexOf('\{\{\{') |
| ... | ... | |
| 307 | 325 | }}} |
| 308 | 326 | }}} |
| 309 | 327 | }}} |
| 328 | {{{#!if input.substr(ParOpen, 4) == '\{\{\{#' | |
| 329 | {{{#!if Blank = input.substring(ParOpen,ParClose).indexOf(' '), Comma = input.substring(ParOpen,ParClose).indexOf(',') | |
| 330 | }}}{{{#!if Blank!=-1 | |
| 331 | {{{#!if Comma != -1 | |
| 332 | {{{#!if WhiteColor=input.substr(ParOpen+3,Comma-3), DarkColor=input.substring(ParOpen+Comma+1,ParOpen+Blank) | |
| 333 | }}} | |
| 334 | }}} | |
| 335 | {{{#!if Comma == -1 | |
| 336 | {{{#!if WhiteColor=input.substr(ParOpen+3,Blank-3), DarkColor=WhiteColor | |
| 337 | }}} | |
| 338 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) | |
| 339 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) | |
| 340 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 341 | }}} | |
| 342 | }}} | |
| 343 | }}} | |
| 310 | 344 | }}} |
| 311 | 345 | }}} |
| 312 | 346 | ############################## |
| ... | ... | |
| 371 | 405 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 372 | 406 | }}} |
| 373 | 407 | }}} |
| 374 | @WhiteColor@ @DarkColor@ | |
| 375 | 408 | }}} |
| 376 | 409 | }}} |
| 377 | 410 | }}} |
| ... | ... |