사용자
nyangx3/연습장(비교)
| r80 vs r81 | ||
|---|---|---|
| ... | ... | |
| 142 | 142 | }}} |
| 143 | 143 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) |
| 144 | 144 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) |
| 145 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 146 | 145 | }}} |
| 147 | 146 | }}} |
| 148 | 147 | }}} |
| ... | ... | |
| 237 | 236 | }}} |
| 238 | 237 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) |
| 239 | 238 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) |
| 240 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 241 | 239 | }}} |
| 242 | 240 | }}} |
| 243 | 241 | }}} |
| ... | ... | |
| 332 | 330 | }}} |
| 333 | 331 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) |
| 334 | 332 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) |
| 335 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 336 | 333 | }}} |
| 337 | 334 | }}} |
| 338 | 335 | }}} |
| ... | ... | |
| 427 | 424 | }}} |
| 428 | 425 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) |
| 429 | 426 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) |
| 430 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 431 | 427 | }}} |
| 432 | 428 | }}} |
| 433 | 429 | }}} |
| ... | ... | |
| 522 | 518 | }}} |
| 523 | 519 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) |
| 524 | 520 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) |
| 525 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 526 | 521 | }}} |
| 527 | 522 | }}} |
| 528 | 523 | }}} |
| ... | ... | |
| 617 | 612 | }}} |
| 618 | 613 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) |
| 619 | 614 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) |
| 620 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 621 | 615 | }}} |
| 622 | 616 | }}} |
| 623 | 617 | }}} |
| ... | ... | |
| 712 | 706 | }}} |
| 713 | 707 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) |
| 714 | 708 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) |
| 715 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 716 | 709 | }}} |
| 717 | 710 | }}} |
| 718 | 711 | }}} |
| ... | ... | |
| 807 | 800 | }}} |
| 808 | 801 | }}}{{{#!if Text = input.substring(ParOpen+Blank,ParClose) |
| 809 | 802 | }}}{{{#!if input = input.substring(0,ParOpen)+'<div style="display: inline; color: '+WhiteColor+'">'+Text.trim()+'</div>'+input.substr(ParClose+3) |
| 810 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 811 | 803 | }}} |
| 812 | 804 | }}} |
| 813 | 805 | }}} |
| ... | ... | |
| 842 | 834 | }}} |
| 843 | 835 | }}} |
| 844 | 836 | }}} |
| 845 | }}}}}}}}}}}} | |
| 837 | }}} | |
| 838 | ##############################################################링크 | |
| 839 | {{{#!if h=null,a=null,b=false,c='#0275d8',d='' | |
| 840 | }}}{{{#!if e=input.indexOf('[['),x=input.indexOf(']]') | |
| 841 | }}}{{{#!if z=input.substring(e,x+2) | |
| 842 | }}}{{{#!if e!=-1&&x!=-1&&e+2<x | |
| 843 | {{{#!if g=z.indexOf('|') | |
| 844 | }}}{{{#!if g==-1 | |
| 845 | {{{#!if h=z.substring(2,z.length-2) | |
| 846 | }}}}}}{{{#!if g!=-1 | |
| 847 | {{{#!if (g==2)&&(g+1==z.length-2) | |
| 848 | {{{#!if b=true,input=input.substring(0,e)+input.substring(x+2) | |
| 849 | }}}}}}{{{#!if (g==2)&&!b | |
| 850 | {{{#!if b=true,h=z.substring(g+1,z.length-2),a=h | |
| 851 | }}}}}}{{{#!if (g+1==z.length-2)&&!b | |
| 852 | {{{#!if b=true,h=z.substring(2,g),a=h | |
| 853 | }}}}}}{{{#!if !b | |
| 854 | {{{#!if h=z.substring(2,g),a=z.substring(g+1,z.length-2) | |
| 855 | }}}}}}}}}{{{#!if isLink=(h.startsWith('https://')||h.startsWith('http://')||h.startsWith('ftp://')),isLink | |
| 856 | {{{#!if c='none',d='asdf' | |
| 857 | }}}}}}{{{#!if isCategory=(h.startsWith('분류:')),isCategory | |
| 858 | }}}{{{#!if !(isCategory||isLink) | |
| 859 | {{{#!if h='https://theseed.io/w/'+h | |
| 860 | }}}}}}{{{#!if input=input.substring(0,e)+'<div style="display:inline-table"><div style="overflow:hidden"><div style="margin-left:-1.2em'+d+'"><a href="'+h+'"><div style="color:'+c+';display:inline">'+a+'</div></a></div></div></div>'+input.substring(x+2) | |
| 861 | }}}}}}########### | |
| 862 | {{{#!if h=null,a=null,b=false,c='#0275d8',d='' | |
| 863 | }}}{{{#!if e=input.indexOf('[['),x=input.indexOf(']]') | |
| 864 | }}}{{{#!if z=input.substring(e,x+2) | |
| 865 | }}}{{{#!if e!=-1&&x!=-1&&e+2<x | |
| 866 | {{{#!if g=z.indexOf('|') | |
| 867 | }}}{{{#!if g==-1 | |
| 868 | {{{#!if h=z.substring(2,z.length-2) | |
| 869 | }}}}}}{{{#!if g!=-1 | |
| 870 | {{{#!if (g==2)&&(g+1==z.length-2) | |
| 871 | {{{#!if b=true,input=input.substring(0,e)+input.substring(x+2) | |
| 872 | }}}}}}{{{#!if (g==2)&&!b | |
| 873 | {{{#!if b=true,h=z.substring(g+1,z.length-2),a=h | |
| 874 | }}}}}}{{{#!if (g+1==z.length-2)&&!b | |
| 875 | {{{#!if b=true,h=z.substring(2,g),a=h | |
| 876 | }}}}}}{{{#!if !b | |
| 877 | {{{#!if h=z.substring(2,g),a=z.substring(g+1,z.length-2) | |
| 878 | }}}}}}}}}{{{#!if isLink=(h.startsWith('https://')||h.startsWith('http://')||h.startsWith('ftp://')),isLink | |
| 879 | {{{#!if c='none',d='asdf' | |
| 880 | }}}}}}{{{#!if isCategory=(h.startsWith('분류:')),isCategory | |
| 881 | }}}{{{#!if !(isCategory||isLink) | |
| 882 | {{{#!if h='https://theseed.io/w/'+h | |
| 883 | }}}}}}{{{#!if input=input.substring(0,e)+'<div style="display:inline-table"><div style="overflow:hidden"><div style="margin-left:-1.2em'+d+'"><a href="'+h+'"><div style="color:'+c+';display:inline">'+a+'</div></a></div></div></div>'+input.substring(x+2) | |
| 884 | }}}}}} | |
| 885 | }}}}}}}}} |