사용자
nyangx3/연습장(r118판 Blame)
| r118 | ||
|---|---|---|
| r94 | 1 | {{{#!if if=='목차' |
| r116 | 2 | {{{#!wiki style="border: 1px solid transparent; background: padding-box linear-gradient(#fff), border-box linear-gradient(75deg, #bfb4b2, #b2b8bf); border-radius: 8px; word-break: keep-all; letter-spacing: -.25px; font: 1em/clamp(1em, 2vw, 1.5em) monospace; font-size: clamp(.75em, 2vw, .9em); font-family: revert" dark-style="background: padding-box linear-gradient(#000), border-box linear-gradient(75deg, #807573, #707780)" |
| 3 | {{{#!wiki style="width: 100%; background: linear-gradient(315deg, transparent 50%, #d61b11 50%), linear-gradient(45deg, transparent 50%, #bd180f 50%); background-size: 21px 26px, 21px 26px; background-position: 90% 0, 90% 0; background-repeat: no-repeat; padding: 6px 10px 9px 2.5px;" | |
| r115 | 4 | {{{#!wiki style="font-size: 1.3em; letter-spacing: -2px; font-weight: 100; text-align: center; margin-bottom: 0px" |
| r94 | 5 | ''CONTENTS''}}}{{{#!wiki style="display:flex; flex-wrap: wrap; justify-content: left" |
| r114 | 6 | {{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" |
| r94 | 7 | {{{#!wiki style="padding: 5px 0 0 20px" |
| r118 | 8 | [[사용자:nyangx3/a#복사 붙여넣기|{{{#!wiki style="display: inline; font-weight: 400" |
| r94 | 9 | 0.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" |
| r114 | 10 | 복사 붙여넣기}}}{{{#!wiki style="padding-left: 15px" |
| r118 | 11 | [[사용자:nyangx3/a#정규식 치환|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 12 | 0.}}}]] 정규식 치환 |
| r118 | 13 | [[사용자:nyangx3/a#Ionicons|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 14 | 1.}}}]] Ionicons |
| 15 | {{{#!wiki style="display: flex" | |
| r94 | 16 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 17 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 |
| 18 | 알트 입력법 | |
| 19 | 폰트}}}}}}}}}}}}}}}{{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" | |
| r94 | 20 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 21 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 22 | 1.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| r114 | 23 | 팁}}}{{{#!wiki style="padding-left: 15px" |
| r94 | 24 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| 25 | 0.}}}]] 단축키 | |
| 26 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| r114 | 27 | 1.}}}]] 문법 |
| r94 | 28 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 29 | 2.}}}]] 토론}}}}}}}}}{{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" |
| r94 | 30 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 31 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 32 | 2.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 33 | 요상한거}}}{{{#!wiki style="padding-left: 15px" | |
| 34 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 35 | 0.}}}]] 계산기 | |
| 36 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| r114 | 37 | 1.}}}]] 나무나무마크 |
| 38 | {{{#!wiki style="display: flex" | |
| 39 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 40 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 | |
| 41 | uuid 판별기 | |
| 42 | 소수 판별기 | |
| 43 | encoder | |
| 44 | rgb to hex}}}}}}}}}}}}}}}{{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" | |
| r94 | 45 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 46 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 47 | 3.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 48 | 예쁜거}}}{{{#!wiki style="padding-left: 15px" | |
| r114 | 49 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| 50 | 0.}}}]] ui(espejo) | |
| 51 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 52 | 1.}}}]] 인별dm | |
| r94 | 53 | {{{#!wiki style="display: flex" |
| 54 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| r114 | 55 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 |
| r94 | 56 | 0.배경 패턴 |
| r114 | 57 | 1.포?스터 |
| 58 | 별자리}}}}}} | |
| r94 | 59 | }}} |
| 60 | }}} | |
| 61 | }}} | |
| 62 | }}} | |
| r114 | 63 | }}} |
| r94 | 64 | }}}}}}{{{#!if if=='문단' |
| r56 | 65 | {{{#!wiki style="margin: 0 0 0 5px" |
| 66 | {{{#!wiki style="display: inline-block" | |
| r59 | 67 | {{{+3 {{{#666 {{{#!html <span style="font-family: Ionicons"></span>}}}}}}{{{#!html }}}{{{#!wiki style="display: inline-block; font-size: 25.63px" |
| 68 | '''[[#@문단번호=0@|@문단번호=0@.]] {{{#373a3c,#ddd @문단명@}}}'''}}}}}}}}}}}}{{{#!wiki style="display: inline-block; font-size: 12px; float: right; margin: -35px 0 0" | |
| 69 | '''[[#@문단번호=0@|[편집\]]]'''}}}{{{#!wiki | |
| r56 | 70 | ---- |
| r93 | 71 | }}}}}}[anchor(0)]{{{#!if if=='계산기' |
| r1 | 72 | {{{#!wiki style="font-weight: 300; font-size: 20px" |
| r61 | 73 | {{{#!if a[0]!=45 |
| r62 | 74 | @a@}}}{{{#!if a[0]==45 |
| 75 | (@a@)}}} {{{#!if f == '+' | |
| r7 | 76 | {{{#!if r =(+a+0.0)+(+b+0.0) |
| r1 | 77 | }}}+}}}{{{#!if f == '-' |
| r7 | 78 | {{{#!if r =(+a+0.0)-(+b+0.0) |
| r1 | 79 | }}}-}}}{{{#!if f == '*' |
| r7 | 80 | {{{#!if r =(+a+0.0)*(+b+0.0) |
| r1 | 81 | }}}×}}}{{{#!if f == '/' |
| r7 | 82 | {{{#!if r =(+a+0.0)/(+b+0.0) |
| r61 | 83 | }}}÷}}} {{{#!if b[0]!=45 |
| 84 | @b@}}}{{{#!if b[0]==45 | |
| 85 | (@b@)}}} = {{{#!if r = r.toString() | |
| r8 | 86 | {{{#!if r.endsWith('0') |
| 87 | {{{#!if r = r.substr(0,r.length-1) | |
| 88 | }}}}}}{{{#!if r.endsWith('0') | |
| 89 | {{{#!if r = r.substr(0,r.length-1) | |
| 90 | }}}}}}{{{#!if r.endsWith('0') | |
| 91 | {{{#!if r = r.substr(0,r.length-1) | |
| 92 | }}}}}}{{{#!if r.endsWith('0') | |
| 93 | {{{#!if r = r.substr(0,r.length-1) | |
| 94 | }}}}}}{{{#!if r.endsWith('0') | |
| 95 | {{{#!if r = r.substr(0,r.length-1) | |
| 96 | }}}}}}{{{#!if r.endsWith('0') | |
| 97 | {{{#!if r = r.substr(0,r.length-1) | |
| r9 | 98 | }}}}}}{{{#!if r.endsWith('.') |
| 99 | {{{#!if r = r.substr(0,r.length-1) | |
| r65 | 100 | }}}}}}}}}{{{#!if r[0]!=45 |
| 101 | @r@}}}{{{#!if r[0]==45 | |
| 102 | (@r@)}}}}}}}}}[anchor(1)]{{{#!if (+if)==4 | |
| r1 | 103 | {{{#!wiki style="margin: 0 0 0 5px" |
| 104 | {{{#!wiki style="display: inline-block" | |
| 105 | {{{+3 {{{#666 {{{#!html <span style="font-family: Ionicons"></span>}}}}}}{{{#!html }}}{{{#!html }}}{{{#!wiki style="display: inline-block; font-size: 25.63px" | |
| 106 | '''[[#1|1.]] {{{#373a3c,#ddd @문단명=가짜 문단@}}}'''}}}}}}}}}}}}{{{#!wiki style="display: inline-block; font-size: 12px; float: right; margin: -35px 0 0" | |
| 107 | '''[[#1|[편집\]]]'''}}}{{{#!wiki | |
| 108 | ---- | |
| 109 | }}}{{{#!wiki | |
| 110 | * '''일반 편집 시 다크 모드 대응 쉽게 하는 법''' | |
| 111 | 최근 화이트 모드 색상만을 지정한 경우 다크 모드에서 적절한 색으로 변경되어 표시되게 바뀌었는데,[[https://board.namu.wiki/b/free/3016057|#]] 이로 인해 표 색상이 의도치 않게 달라져 글자가 보이지 않거나 하는 문제가 발생하기도 한다. 그래서 특정 색상을 그대로 표시되어야만 하는 경우 다크 모드 색상도 지정해 주어야 하는데, 아래는 이를 쉽게 하기 위한 방법이다. 모나코 에디터 단축키에 익숙하다면 쉬울 것이다. | |
| 112 | 1. 편집기에서 Ctrl(Comend)+H 누르면 '찾기/바꾸기' 창이 나오는데, 해당 창의 '찾기' 칸 우측의 '.*' 부분을 클릭하여 활성화한다.([[정규 표현식|정규식]] 모드) | |
| r6 | 113 | 1. 찾기 칸에는 {{{((color=)(#[a-f0-9]{3}|#[a-f0-9]{6}|[a-z]{3,20})(>))|((\{\{\{)(#[a-f0-9]{3}|#[a-f0-9]{6}|#[a-z]{3,20})(\s))}}} 라고 입력하고, 바꾸기 칸에는 {{{$2$6$3$7,$3$7$4$8}}}라고 입력한 뒤 모두 바꾸기를 누른다. |
| r73 | 114 | 1. --하다가 귀찮아져서 프로그램으로 구현하거나 [[나무위키:사용 승인된 봇 계정 목록|봇]]이 편집해주기를 기다린다.(최종점)--}}}[[]] |
| r74 | 115 | * color: var(--espejo-link-color)로 {{{#!wiki style="color: var(--espejo-link-color); display: inline" |
| r75 | 116 | 링크}}} 색을 참조할 수 있다. |
| r82 | 117 | * 편집기에서 문법 하이라이팅 버그가 있을 시, #\#)]를 추가하는 등으로 해결할 수 있다.}}}{{{#!if if='나무나무마크' |
| r77 | 118 | {{{#!wiki style="display: none" |
| r113 | 119 | ################################################################################## 매크로 |
| 120 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 121 | ##)] | |
| 122 | }}}{{{#!if this.MacroOpen!=-1 | |
| 123 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 124 | }}}{{{#!if this.MacroClose!=-1 | |
| 125 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 126 | }}} | |
| 127 | ||
| 128 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 129 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 130 | }}} | |
| 131 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 132 | {{{#!if this.Comma2 == 0 | |
| 133 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 134 | }}} | |
| 135 | }}} | |
| 136 | {{{#!if this.Comma2 != 0 | |
| 137 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 138 | }}} | |
| 139 | }}} | |
| 140 | }}} | |
| 141 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 142 | }}} | |
| 143 | ||
| 144 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 145 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 146 | }}} | |
| 147 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 148 | {{{#!if this.Comma2 == 0 | |
| 149 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 150 | }}} | |
| 151 | }}} | |
| 152 | {{{#!if this.Comma2 != 0 | |
| 153 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 154 | }}} | |
| 155 | }}} | |
| 156 | }}} | |
| 157 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 158 | }}} | |
| 159 | ||
| 160 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 161 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 162 | }}} | |
| 163 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 164 | {{{#!if this.Comma2 == 0 | |
| 165 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 166 | }}} | |
| 167 | }}} | |
| 168 | {{{#!if this.Comma2 != 0 | |
| 169 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 170 | }}} | |
| 171 | }}} | |
| 172 | }}} | |
| 173 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 174 | }}} | |
| 175 | ||
| 176 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 177 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 178 | }}} | |
| 179 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 180 | {{{#!if this.Comma2 == 0 | |
| 181 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 182 | }}} | |
| 183 | }}} | |
| 184 | {{{#!if this.Comma2 != 0 | |
| 185 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 186 | }}} | |
| 187 | }}} | |
| 188 | }}} | |
| 189 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 190 | }}} | |
| 191 | ||
| 192 | {{{#!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) | |
| 193 | }}} | |
| 194 | }}} | |
| 195 | }}} | |
| 196 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 197 | ##)] | |
| 198 | }}}{{{#!if this.MacroOpen!=-1 | |
| 199 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 200 | }}}{{{#!if this.MacroClose!=-1 | |
| 201 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 202 | }}} | |
| 203 | ||
| 204 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 205 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 206 | }}} | |
| 207 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 208 | {{{#!if this.Comma2 == 0 | |
| 209 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 210 | }}} | |
| 211 | }}} | |
| 212 | {{{#!if this.Comma2 != 0 | |
| 213 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 214 | }}} | |
| 215 | }}} | |
| 216 | }}} | |
| 217 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 218 | }}} | |
| 219 | ||
| 220 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 221 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 222 | }}} | |
| 223 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 224 | {{{#!if this.Comma2 == 0 | |
| 225 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 226 | }}} | |
| 227 | }}} | |
| 228 | {{{#!if this.Comma2 != 0 | |
| 229 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 230 | }}} | |
| 231 | }}} | |
| 232 | }}} | |
| 233 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 234 | }}} | |
| 235 | ||
| 236 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 237 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 238 | }}} | |
| 239 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 240 | {{{#!if this.Comma2 == 0 | |
| 241 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 242 | }}} | |
| 243 | }}} | |
| 244 | {{{#!if this.Comma2 != 0 | |
| 245 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 246 | }}} | |
| 247 | }}} | |
| 248 | }}} | |
| 249 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 250 | }}} | |
| 251 | ||
| 252 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 253 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 254 | }}} | |
| 255 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 256 | {{{#!if this.Comma2 == 0 | |
| 257 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 258 | }}} | |
| 259 | }}} | |
| 260 | {{{#!if this.Comma2 != 0 | |
| 261 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 262 | }}} | |
| 263 | }}} | |
| 264 | }}} | |
| 265 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 266 | }}} | |
| 267 | {{{#!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) | |
| 268 | }}} | |
| 269 | }}} | |
| 270 | }}} | |
| 271 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 272 | ##)] | |
| 273 | }}}{{{#!if this.MacroOpen!=-1 | |
| 274 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 275 | }}}{{{#!if this.MacroClose!=-1 | |
| 276 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 277 | }}} | |
| 278 | ||
| 279 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 280 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 281 | }}} | |
| 282 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 283 | {{{#!if this.Comma2 == 0 | |
| 284 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 285 | }}} | |
| 286 | }}} | |
| 287 | {{{#!if this.Comma2 != 0 | |
| 288 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 289 | }}} | |
| 290 | }}} | |
| 291 | }}} | |
| 292 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 293 | }}} | |
| 294 | ||
| 295 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 296 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 297 | }}} | |
| 298 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 299 | {{{#!if this.Comma2 == 0 | |
| 300 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 301 | }}} | |
| 302 | }}} | |
| 303 | {{{#!if this.Comma2 != 0 | |
| 304 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 305 | }}} | |
| 306 | }}} | |
| 307 | }}} | |
| 308 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 309 | }}} | |
| 310 | ||
| 311 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 312 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 313 | }}} | |
| 314 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 315 | {{{#!if this.Comma2 == 0 | |
| 316 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 317 | }}} | |
| 318 | }}} | |
| 319 | {{{#!if this.Comma2 != 0 | |
| 320 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 321 | }}} | |
| 322 | }}} | |
| 323 | }}} | |
| 324 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 325 | }}} | |
| 326 | ||
| 327 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 328 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 329 | }}} | |
| 330 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 331 | {{{#!if this.Comma2 == 0 | |
| 332 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 333 | }}} | |
| 334 | }}} | |
| 335 | {{{#!if this.Comma2 != 0 | |
| 336 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 337 | }}} | |
| 338 | }}} | |
| 339 | }}} | |
| 340 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 341 | }}} | |
| 342 | ||
| 343 | {{{#!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) | |
| 344 | }}} | |
| 345 | }}} | |
| 346 | }}} | |
| 347 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 348 | ##)] | |
| 349 | }}}{{{#!if this.MacroOpen!=-1 | |
| 350 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 351 | }}}{{{#!if this.MacroClose!=-1 | |
| 352 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 353 | }}} | |
| 354 | ||
| 355 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 356 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 357 | }}} | |
| 358 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 359 | {{{#!if this.Comma2 == 0 | |
| 360 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 361 | }}} | |
| 362 | }}} | |
| 363 | {{{#!if this.Comma2 != 0 | |
| 364 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 365 | }}} | |
| 366 | }}} | |
| 367 | }}} | |
| 368 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 369 | }}} | |
| 370 | ||
| 371 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 372 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 373 | }}} | |
| 374 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 375 | {{{#!if this.Comma2 == 0 | |
| 376 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 377 | }}} | |
| 378 | }}} | |
| 379 | {{{#!if this.Comma2 != 0 | |
| 380 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 381 | }}} | |
| 382 | }}} | |
| 383 | }}} | |
| 384 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 385 | }}} | |
| 386 | ||
| 387 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 388 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 389 | }}} | |
| 390 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 391 | {{{#!if this.Comma2 == 0 | |
| 392 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 393 | }}} | |
| 394 | }}} | |
| 395 | {{{#!if this.Comma2 != 0 | |
| 396 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 397 | }}} | |
| 398 | }}} | |
| 399 | }}} | |
| 400 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 401 | }}} | |
| 402 | ||
| 403 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 404 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 405 | }}} | |
| 406 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 407 | {{{#!if this.Comma2 == 0 | |
| 408 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 409 | }}} | |
| 410 | }}} | |
| 411 | {{{#!if this.Comma2 != 0 | |
| 412 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 413 | }}} | |
| 414 | }}} | |
| 415 | }}} | |
| 416 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 417 | }}} | |
| 418 | {{{#!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) | |
| 419 | }}} | |
| 420 | }}} | |
| 421 | }}} | |
| 422 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 423 | ##)] | |
| 424 | }}}{{{#!if this.MacroOpen!=-1 | |
| 425 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 426 | }}}{{{#!if this.MacroClose!=-1 | |
| 427 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 428 | }}} | |
| 429 | ||
| 430 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 431 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 432 | }}} | |
| 433 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 434 | {{{#!if this.Comma2 == 0 | |
| 435 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 436 | }}} | |
| 437 | }}} | |
| 438 | {{{#!if this.Comma2 != 0 | |
| 439 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 440 | }}} | |
| 441 | }}} | |
| 442 | }}} | |
| 443 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 444 | }}} | |
| 445 | ||
| 446 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 447 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 448 | }}} | |
| 449 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 450 | {{{#!if this.Comma2 == 0 | |
| 451 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 452 | }}} | |
| 453 | }}} | |
| 454 | {{{#!if this.Comma2 != 0 | |
| 455 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 456 | }}} | |
| 457 | }}} | |
| 458 | }}} | |
| 459 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 460 | }}} | |
| 461 | ||
| 462 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 463 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 464 | }}} | |
| 465 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 466 | {{{#!if this.Comma2 == 0 | |
| 467 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 468 | }}} | |
| 469 | }}} | |
| 470 | {{{#!if this.Comma2 != 0 | |
| 471 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 472 | }}} | |
| 473 | }}} | |
| 474 | }}} | |
| 475 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 476 | }}} | |
| 477 | ||
| 478 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 479 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 480 | }}} | |
| 481 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 482 | {{{#!if this.Comma2 == 0 | |
| 483 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 484 | }}} | |
| 485 | }}} | |
| 486 | {{{#!if this.Comma2 != 0 | |
| 487 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 488 | }}} | |
| 489 | }}} | |
| 490 | }}} | |
| 491 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 492 | }}} | |
| 493 | ||
| 494 | {{{#!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) | |
| 495 | }}} | |
| 496 | }}} | |
| 497 | }}} | |
| 498 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 499 | ##)] | |
| 500 | }}}{{{#!if this.MacroOpen!=-1 | |
| 501 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 502 | }}}{{{#!if this.MacroClose!=-1 | |
| 503 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 504 | }}} | |
| 505 | ||
| 506 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 507 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 508 | }}} | |
| 509 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 510 | {{{#!if this.Comma2 == 0 | |
| 511 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 512 | }}} | |
| 513 | }}} | |
| 514 | {{{#!if this.Comma2 != 0 | |
| 515 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 516 | }}} | |
| 517 | }}} | |
| 518 | }}} | |
| 519 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 520 | }}} | |
| 521 | ||
| 522 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 523 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 524 | }}} | |
| 525 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 526 | {{{#!if this.Comma2 == 0 | |
| 527 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 528 | }}} | |
| 529 | }}} | |
| 530 | {{{#!if this.Comma2 != 0 | |
| 531 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 532 | }}} | |
| 533 | }}} | |
| 534 | }}} | |
| 535 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 536 | }}} | |
| 537 | ||
| 538 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 539 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 540 | }}} | |
| 541 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 542 | {{{#!if this.Comma2 == 0 | |
| 543 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 544 | }}} | |
| 545 | }}} | |
| 546 | {{{#!if this.Comma2 != 0 | |
| 547 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 548 | }}} | |
| 549 | }}} | |
| 550 | }}} | |
| 551 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 552 | }}} | |
| 553 | ||
| 554 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 555 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 556 | }}} | |
| 557 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 558 | {{{#!if this.Comma2 == 0 | |
| 559 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 560 | }}} | |
| 561 | }}} | |
| 562 | {{{#!if this.Comma2 != 0 | |
| 563 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 564 | }}} | |
| 565 | }}} | |
| 566 | }}} | |
| 567 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 568 | }}} | |
| 569 | {{{#!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) | |
| 570 | }}} | |
| 571 | }}} | |
| 572 | }}} | |
| 573 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 574 | ##)] | |
| 575 | }}}{{{#!if this.MacroOpen!=-1 | |
| 576 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 577 | }}}{{{#!if this.MacroClose!=-1 | |
| 578 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 579 | }}} | |
| 580 | ||
| 581 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 582 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 583 | }}} | |
| 584 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 585 | {{{#!if this.Comma2 == 0 | |
| 586 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 587 | }}} | |
| 588 | }}} | |
| 589 | {{{#!if this.Comma2 != 0 | |
| 590 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 591 | }}} | |
| 592 | }}} | |
| 593 | }}} | |
| 594 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 595 | }}} | |
| 596 | ||
| 597 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 598 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 599 | }}} | |
| 600 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 601 | {{{#!if this.Comma2 == 0 | |
| 602 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 603 | }}} | |
| 604 | }}} | |
| 605 | {{{#!if this.Comma2 != 0 | |
| 606 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 607 | }}} | |
| 608 | }}} | |
| 609 | }}} | |
| 610 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 611 | }}} | |
| 612 | ||
| 613 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 614 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 615 | }}} | |
| 616 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 617 | {{{#!if this.Comma2 == 0 | |
| 618 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 619 | }}} | |
| 620 | }}} | |
| 621 | {{{#!if this.Comma2 != 0 | |
| 622 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 623 | }}} | |
| 624 | }}} | |
| 625 | }}} | |
| 626 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 627 | }}} | |
| 628 | ||
| 629 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 630 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 631 | }}} | |
| 632 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 633 | {{{#!if this.Comma2 == 0 | |
| 634 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 635 | }}} | |
| 636 | }}} | |
| 637 | {{{#!if this.Comma2 != 0 | |
| 638 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 639 | }}} | |
| 640 | }}} | |
| 641 | }}} | |
| 642 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 643 | }}} | |
| 644 | ||
| 645 | {{{#!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) | |
| 646 | }}} | |
| 647 | }}} | |
| 648 | }}} | |
| 649 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 650 | ##)] | |
| 651 | }}}{{{#!if this.MacroOpen!=-1 | |
| 652 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 653 | }}}{{{#!if this.MacroClose!=-1 | |
| 654 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 655 | }}} | |
| 656 | ||
| 657 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 658 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 659 | }}} | |
| 660 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 661 | {{{#!if this.Comma2 == 0 | |
| 662 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 663 | }}} | |
| 664 | }}} | |
| 665 | {{{#!if this.Comma2 != 0 | |
| 666 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 667 | }}} | |
| 668 | }}} | |
| 669 | }}} | |
| 670 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 671 | }}} | |
| 672 | ||
| 673 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 674 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 675 | }}} | |
| 676 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 677 | {{{#!if this.Comma2 == 0 | |
| 678 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 679 | }}} | |
| 680 | }}} | |
| 681 | {{{#!if this.Comma2 != 0 | |
| 682 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 683 | }}} | |
| 684 | }}} | |
| 685 | }}} | |
| 686 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 687 | }}} | |
| 688 | ||
| 689 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 690 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 691 | }}} | |
| 692 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 693 | {{{#!if this.Comma2 == 0 | |
| 694 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 695 | }}} | |
| 696 | }}} | |
| 697 | {{{#!if this.Comma2 != 0 | |
| 698 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 699 | }}} | |
| 700 | }}} | |
| 701 | }}} | |
| 702 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 703 | }}} | |
| 704 | ||
| 705 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 706 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 707 | }}} | |
| 708 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 709 | {{{#!if this.Comma2 == 0 | |
| 710 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 711 | }}} | |
| 712 | }}} | |
| 713 | {{{#!if this.Comma2 != 0 | |
| 714 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 715 | }}} | |
| 716 | }}} | |
| 717 | }}} | |
| 718 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 719 | }}} | |
| 720 | {{{#!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) | |
| 721 | }}} | |
| 722 | }}} | |
| 723 | }}} | |
| 724 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 725 | ##)] | |
| 726 | }}}{{{#!if this.MacroOpen!=-1 | |
| 727 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 728 | }}}{{{#!if this.MacroClose!=-1 | |
| 729 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 730 | }}} | |
| 731 | ||
| 732 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 733 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 734 | }}} | |
| 735 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 736 | {{{#!if this.Comma2 == 0 | |
| 737 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 738 | }}} | |
| 739 | }}} | |
| 740 | {{{#!if this.Comma2 != 0 | |
| 741 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 742 | }}} | |
| 743 | }}} | |
| 744 | }}} | |
| 745 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 746 | }}} | |
| 747 | ||
| 748 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 749 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 750 | }}} | |
| 751 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 752 | {{{#!if this.Comma2 == 0 | |
| 753 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 754 | }}} | |
| 755 | }}} | |
| 756 | {{{#!if this.Comma2 != 0 | |
| 757 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 758 | }}} | |
| 759 | }}} | |
| 760 | }}} | |
| 761 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 762 | }}} | |
| 763 | ||
| 764 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 765 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 766 | }}} | |
| 767 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 768 | {{{#!if this.Comma2 == 0 | |
| 769 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 770 | }}} | |
| 771 | }}} | |
| 772 | {{{#!if this.Comma2 != 0 | |
| 773 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 774 | }}} | |
| 775 | }}} | |
| 776 | }}} | |
| 777 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 778 | }}} | |
| 779 | ||
| 780 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 781 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 782 | }}} | |
| 783 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 784 | {{{#!if this.Comma2 == 0 | |
| 785 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 786 | }}} | |
| 787 | }}} | |
| 788 | {{{#!if this.Comma2 != 0 | |
| 789 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 790 | }}} | |
| 791 | }}} | |
| 792 | }}} | |
| 793 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 794 | }}} | |
| 795 | ||
| 796 | {{{#!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) | |
| 797 | }}} | |
| 798 | }}} | |
| 799 | }}} | |
| 800 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 801 | ##)] | |
| 802 | }}}{{{#!if this.MacroOpen!=-1 | |
| 803 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 804 | }}}{{{#!if this.MacroClose!=-1 | |
| 805 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 806 | }}} | |
| 807 | ||
| 808 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 809 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 810 | }}} | |
| 811 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 812 | {{{#!if this.Comma2 == 0 | |
| 813 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 814 | }}} | |
| 815 | }}} | |
| 816 | {{{#!if this.Comma2 != 0 | |
| 817 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 818 | }}} | |
| 819 | }}} | |
| 820 | }}} | |
| 821 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 822 | }}} | |
| 823 | ||
| 824 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 825 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 826 | }}} | |
| 827 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 828 | {{{#!if this.Comma2 == 0 | |
| 829 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 830 | }}} | |
| 831 | }}} | |
| 832 | {{{#!if this.Comma2 != 0 | |
| 833 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 834 | }}} | |
| 835 | }}} | |
| 836 | }}} | |
| 837 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 838 | }}} | |
| 839 | ||
| 840 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 841 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 842 | }}} | |
| 843 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 844 | {{{#!if this.Comma2 == 0 | |
| 845 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 846 | }}} | |
| 847 | }}} | |
| 848 | {{{#!if this.Comma2 != 0 | |
| 849 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 850 | }}} | |
| 851 | }}} | |
| 852 | }}} | |
| 853 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 854 | }}} | |
| 855 | ||
| 856 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 857 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 858 | }}} | |
| 859 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 860 | {{{#!if this.Comma2 == 0 | |
| 861 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 862 | }}} | |
| 863 | }}} | |
| 864 | {{{#!if this.Comma2 != 0 | |
| 865 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 866 | }}} | |
| 867 | }}} | |
| 868 | }}} | |
| 869 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 870 | }}} | |
| 871 | {{{#!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) | |
| 872 | }}} | |
| 873 | }}} | |
| 874 | }}} | |
| 875 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 876 | }}}{{{#!if this.Macro!=-1 | |
| 877 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 878 | }}}}}} | |
| 879 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 880 | }}}{{{#!if this.Macro!=-1 | |
| 881 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 882 | }}}}}} | |
| 883 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 884 | ##)] | |
| 885 | }}}{{{#!if this.MacroOpen!=-1 | |
| 886 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 887 | }}}{{{#!if this.MacroClose!=-1 | |
| 888 | {{{#!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) | |
| 889 | }}}{{{#!if this.Comma2==-1 | |
| 890 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 891 | }}} | |
| 892 | }}}{{{#!if this.Comma2!=-1 | |
| 893 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 894 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 895 | }}} | |
| 896 | }}} | |
| 897 | {{{#!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) | |
| 898 | }}} | |
| 899 | }}} | |
| 900 | }}} | |
| 901 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 902 | }}}{{{#!if this.Open!=-1 | |
| 903 | {{{#!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) | |
| 904 | }}} | |
| 905 | }}} | |
| 906 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 907 | }}}{{{#!if this.Open!=-1 | |
| 908 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 909 | }}}{{{#!if this.Close!=-1 | |
| 910 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 911 | }}}}}} |
| 912 | }}} | |
| r113 | 913 | ##### |
| 914 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 915 | }}}{{{#!if this.Macro!=-1 | |
| 916 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 917 | }}}}}} | |
| 918 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 919 | }}}{{{#!if this.Macro!=-1 | |
| 920 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 921 | }}}}}} | |
| 922 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 923 | ##)] | |
| 924 | }}}{{{#!if this.MacroOpen!=-1 | |
| 925 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 926 | }}}{{{#!if this.MacroClose!=-1 | |
| 927 | {{{#!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) | |
| 928 | }}}{{{#!if this.Comma2==-1 | |
| 929 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 930 | }}} | |
| 931 | }}}{{{#!if this.Comma2!=-1 | |
| 932 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 933 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 934 | }}} | |
| 935 | }}} | |
| 936 | {{{#!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) | |
| 937 | }}} | |
| 938 | }}} | |
| 939 | }}} | |
| 940 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 941 | }}}{{{#!if this.Open!=-1 | |
| 942 | {{{#!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) | |
| 943 | }}} | |
| 944 | }}} | |
| 945 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 946 | }}}{{{#!if this.Open!=-1 | |
| 947 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 948 | }}}{{{#!if this.Close!=-1 | |
| 949 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 950 | }}}}}} |
| 951 | }}} | |
| r113 | 952 | ##### |
| 953 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 954 | }}}{{{#!if this.Macro!=-1 | |
| 955 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 956 | }}}}}} | |
| 957 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 958 | }}}{{{#!if this.Macro!=-1 | |
| 959 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 960 | }}}}}} | |
| 961 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 962 | ##)] | |
| 963 | }}}{{{#!if this.MacroOpen!=-1 | |
| 964 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 965 | }}}{{{#!if this.MacroClose!=-1 | |
| 966 | {{{#!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) | |
| 967 | }}}{{{#!if this.Comma2==-1 | |
| 968 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 969 | }}} | |
| 970 | }}}{{{#!if this.Comma2!=-1 | |
| 971 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 972 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 973 | }}} | |
| 974 | }}} | |
| 975 | {{{#!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) | |
| 976 | }}} | |
| 977 | }}} | |
| 978 | }}} | |
| 979 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 980 | }}}{{{#!if this.Open!=-1 | |
| 981 | {{{#!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) | |
| 982 | }}} | |
| 983 | }}} | |
| 984 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 985 | }}}{{{#!if this.Open!=-1 | |
| 986 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 987 | }}}{{{#!if this.Close!=-1 | |
| 988 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 989 | }}}}}} |
| 990 | }}} | |
| r113 | 991 | ##### |
| 992 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 993 | }}}{{{#!if this.Macro!=-1 | |
| 994 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 995 | }}}}}} | |
| 996 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 997 | }}}{{{#!if this.Macro!=-1 | |
| 998 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 999 | }}}}}} | |
| 1000 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1001 | ##)] | |
| 1002 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1003 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1004 | }}}{{{#!if this.MacroClose!=-1 | |
| 1005 | {{{#!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) | |
| 1006 | }}}{{{#!if this.Comma2==-1 | |
| 1007 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1008 | }}} | |
| 1009 | }}}{{{#!if this.Comma2!=-1 | |
| 1010 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1011 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1012 | }}} | |
| 1013 | }}} | |
| 1014 | {{{#!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) | |
| 1015 | }}} | |
| 1016 | }}} | |
| 1017 | }}} | |
| 1018 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1019 | }}}{{{#!if this.Open!=-1 | |
| 1020 | {{{#!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) | |
| 1021 | }}} | |
| 1022 | }}} | |
| 1023 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1024 | }}}{{{#!if this.Open!=-1 | |
| 1025 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1026 | }}}{{{#!if this.Close!=-1 | |
| 1027 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1028 | }}}}}} |
| 1029 | }}} | |
| r113 | 1030 | ##### |
| 1031 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1032 | }}}{{{#!if this.Macro!=-1 | |
| 1033 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1034 | }}}}}} | |
| 1035 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1036 | }}}{{{#!if this.Macro!=-1 | |
| 1037 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1038 | }}}}}} | |
| 1039 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1040 | ##)] | |
| 1041 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1042 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1043 | }}}{{{#!if this.MacroClose!=-1 | |
| 1044 | {{{#!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) | |
| 1045 | }}}{{{#!if this.Comma2==-1 | |
| 1046 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1047 | }}} | |
| 1048 | }}}{{{#!if this.Comma2!=-1 | |
| 1049 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1050 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1051 | }}} | |
| 1052 | }}} | |
| 1053 | {{{#!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) | |
| 1054 | }}} | |
| 1055 | }}} | |
| 1056 | }}} | |
| 1057 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1058 | }}}{{{#!if this.Open!=-1 | |
| 1059 | {{{#!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) | |
| 1060 | }}} | |
| 1061 | }}} | |
| 1062 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1063 | }}}{{{#!if this.Open!=-1 | |
| 1064 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1065 | }}}{{{#!if this.Close!=-1 | |
| 1066 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1067 | }}}}}} |
| 1068 | }}} | |
| r113 | 1069 | ##### |
| 1070 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1071 | }}}{{{#!if this.Macro!=-1 | |
| 1072 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1073 | }}}}}} | |
| 1074 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1075 | }}}{{{#!if this.Macro!=-1 | |
| 1076 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1077 | }}}}}} | |
| 1078 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1079 | ##)] | |
| 1080 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1081 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1082 | }}}{{{#!if this.MacroClose!=-1 | |
| 1083 | {{{#!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) | |
| 1084 | }}}{{{#!if this.Comma2==-1 | |
| 1085 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1086 | }}} | |
| 1087 | }}}{{{#!if this.Comma2!=-1 | |
| 1088 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1089 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1090 | }}} | |
| 1091 | }}} | |
| 1092 | {{{#!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) | |
| 1093 | }}} | |
| 1094 | }}} | |
| 1095 | }}} | |
| 1096 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1097 | }}}{{{#!if this.Open!=-1 | |
| 1098 | {{{#!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) | |
| 1099 | }}} | |
| 1100 | }}} | |
| 1101 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1102 | }}}{{{#!if this.Open!=-1 | |
| 1103 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1104 | }}}{{{#!if this.Close!=-1 | |
| 1105 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1106 | }}}}}} |
| 1107 | }}} | |
| r113 | 1108 | ################################################################################## 기본 |
| 1109 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1110 | }}}{{{#!if this.Open!=-1 | |
| 1111 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1112 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1113 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1114 | }}}}}} | |
| 1115 | }}} | |
| 1116 | ##### | |
| 1117 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1118 | }}}{{{#!if this.Open!=-1 | |
| 1119 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1120 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1121 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1122 | }}}}}} | |
| 1123 | }}} | |
| 1124 | ##### | |
| 1125 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1126 | }}}{{{#!if this.Open!=-1 | |
| 1127 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1128 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1129 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1130 | }}}}}} | |
| 1131 | }}} | |
| 1132 | ##### | |
| 1133 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1134 | }}}{{{#!if this.Open!=-1 | |
| 1135 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1136 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1137 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1138 | }}}}}} | |
| 1139 | }}} | |
| 1140 | ##### | |
| 1141 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1142 | }}}{{{#!if this.Open!=-1 | |
| 1143 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1144 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1145 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1146 | }}}}}} | |
| 1147 | }}} | |
| 1148 | ##### | |
| 1149 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1150 | }}}{{{#!if this.Open!=-1 | |
| 1151 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1152 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1153 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1154 | }}}}}} | |
| 1155 | }}} | |
| 1156 | ##### | |
| 1157 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1158 | }}}{{{#!if this.Open!=-1 | |
| 1159 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1160 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1161 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1162 | }}}}}} | |
| 1163 | }}} | |
| 1164 | ##### | |
| 1165 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1166 | }}}{{{#!if this.Open!=-1 | |
| 1167 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1168 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1169 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1170 | }}}}}} | |
| 1171 | }}} | |
| 1172 | ##### | |
| 1173 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1174 | }}}{{{#!if this.Open!=-1 | |
| 1175 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1176 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1177 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1178 | }}}}}} | |
| 1179 | }}} | |
| 1180 | ##### | |
| 1181 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1182 | }}}{{{#!if this.Open!=-1 | |
| 1183 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1184 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1185 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1186 | }}}}}} | |
| 1187 | }}} | |
| 1188 | ##### | |
| 1189 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1190 | }}}{{{#!if this.Open!=-1 | |
| 1191 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1192 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1193 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1194 | }}}}}} | |
| 1195 | }}} | |
| 1196 | ##### | |
| 1197 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1198 | }}}{{{#!if this.Open!=-1 | |
| 1199 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1200 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1201 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1202 | }}}}}} | |
| 1203 | }}} | |
| 1204 | ##### | |
| 1205 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1206 | }}}{{{#!if this.Open!=-1 | |
| 1207 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1208 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1209 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1210 | }}}}}} | |
| 1211 | }}} | |
| 1212 | ##### | |
| 1213 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1214 | }}}{{{#!if this.Open!=-1 | |
| 1215 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1216 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1217 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1218 | }}}}}} | |
| 1219 | }}} | |
| 1220 | ##### | |
| 1221 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1222 | }}}{{{#!if this.Open!=-1 | |
| 1223 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1224 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1225 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1226 | }}}}}} | |
| 1227 | }}} | |
| 1228 | ##### | |
| 1229 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1230 | }}}{{{#!if this.Open!=-1 | |
| 1231 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1232 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1233 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1234 | }}}}}} | |
| 1235 | }}} | |
| 1236 | ##### | |
| 1237 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1238 | }}}{{{#!if this.Open!=-1 | |
| 1239 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1240 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1241 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1242 | }}}}}} | |
| 1243 | }}} | |
| 1244 | ##### | |
| 1245 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1246 | }}}{{{#!if this.Open!=-1 | |
| 1247 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1248 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1249 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1250 | }}}}}} | |
| 1251 | }}} | |
| 1252 | ##### | |
| 1253 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1254 | }}}{{{#!if this.Open!=-1 | |
| 1255 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1256 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1257 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1258 | }}}}}} | |
| 1259 | }}} | |
| 1260 | ##### | |
| 1261 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1262 | }}}{{{#!if this.Open!=-1 | |
| 1263 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1264 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1265 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1266 | }}}}}} | |
| 1267 | }}} | |
| 1268 | ##### | |
| 1269 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1270 | }}}{{{#!if this.Open!=-1 | |
| 1271 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1272 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1273 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1274 | }}}}}} | |
| 1275 | }}} | |
| 1276 | ##### | |
| 1277 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1278 | }}}{{{#!if this.Open!=-1 | |
| 1279 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1280 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1281 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1282 | }}}}}} | |
| 1283 | }}} | |
| 1284 | ##### | |
| 1285 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1286 | }}}{{{#!if this.Open!=-1 | |
| 1287 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1288 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1289 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1290 | }}}}}} | |
| 1291 | }}} | |
| 1292 | ##### | |
| 1293 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1294 | }}}{{{#!if this.Open!=-1 | |
| 1295 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1296 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1297 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1298 | }}}}}} | |
| 1299 | }}} | |
| 1300 | ##### | |
| 1301 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1302 | }}}{{{#!if this.Open!=-1 | |
| 1303 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1304 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1305 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1306 | }}}}}} | |
| 1307 | }}} | |
| 1308 | ##### | |
| 1309 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1310 | }}}{{{#!if this.Open!=-1 | |
| 1311 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1312 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1313 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1314 | }}}}}} | |
| 1315 | }}} | |
| 1316 | ##### | |
| 1317 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1318 | }}}{{{#!if this.Open!=-1 | |
| 1319 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1320 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1321 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1322 | }}}}}} | |
| 1323 | }}} | |
| 1324 | ##### | |
| 1325 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1326 | }}}{{{#!if this.Open!=-1 | |
| 1327 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1328 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1329 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1330 | }}}}}} | |
| 1331 | }}} | |
| 1332 | ##### | |
| 1333 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1334 | }}}{{{#!if this.Open!=-1 | |
| 1335 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1336 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1337 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1338 | }}}}}} | |
| 1339 | }}} | |
| 1340 | ##### | |
| 1341 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1342 | }}}{{{#!if this.Open!=-1 | |
| 1343 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1344 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1345 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1346 | }}}}}} | |
| 1347 | }}} | |
| r105 | 1348 | ################################################################################## 링크 |
| r113 | 1349 | {{{#!if this.DarkInput=this.input |
| r105 | 1350 | }}} |
| r113 | 1351 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' |
| 1352 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1353 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1354 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1355 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1356 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1357 | }}}{{{#!if this.divider == -1 | |
| r96 | 1358 | ##[[링크]] |
| r113 | 1359 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1360 | }}} |
| r113 | 1361 | }}}{{{#!if this.divider != -1 |
| 1362 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1363 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1364 | ##[[|]] > 출력 x |
| 1365 | }}} | |
| 1366 | }}} | |
| r113 | 1367 | {{{#!if (this.divider == 2) && !this.break |
| 1368 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1369 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1370 | }}} | |
| 1371 | }}} | |
| r113 | 1372 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1373 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1374 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1375 | }}} |
| 1376 | }}} | |
| r113 | 1377 | {{{#!if !this.break |
| 1378 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1379 | }}} |
| 1380 | }}} | |
| 1381 | }}} | |
| r113 | 1382 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1383 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1384 | }}} |
| r113 | 1385 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1386 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1387 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1388 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1389 | }}} |
| r113 | 1390 | }}}{{{#!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) |
| 1391 | }}}{{{#!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) | |
| r96 | 1392 | }}} |
| 1393 | }}} | |
| r113 | 1394 | ##### |
| 1395 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1396 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1397 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1398 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1399 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1400 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1401 | }}}{{{#!if this.divider == -1 | |
| r96 | 1402 | ##[[링크]] |
| r113 | 1403 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1404 | }}} |
| r113 | 1405 | }}}{{{#!if this.divider != -1 |
| 1406 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1407 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1408 | ##[[|]] > 출력 x |
| 1409 | }}} | |
| 1410 | }}} | |
| r113 | 1411 | {{{#!if (this.divider == 2) && !this.break |
| 1412 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1413 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1414 | }}} | |
| 1415 | }}} | |
| r113 | 1416 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1417 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1418 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1419 | }}} |
| 1420 | }}} | |
| r113 | 1421 | {{{#!if !this.break |
| 1422 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1423 | }}} |
| 1424 | }}} | |
| 1425 | }}} | |
| r113 | 1426 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1427 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1428 | }}} |
| r113 | 1429 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1430 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1431 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1432 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1433 | }}} |
| r113 | 1434 | }}}{{{#!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) |
| 1435 | }}}{{{#!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) | |
| r96 | 1436 | }}} |
| 1437 | }}} | |
| r113 | 1438 | ##### |
| 1439 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1440 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1441 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1442 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1443 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1444 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1445 | }}}{{{#!if this.divider == -1 | |
| r96 | 1446 | ##[[링크]] |
| r113 | 1447 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1448 | }}} |
| r113 | 1449 | }}}{{{#!if this.divider != -1 |
| 1450 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1451 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1452 | ##[[|]] > 출력 x |
| 1453 | }}} | |
| 1454 | }}} | |
| r113 | 1455 | {{{#!if (this.divider == 2) && !this.break |
| 1456 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1457 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1458 | }}} | |
| 1459 | }}} | |
| r113 | 1460 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1461 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1462 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1463 | }}} |
| 1464 | }}} | |
| r113 | 1465 | {{{#!if !this.break |
| 1466 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1467 | }}} |
| 1468 | }}} | |
| 1469 | }}} | |
| r113 | 1470 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1471 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1472 | }}} |
| r113 | 1473 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1474 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1475 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1476 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1477 | }}} |
| r113 | 1478 | }}}{{{#!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) |
| 1479 | }}}{{{#!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) | |
| r96 | 1480 | }}} |
| 1481 | }}} | |
| r113 | 1482 | ##### |
| 1483 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1484 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1485 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1486 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1487 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1488 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1489 | }}}{{{#!if this.divider == -1 | |
| r96 | 1490 | ##[[링크]] |
| r113 | 1491 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1492 | }}} |
| r113 | 1493 | }}}{{{#!if this.divider != -1 |
| 1494 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1495 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1496 | ##[[|]] > 출력 x |
| 1497 | }}} | |
| 1498 | }}} | |
| r113 | 1499 | {{{#!if (this.divider == 2) && !this.break |
| 1500 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1501 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1502 | }}} | |
| 1503 | }}} | |
| r113 | 1504 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1505 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1506 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1507 | }}} |
| 1508 | }}} | |
| r113 | 1509 | {{{#!if !this.break |
| 1510 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1511 | }}} |
| 1512 | }}} | |
| 1513 | }}} | |
| r113 | 1514 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1515 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1516 | }}} |
| r113 | 1517 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1518 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1519 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1520 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1521 | }}} |
| r113 | 1522 | }}}{{{#!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) |
| 1523 | }}}{{{#!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) | |
| r96 | 1524 | }}} |
| 1525 | }}} | |
| r113 | 1526 | ##### |
| 1527 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1528 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1529 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1530 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1531 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1532 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1533 | }}}{{{#!if this.divider == -1 | |
| r96 | 1534 | ##[[링크]] |
| r113 | 1535 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1536 | }}} |
| r113 | 1537 | }}}{{{#!if this.divider != -1 |
| 1538 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1539 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1540 | ##[[|]] > 출력 x |
| 1541 | }}} | |
| 1542 | }}} | |
| r113 | 1543 | {{{#!if (this.divider == 2) && !this.break |
| 1544 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1545 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1546 | }}} | |
| 1547 | }}} | |
| r113 | 1548 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1549 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1550 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1551 | }}} |
| 1552 | }}} | |
| r113 | 1553 | {{{#!if !this.break |
| 1554 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1555 | }}} |
| 1556 | }}} | |
| 1557 | }}} | |
| r113 | 1558 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1559 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1560 | }}} |
| r113 | 1561 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1562 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1563 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1564 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1565 | }}} |
| r113 | 1566 | }}}{{{#!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) |
| 1567 | }}}{{{#!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) | |
| r96 | 1568 | }}} |
| 1569 | }}} | |
| r113 | 1570 | {{{#!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'} |
| r95 | 1571 | }}} |
| r113 | 1572 | ####################################################################################################################################### 중괄호사용 |
| 1573 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1574 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1575 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 1576 | }}} |
| r113 | 1577 | {{{#!if this._ParOpen == -1 |
| 1578 | {{{#!if this.Match=true | |
| r77 | 1579 | }}} |
| r113 | 1580 | }}}{{{#!if this._ParOpen != -1 |
| 1581 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 1582 | }}} |
| 1583 | }}} | |
| r113 | 1584 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1585 | }}} |
| r113 | 1586 | {{{#!if this._ParOpen == -1 |
| 1587 | {{{#!if this.Match=true | |
| r77 | 1588 | }}} |
| r113 | 1589 | }}}{{{#!if this._ParOpen != -1 |
| 1590 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1591 | }}} |
| 1592 | }}} | |
| r113 | 1593 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1594 | }}} |
| r113 | 1595 | {{{#!if this._ParOpen == -1 |
| 1596 | {{{#!if this.Match=true | |
| r77 | 1597 | }}} |
| r113 | 1598 | }}}{{{#!if this._ParOpen != -1 |
| 1599 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1600 | }}} |
| 1601 | }}} | |
| r113 | 1602 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1603 | }}} |
| r113 | 1604 | {{{#!if this._ParOpen == -1 |
| 1605 | {{{#!if this.Match=true | |
| r85 | 1606 | }}} |
| r113 | 1607 | }}}{{{#!if this._ParOpen != -1 |
| 1608 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1609 | }}} |
| 1610 | }}} | |
| r113 | 1611 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1612 | }}} |
| r113 | 1613 | {{{#!if this._ParOpen == -1 |
| 1614 | {{{#!if this.Match=true | |
| r85 | 1615 | }}} |
| r113 | 1616 | }}}{{{#!if this._ParOpen != -1 |
| 1617 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1618 | }}} |
| 1619 | }}} | |
| r113 | 1620 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1621 | }}} |
| r113 | 1622 | {{{#!if this._ParOpen == -1 |
| 1623 | {{{#!if this.Match=true | |
| r85 | 1624 | }}} |
| r113 | 1625 | }}}{{{#!if this._ParOpen != -1 |
| 1626 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1627 | }}} |
| 1628 | }}} | |
| r113 | 1629 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1630 | }}} |
| r113 | 1631 | {{{#!if this._ParOpen == -1 |
| 1632 | {{{#!if this.Match=true | |
| r85 | 1633 | }}} |
| r113 | 1634 | }}}{{{#!if this._ParOpen != -1 |
| 1635 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1636 | }}} |
| 1637 | }}} | |
| 1638 | }}} | |
| r113 | 1639 | ##### |
| 1640 | {{{#!if this.Match | |
| 1641 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1642 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 1643 | }}} |
| 1644 | }}} | |
| r113 | 1645 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1646 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1647 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1648 | {{{#!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) | |
| 1649 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1650 | }}} |
| 1651 | }}} | |
| 1652 | }}} | |
| r113 | 1653 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1654 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1655 | }}}{{{#!if this.Blank!=-1 | |
| 1656 | {{{#!if this.Comma != -1 | |
| 1657 | {{{#!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) | |
| r77 | 1658 | }}} |
| 1659 | }}} | |
| r113 | 1660 | {{{#!if this.Comma == -1 |
| 1661 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 1662 | }}} |
| r113 | 1663 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1664 | }}}{{{#!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) | |
| r85 | 1665 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 1666 | }}} |
| 1667 | }}} | |
| 1668 | }}} | |
| r113 | 1669 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1670 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1671 | }}}{{{#!if this.Blank==5 | |
| 1672 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1673 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1674 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1675 | }}}{{{#!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) | |
| r95 | 1676 | }}} |
| 1677 | }}} | |
| 1678 | }}} | |
| 1679 | }}} | |
| 1680 | }}} | |
| r113 | 1681 | ##### |
| 1682 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1683 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1684 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 1685 | }}} |
| r113 | 1686 | {{{#!if this._ParOpen == -1 |
| 1687 | {{{#!if this.Match=true | |
| r95 | 1688 | }}} |
| r113 | 1689 | }}}{{{#!if this._ParOpen != -1 |
| 1690 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 1691 | }}} |
| 1692 | }}} | |
| r113 | 1693 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1694 | }}} |
| r113 | 1695 | {{{#!if this._ParOpen == -1 |
| 1696 | {{{#!if this.Match=true | |
| r95 | 1697 | }}} |
| r113 | 1698 | }}}{{{#!if this._ParOpen != -1 |
| 1699 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1700 | }}} |
| 1701 | }}} | |
| r113 | 1702 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1703 | }}} |
| r113 | 1704 | {{{#!if this._ParOpen == -1 |
| 1705 | {{{#!if this.Match=true | |
| r95 | 1706 | }}} |
| r113 | 1707 | }}}{{{#!if this._ParOpen != -1 |
| 1708 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1709 | }}} |
| 1710 | }}} | |
| r113 | 1711 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1712 | }}} |
| r113 | 1713 | {{{#!if this._ParOpen == -1 |
| 1714 | {{{#!if this.Match=true | |
| r95 | 1715 | }}} |
| r113 | 1716 | }}}{{{#!if this._ParOpen != -1 |
| 1717 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1718 | }}} |
| 1719 | }}} | |
| r113 | 1720 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1721 | }}} |
| r113 | 1722 | {{{#!if this._ParOpen == -1 |
| 1723 | {{{#!if this.Match=true | |
| r95 | 1724 | }}} |
| r113 | 1725 | }}}{{{#!if this._ParOpen != -1 |
| 1726 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1727 | }}} |
| 1728 | }}} | |
| r113 | 1729 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1730 | }}} |
| r113 | 1731 | {{{#!if this._ParOpen == -1 |
| 1732 | {{{#!if this.Match=true | |
| r95 | 1733 | }}} |
| r113 | 1734 | }}}{{{#!if this._ParOpen != -1 |
| 1735 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1736 | }}} |
| 1737 | }}} | |
| r113 | 1738 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1739 | }}} |
| r113 | 1740 | {{{#!if this._ParOpen == -1 |
| 1741 | {{{#!if this.Match=true | |
| r95 | 1742 | }}} |
| r113 | 1743 | }}}{{{#!if this._ParOpen != -1 |
| 1744 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1745 | }}} |
| 1746 | }}} | |
| 1747 | }}} | |
| r113 | 1748 | ##### |
| 1749 | {{{#!if this.Match | |
| 1750 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1751 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 1752 | }}} |
| r95 | 1753 | }}} |
| r113 | 1754 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1755 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1756 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1757 | {{{#!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) | |
| 1758 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1759 | }}} |
| 1760 | }}} | |
| 1761 | }}} | |
| r113 | 1762 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1763 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1764 | }}}{{{#!if this.Blank!=-1 | |
| 1765 | {{{#!if this.Comma != -1 | |
| 1766 | {{{#!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) | |
| r95 | 1767 | }}} |
| 1768 | }}} | |
| r113 | 1769 | {{{#!if this.Comma == -1 |
| 1770 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 1771 | }}} |
| r113 | 1772 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1773 | }}}{{{#!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) | |
| r95 | 1774 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1775 | }}} | |
| 1776 | }}} | |
| 1777 | }}} | |
| r113 | 1778 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1779 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1780 | }}}{{{#!if this.Blank==5 | |
| 1781 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1782 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1783 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1784 | }}}{{{#!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) | |
| r77 | 1785 | }}} |
| 1786 | }}} | |
| 1787 | }}} | |
| 1788 | }}} | |
| r85 | 1789 | }}} |
| r113 | 1790 | ##### |
| 1791 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1792 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1793 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 1794 | }}} |
| r113 | 1795 | {{{#!if this._ParOpen == -1 |
| 1796 | {{{#!if this.Match=true | |
| r77 | 1797 | }}} |
| r113 | 1798 | }}}{{{#!if this._ParOpen != -1 |
| 1799 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 1800 | }}} |
| 1801 | }}} | |
| r113 | 1802 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1803 | }}} |
| r113 | 1804 | {{{#!if this._ParOpen == -1 |
| 1805 | {{{#!if this.Match=true | |
| r77 | 1806 | }}} |
| r113 | 1807 | }}}{{{#!if this._ParOpen != -1 |
| 1808 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1809 | }}} |
| 1810 | }}} | |
| r113 | 1811 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1812 | }}} |
| r113 | 1813 | {{{#!if this._ParOpen == -1 |
| 1814 | {{{#!if this.Match=true | |
| r77 | 1815 | }}} |
| r113 | 1816 | }}}{{{#!if this._ParOpen != -1 |
| 1817 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1818 | }}} |
| 1819 | }}} | |
| r113 | 1820 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1821 | }}} |
| r113 | 1822 | {{{#!if this._ParOpen == -1 |
| 1823 | {{{#!if this.Match=true | |
| r85 | 1824 | }}} |
| r113 | 1825 | }}}{{{#!if this._ParOpen != -1 |
| 1826 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1827 | }}} |
| 1828 | }}} | |
| r113 | 1829 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1830 | }}} |
| r113 | 1831 | {{{#!if this._ParOpen == -1 |
| 1832 | {{{#!if this.Match=true | |
| r85 | 1833 | }}} |
| r113 | 1834 | }}}{{{#!if this._ParOpen != -1 |
| 1835 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1836 | }}} |
| 1837 | }}} | |
| r113 | 1838 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1839 | }}} |
| r113 | 1840 | {{{#!if this._ParOpen == -1 |
| 1841 | {{{#!if this.Match=true | |
| r85 | 1842 | }}} |
| r113 | 1843 | }}}{{{#!if this._ParOpen != -1 |
| 1844 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1845 | }}} |
| 1846 | }}} | |
| r113 | 1847 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1848 | }}} |
| r113 | 1849 | {{{#!if this._ParOpen == -1 |
| 1850 | {{{#!if this.Match=true | |
| r85 | 1851 | }}} |
| r113 | 1852 | }}}{{{#!if this._ParOpen != -1 |
| 1853 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1854 | }}} |
| 1855 | }}} | |
| 1856 | }}} | |
| r113 | 1857 | ##### |
| 1858 | {{{#!if this.Match | |
| 1859 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1860 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 1861 | }}} |
| 1862 | }}} | |
| r113 | 1863 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1864 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1865 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1866 | {{{#!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) | |
| 1867 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1868 | }}} |
| 1869 | }}} | |
| 1870 | }}} | |
| r113 | 1871 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1872 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1873 | }}}{{{#!if this.Blank!=-1 | |
| 1874 | {{{#!if this.Comma != -1 | |
| 1875 | {{{#!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) | |
| r77 | 1876 | }}} |
| 1877 | }}} | |
| r113 | 1878 | {{{#!if this.Comma == -1 |
| 1879 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 1880 | }}} |
| r113 | 1881 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1882 | }}}{{{#!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) | |
| r85 | 1883 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 1884 | }}} |
| 1885 | }}} | |
| 1886 | }}} | |
| r113 | 1887 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1888 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1889 | }}}{{{#!if this.Blank==5 | |
| 1890 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1891 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1892 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1893 | }}}{{{#!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) | |
| r95 | 1894 | }}} |
| 1895 | }}} | |
| 1896 | }}} | |
| 1897 | }}} | |
| 1898 | }}} | |
| r113 | 1899 | ##### |
| 1900 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1901 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1902 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 1903 | }}} |
| r113 | 1904 | {{{#!if this._ParOpen == -1 |
| 1905 | {{{#!if this.Match=true | |
| r95 | 1906 | }}} |
| r113 | 1907 | }}}{{{#!if this._ParOpen != -1 |
| 1908 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 1909 | }}} |
| 1910 | }}} | |
| r113 | 1911 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1912 | }}} |
| r113 | 1913 | {{{#!if this._ParOpen == -1 |
| 1914 | {{{#!if this.Match=true | |
| r95 | 1915 | }}} |
| r113 | 1916 | }}}{{{#!if this._ParOpen != -1 |
| 1917 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1918 | }}} |
| 1919 | }}} | |
| r113 | 1920 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1921 | }}} |
| r113 | 1922 | {{{#!if this._ParOpen == -1 |
| 1923 | {{{#!if this.Match=true | |
| r95 | 1924 | }}} |
| r113 | 1925 | }}}{{{#!if this._ParOpen != -1 |
| 1926 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1927 | }}} |
| 1928 | }}} | |
| r113 | 1929 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1930 | }}} |
| r113 | 1931 | {{{#!if this._ParOpen == -1 |
| 1932 | {{{#!if this.Match=true | |
| r95 | 1933 | }}} |
| r113 | 1934 | }}}{{{#!if this._ParOpen != -1 |
| 1935 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1936 | }}} |
| 1937 | }}} | |
| r113 | 1938 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1939 | }}} |
| r113 | 1940 | {{{#!if this._ParOpen == -1 |
| 1941 | {{{#!if this.Match=true | |
| r95 | 1942 | }}} |
| r113 | 1943 | }}}{{{#!if this._ParOpen != -1 |
| 1944 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1945 | }}} |
| 1946 | }}} | |
| r113 | 1947 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1948 | }}} |
| r113 | 1949 | {{{#!if this._ParOpen == -1 |
| 1950 | {{{#!if this.Match=true | |
| r95 | 1951 | }}} |
| r113 | 1952 | }}}{{{#!if this._ParOpen != -1 |
| 1953 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1954 | }}} |
| 1955 | }}} | |
| r113 | 1956 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1957 | }}} |
| r113 | 1958 | {{{#!if this._ParOpen == -1 |
| 1959 | {{{#!if this.Match=true | |
| r95 | 1960 | }}} |
| r113 | 1961 | }}}{{{#!if this._ParOpen != -1 |
| 1962 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1963 | }}} |
| 1964 | }}} | |
| 1965 | }}} | |
| r113 | 1966 | ##### |
| 1967 | {{{#!if this.Match | |
| 1968 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1969 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 1970 | }}} |
| r95 | 1971 | }}} |
| r113 | 1972 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1973 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1974 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1975 | {{{#!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) | |
| 1976 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1977 | }}} |
| 1978 | }}} | |
| 1979 | }}} | |
| r113 | 1980 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1981 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1982 | }}}{{{#!if this.Blank!=-1 | |
| 1983 | {{{#!if this.Comma != -1 | |
| 1984 | {{{#!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) | |
| r95 | 1985 | }}} |
| 1986 | }}} | |
| r113 | 1987 | {{{#!if this.Comma == -1 |
| 1988 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 1989 | }}} |
| r113 | 1990 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1991 | }}}{{{#!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) | |
| r95 | 1992 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1993 | }}} | |
| 1994 | }}} | |
| 1995 | }}} | |
| r113 | 1996 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1997 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1998 | }}}{{{#!if this.Blank==5 | |
| 1999 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2000 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2001 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2002 | }}}{{{#!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) | |
| r77 | 2003 | }}} |
| 2004 | }}} | |
| 2005 | }}} | |
| 2006 | }}} | |
| r85 | 2007 | }}} |
| r113 | 2008 | ##### |
| 2009 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2010 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2011 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2012 | }}} |
| r113 | 2013 | {{{#!if this._ParOpen == -1 |
| 2014 | {{{#!if this.Match=true | |
| r77 | 2015 | }}} |
| r113 | 2016 | }}}{{{#!if this._ParOpen != -1 |
| 2017 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2018 | }}} |
| 2019 | }}} | |
| r113 | 2020 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2021 | }}} |
| r113 | 2022 | {{{#!if this._ParOpen == -1 |
| 2023 | {{{#!if this.Match=true | |
| r77 | 2024 | }}} |
| r113 | 2025 | }}}{{{#!if this._ParOpen != -1 |
| 2026 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2027 | }}} |
| 2028 | }}} | |
| r113 | 2029 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2030 | }}} |
| r113 | 2031 | {{{#!if this._ParOpen == -1 |
| 2032 | {{{#!if this.Match=true | |
| r77 | 2033 | }}} |
| r113 | 2034 | }}}{{{#!if this._ParOpen != -1 |
| 2035 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2036 | }}} |
| 2037 | }}} | |
| r113 | 2038 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2039 | }}} |
| r113 | 2040 | {{{#!if this._ParOpen == -1 |
| 2041 | {{{#!if this.Match=true | |
| r85 | 2042 | }}} |
| r113 | 2043 | }}}{{{#!if this._ParOpen != -1 |
| 2044 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2045 | }}} |
| 2046 | }}} | |
| r113 | 2047 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2048 | }}} |
| r113 | 2049 | {{{#!if this._ParOpen == -1 |
| 2050 | {{{#!if this.Match=true | |
| r85 | 2051 | }}} |
| r113 | 2052 | }}}{{{#!if this._ParOpen != -1 |
| 2053 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2054 | }}} |
| 2055 | }}} | |
| r113 | 2056 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2057 | }}} |
| r113 | 2058 | {{{#!if this._ParOpen == -1 |
| 2059 | {{{#!if this.Match=true | |
| r85 | 2060 | }}} |
| r113 | 2061 | }}}{{{#!if this._ParOpen != -1 |
| 2062 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2063 | }}} |
| 2064 | }}} | |
| r113 | 2065 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2066 | }}} |
| r113 | 2067 | {{{#!if this._ParOpen == -1 |
| 2068 | {{{#!if this.Match=true | |
| r85 | 2069 | }}} |
| r113 | 2070 | }}}{{{#!if this._ParOpen != -1 |
| 2071 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2072 | }}} |
| 2073 | }}} | |
| 2074 | }}} | |
| r113 | 2075 | ##### |
| 2076 | {{{#!if this.Match | |
| 2077 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2078 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2079 | }}} |
| 2080 | }}} | |
| r113 | 2081 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2082 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2083 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2084 | {{{#!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) | |
| 2085 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2086 | }}} |
| 2087 | }}} | |
| 2088 | }}} | |
| r113 | 2089 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2090 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2091 | }}}{{{#!if this.Blank!=-1 | |
| 2092 | {{{#!if this.Comma != -1 | |
| 2093 | {{{#!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) | |
| r77 | 2094 | }}} |
| 2095 | }}} | |
| r113 | 2096 | {{{#!if this.Comma == -1 |
| 2097 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2098 | }}} |
| r113 | 2099 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2100 | }}}{{{#!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) | |
| r85 | 2101 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2102 | }}} |
| 2103 | }}} | |
| 2104 | }}} | |
| r113 | 2105 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2106 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2107 | }}}{{{#!if this.Blank==5 | |
| 2108 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2109 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2110 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2111 | }}}{{{#!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) | |
| r95 | 2112 | }}} |
| 2113 | }}} | |
| 2114 | }}} | |
| 2115 | }}} | |
| 2116 | }}} | |
| r113 | 2117 | ##### |
| 2118 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2119 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2120 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 2121 | }}} |
| r113 | 2122 | {{{#!if this._ParOpen == -1 |
| 2123 | {{{#!if this.Match=true | |
| r95 | 2124 | }}} |
| r113 | 2125 | }}}{{{#!if this._ParOpen != -1 |
| 2126 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 2127 | }}} |
| 2128 | }}} | |
| r113 | 2129 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2130 | }}} |
| r113 | 2131 | {{{#!if this._ParOpen == -1 |
| 2132 | {{{#!if this.Match=true | |
| r95 | 2133 | }}} |
| r113 | 2134 | }}}{{{#!if this._ParOpen != -1 |
| 2135 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2136 | }}} |
| 2137 | }}} | |
| r113 | 2138 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2139 | }}} |
| r113 | 2140 | {{{#!if this._ParOpen == -1 |
| 2141 | {{{#!if this.Match=true | |
| r95 | 2142 | }}} |
| r113 | 2143 | }}}{{{#!if this._ParOpen != -1 |
| 2144 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2145 | }}} |
| 2146 | }}} | |
| r113 | 2147 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2148 | }}} |
| r113 | 2149 | {{{#!if this._ParOpen == -1 |
| 2150 | {{{#!if this.Match=true | |
| r95 | 2151 | }}} |
| r113 | 2152 | }}}{{{#!if this._ParOpen != -1 |
| 2153 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2154 | }}} |
| 2155 | }}} | |
| r113 | 2156 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2157 | }}} |
| r113 | 2158 | {{{#!if this._ParOpen == -1 |
| 2159 | {{{#!if this.Match=true | |
| r95 | 2160 | }}} |
| r113 | 2161 | }}}{{{#!if this._ParOpen != -1 |
| 2162 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2163 | }}} |
| 2164 | }}} | |
| r113 | 2165 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2166 | }}} |
| r113 | 2167 | {{{#!if this._ParOpen == -1 |
| 2168 | {{{#!if this.Match=true | |
| r95 | 2169 | }}} |
| r113 | 2170 | }}}{{{#!if this._ParOpen != -1 |
| 2171 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2172 | }}} |
| 2173 | }}} | |
| r113 | 2174 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2175 | }}} |
| r113 | 2176 | {{{#!if this._ParOpen == -1 |
| 2177 | {{{#!if this.Match=true | |
| r95 | 2178 | }}} |
| r113 | 2179 | }}}{{{#!if this._ParOpen != -1 |
| 2180 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2181 | }}} |
| 2182 | }}} | |
| 2183 | }}} | |
| r113 | 2184 | ##### |
| 2185 | {{{#!if this.Match | |
| 2186 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2187 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2188 | }}} |
| r95 | 2189 | }}} |
| r113 | 2190 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2191 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2192 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2193 | {{{#!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) | |
| 2194 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 2195 | }}} |
| 2196 | }}} | |
| 2197 | }}} | |
| r113 | 2198 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2199 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2200 | }}}{{{#!if this.Blank!=-1 | |
| 2201 | {{{#!if this.Comma != -1 | |
| 2202 | {{{#!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) | |
| r95 | 2203 | }}} |
| 2204 | }}} | |
| r113 | 2205 | {{{#!if this.Comma == -1 |
| 2206 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 2207 | }}} |
| r113 | 2208 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2209 | }}}{{{#!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) | |
| r95 | 2210 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2211 | }}} | |
| 2212 | }}} | |
| 2213 | }}} | |
| r113 | 2214 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2215 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2216 | }}}{{{#!if this.Blank==5 | |
| 2217 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2218 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2219 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2220 | }}}{{{#!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) | |
| r77 | 2221 | }}} |
| 2222 | }}} | |
| 2223 | }}} | |
| 2224 | }}} | |
| r85 | 2225 | }}} |
| r113 | 2226 | ##### |
| 2227 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2228 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2229 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2230 | }}} |
| r113 | 2231 | {{{#!if this._ParOpen == -1 |
| 2232 | {{{#!if this.Match=true | |
| r77 | 2233 | }}} |
| r113 | 2234 | }}}{{{#!if this._ParOpen != -1 |
| 2235 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2236 | }}} |
| 2237 | }}} | |
| r113 | 2238 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2239 | }}} |
| r113 | 2240 | {{{#!if this._ParOpen == -1 |
| 2241 | {{{#!if this.Match=true | |
| r77 | 2242 | }}} |
| r113 | 2243 | }}}{{{#!if this._ParOpen != -1 |
| 2244 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2245 | }}} |
| 2246 | }}} | |
| r113 | 2247 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2248 | }}} |
| r113 | 2249 | {{{#!if this._ParOpen == -1 |
| 2250 | {{{#!if this.Match=true | |
| r77 | 2251 | }}} |
| r113 | 2252 | }}}{{{#!if this._ParOpen != -1 |
| 2253 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2254 | }}} |
| 2255 | }}} | |
| r113 | 2256 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2257 | }}} |
| r113 | 2258 | {{{#!if this._ParOpen == -1 |
| 2259 | {{{#!if this.Match=true | |
| r85 | 2260 | }}} |
| r113 | 2261 | }}}{{{#!if this._ParOpen != -1 |
| 2262 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2263 | }}} |
| 2264 | }}} | |
| r113 | 2265 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2266 | }}} |
| r113 | 2267 | {{{#!if this._ParOpen == -1 |
| 2268 | {{{#!if this.Match=true | |
| r85 | 2269 | }}} |
| r113 | 2270 | }}}{{{#!if this._ParOpen != -1 |
| 2271 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2272 | }}} |
| 2273 | }}} | |
| r113 | 2274 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2275 | }}} |
| r113 | 2276 | {{{#!if this._ParOpen == -1 |
| 2277 | {{{#!if this.Match=true | |
| r85 | 2278 | }}} |
| r113 | 2279 | }}}{{{#!if this._ParOpen != -1 |
| 2280 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2281 | }}} |
| 2282 | }}} | |
| r113 | 2283 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2284 | }}} |
| r113 | 2285 | {{{#!if this._ParOpen == -1 |
| 2286 | {{{#!if this.Match=true | |
| r85 | 2287 | }}} |
| r113 | 2288 | }}}{{{#!if this._ParOpen != -1 |
| 2289 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2290 | }}} |
| 2291 | }}} | |
| 2292 | }}} | |
| r113 | 2293 | ##### |
| 2294 | {{{#!if this.Match | |
| 2295 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2296 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2297 | }}} |
| 2298 | }}} | |
| r113 | 2299 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2300 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2301 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2302 | {{{#!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) | |
| 2303 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2304 | }}} |
| 2305 | }}} | |
| 2306 | }}} | |
| r113 | 2307 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2308 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2309 | }}}{{{#!if this.Blank!=-1 | |
| 2310 | {{{#!if this.Comma != -1 | |
| 2311 | {{{#!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) | |
| r77 | 2312 | }}} |
| 2313 | }}} | |
| r113 | 2314 | {{{#!if this.Comma == -1 |
| 2315 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2316 | }}} |
| r113 | 2317 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2318 | }}}{{{#!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) | |
| r85 | 2319 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2320 | }}} |
| 2321 | }}} | |
| 2322 | }}} | |
| r113 | 2323 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2324 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2325 | }}}{{{#!if this.Blank==5 | |
| 2326 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2327 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2328 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2329 | }}}{{{#!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) | |
| r77 | 2330 | }}} |
| 2331 | }}} | |
| 2332 | }}} | |
| 2333 | }}} | |
| r85 | 2334 | }}} |
| r113 | 2335 | ##### |
| 2336 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2337 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2338 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2339 | }}} |
| r113 | 2340 | {{{#!if this._ParOpen == -1 |
| 2341 | {{{#!if this.Match=true | |
| r77 | 2342 | }}} |
| r113 | 2343 | }}}{{{#!if this._ParOpen != -1 |
| 2344 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2345 | }}} |
| 2346 | }}} | |
| r113 | 2347 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2348 | }}} |
| r113 | 2349 | {{{#!if this._ParOpen == -1 |
| 2350 | {{{#!if this.Match=true | |
| r77 | 2351 | }}} |
| r113 | 2352 | }}}{{{#!if this._ParOpen != -1 |
| 2353 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2354 | }}} |
| 2355 | }}} | |
| r113 | 2356 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2357 | }}} |
| r113 | 2358 | {{{#!if this._ParOpen == -1 |
| 2359 | {{{#!if this.Match=true | |
| r77 | 2360 | }}} |
| r113 | 2361 | }}}{{{#!if this._ParOpen != -1 |
| 2362 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2363 | }}} |
| 2364 | }}} | |
| r113 | 2365 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2366 | }}} |
| r113 | 2367 | {{{#!if this._ParOpen == -1 |
| 2368 | {{{#!if this.Match=true | |
| r85 | 2369 | }}} |
| r113 | 2370 | }}}{{{#!if this._ParOpen != -1 |
| 2371 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2372 | }}} |
| 2373 | }}} | |
| r113 | 2374 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2375 | }}} |
| r113 | 2376 | {{{#!if this._ParOpen == -1 |
| 2377 | {{{#!if this.Match=true | |
| r85 | 2378 | }}} |
| r113 | 2379 | }}}{{{#!if this._ParOpen != -1 |
| 2380 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2381 | }}} |
| 2382 | }}} | |
| r113 | 2383 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2384 | }}} |
| r113 | 2385 | {{{#!if this._ParOpen == -1 |
| 2386 | {{{#!if this.Match=true | |
| r85 | 2387 | }}} |
| r113 | 2388 | }}}{{{#!if this._ParOpen != -1 |
| 2389 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2390 | }}} |
| 2391 | }}} | |
| r113 | 2392 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2393 | }}} |
| r113 | 2394 | {{{#!if this._ParOpen == -1 |
| 2395 | {{{#!if this.Match=true | |
| r85 | 2396 | }}} |
| r113 | 2397 | }}}{{{#!if this._ParOpen != -1 |
| 2398 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2399 | }}} |
| 2400 | }}} | |
| 2401 | }}} | |
| r113 | 2402 | ##### |
| 2403 | {{{#!if this.Match | |
| 2404 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2405 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2406 | }}} |
| 2407 | }}} | |
| r113 | 2408 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2409 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2410 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2411 | {{{#!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) | |
| 2412 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2413 | }}} |
| 2414 | }}} | |
| 2415 | }}} | |
| r113 | 2416 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2417 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2418 | }}}{{{#!if this.Blank!=-1 | |
| 2419 | {{{#!if this.Comma != -1 | |
| 2420 | {{{#!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) | |
| r77 | 2421 | }}} |
| 2422 | }}} | |
| r113 | 2423 | {{{#!if this.Comma == -1 |
| 2424 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2425 | }}} |
| r113 | 2426 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2427 | }}}{{{#!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) | |
| r85 | 2428 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2429 | }}} |
| 2430 | }}} | |
| 2431 | }}} | |
| r113 | 2432 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2433 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2434 | }}}{{{#!if this.Blank==5 | |
| 2435 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2436 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2437 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2438 | }}}{{{#!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) | |
| r77 | 2439 | }}} |
| 2440 | }}} | |
| 2441 | }}} | |
| 2442 | }}} | |
| r85 | 2443 | }}} |
| r113 | 2444 | ##### |
| 2445 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2446 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2447 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2448 | }}} |
| r113 | 2449 | {{{#!if this._ParOpen == -1 |
| 2450 | {{{#!if this.Match=true | |
| r77 | 2451 | }}} |
| r113 | 2452 | }}}{{{#!if this._ParOpen != -1 |
| 2453 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2454 | }}} |
| 2455 | }}} | |
| r113 | 2456 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2457 | }}} |
| r113 | 2458 | {{{#!if this._ParOpen == -1 |
| 2459 | {{{#!if this.Match=true | |
| r77 | 2460 | }}} |
| r113 | 2461 | }}}{{{#!if this._ParOpen != -1 |
| 2462 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2463 | }}} |
| 2464 | }}} | |
| r113 | 2465 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2466 | }}} |
| r113 | 2467 | {{{#!if this._ParOpen == -1 |
| 2468 | {{{#!if this.Match=true | |
| r77 | 2469 | }}} |
| r113 | 2470 | }}}{{{#!if this._ParOpen != -1 |
| 2471 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2472 | }}} |
| 2473 | }}} | |
| r113 | 2474 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2475 | }}} |
| r113 | 2476 | {{{#!if this._ParOpen == -1 |
| 2477 | {{{#!if this.Match=true | |
| r85 | 2478 | }}} |
| r113 | 2479 | }}}{{{#!if this._ParOpen != -1 |
| 2480 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2481 | }}} |
| 2482 | }}} | |
| r113 | 2483 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2484 | }}} |
| r113 | 2485 | {{{#!if this._ParOpen == -1 |
| 2486 | {{{#!if this.Match=true | |
| r85 | 2487 | }}} |
| r113 | 2488 | }}}{{{#!if this._ParOpen != -1 |
| 2489 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2490 | }}} |
| 2491 | }}} | |
| r113 | 2492 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2493 | }}} |
| r113 | 2494 | {{{#!if this._ParOpen == -1 |
| 2495 | {{{#!if this.Match=true | |
| r85 | 2496 | }}} |
| r113 | 2497 | }}}{{{#!if this._ParOpen != -1 |
| 2498 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2499 | }}} |
| 2500 | }}} | |
| r113 | 2501 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2502 | }}} |
| r113 | 2503 | {{{#!if this._ParOpen == -1 |
| 2504 | {{{#!if this.Match=true | |
| r85 | 2505 | }}} |
| r113 | 2506 | }}}{{{#!if this._ParOpen != -1 |
| 2507 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2508 | }}} |
| 2509 | }}} | |
| 2510 | }}} | |
| r113 | 2511 | ##### |
| 2512 | {{{#!if this.Match | |
| 2513 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2514 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2515 | }}} |
| 2516 | }}} | |
| r113 | 2517 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2518 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2519 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2520 | {{{#!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) | |
| 2521 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2522 | }}} |
| 2523 | }}} | |
| 2524 | }}} | |
| r113 | 2525 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2526 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2527 | }}}{{{#!if this.Blank!=-1 | |
| 2528 | {{{#!if this.Comma != -1 | |
| 2529 | {{{#!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) | |
| r77 | 2530 | }}} |
| 2531 | }}} | |
| r113 | 2532 | {{{#!if this.Comma == -1 |
| 2533 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2534 | }}} |
| r113 | 2535 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2536 | }}}{{{#!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) | |
| r85 | 2537 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2538 | }}} |
| 2539 | }}} | |
| 2540 | }}} | |
| r113 | 2541 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2542 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2543 | }}}{{{#!if this.Blank==5 | |
| 2544 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2545 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2546 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2547 | }}}{{{#!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) | |
| r77 | 2548 | }}} |
| 2549 | }}} | |
| 2550 | }}} | |
| 2551 | }}} | |
| r85 | 2552 | }}} |
| r113 | 2553 | ##### |
| 2554 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2555 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2556 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2557 | }}} |
| r113 | 2558 | {{{#!if this._ParOpen == -1 |
| 2559 | {{{#!if this.Match=true | |
| r77 | 2560 | }}} |
| r113 | 2561 | }}}{{{#!if this._ParOpen != -1 |
| 2562 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2563 | }}} |
| 2564 | }}} | |
| r113 | 2565 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2566 | }}} |
| r113 | 2567 | {{{#!if this._ParOpen == -1 |
| 2568 | {{{#!if this.Match=true | |
| r77 | 2569 | }}} |
| r113 | 2570 | }}}{{{#!if this._ParOpen != -1 |
| 2571 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2572 | }}} |
| 2573 | }}} | |
| r113 | 2574 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2575 | }}} |
| r113 | 2576 | {{{#!if this._ParOpen == -1 |
| 2577 | {{{#!if this.Match=true | |
| r77 | 2578 | }}} |
| r113 | 2579 | }}}{{{#!if this._ParOpen != -1 |
| 2580 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2581 | }}} |
| 2582 | }}} | |
| r113 | 2583 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2584 | }}} |
| r113 | 2585 | {{{#!if this._ParOpen == -1 |
| 2586 | {{{#!if this.Match=true | |
| r85 | 2587 | }}} |
| r113 | 2588 | }}}{{{#!if this._ParOpen != -1 |
| 2589 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2590 | }}} |
| 2591 | }}} | |
| r113 | 2592 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2593 | }}} |
| r113 | 2594 | {{{#!if this._ParOpen == -1 |
| 2595 | {{{#!if this.Match=true | |
| r85 | 2596 | }}} |
| r113 | 2597 | }}}{{{#!if this._ParOpen != -1 |
| 2598 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2599 | }}} |
| 2600 | }}} | |
| r113 | 2601 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2602 | }}} |
| r113 | 2603 | {{{#!if this._ParOpen == -1 |
| 2604 | {{{#!if this.Match=true | |
| r85 | 2605 | }}} |
| r113 | 2606 | }}}{{{#!if this._ParOpen != -1 |
| 2607 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2608 | }}} |
| 2609 | }}} | |
| r113 | 2610 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2611 | }}} |
| r113 | 2612 | {{{#!if this._ParOpen == -1 |
| 2613 | {{{#!if this.Match=true | |
| r85 | 2614 | }}} |
| r113 | 2615 | }}}{{{#!if this._ParOpen != -1 |
| 2616 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2617 | }}} |
| 2618 | }}} | |
| 2619 | }}} | |
| r113 | 2620 | ##### |
| 2621 | {{{#!if this.Match | |
| 2622 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2623 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2624 | }}} |
| 2625 | }}} | |
| r113 | 2626 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2627 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2628 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2629 | {{{#!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) | |
| 2630 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2631 | }}} |
| 2632 | }}} | |
| 2633 | }}} | |
| r113 | 2634 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2635 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2636 | }}}{{{#!if this.Blank!=-1 | |
| 2637 | {{{#!if this.Comma != -1 | |
| 2638 | {{{#!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) | |
| r77 | 2639 | }}} |
| 2640 | }}} | |
| r113 | 2641 | {{{#!if this.Comma == -1 |
| 2642 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2643 | }}} |
| r113 | 2644 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2645 | }}}{{{#!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) | |
| r85 | 2646 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2647 | }}} |
| 2648 | }}} | |
| 2649 | }}} | |
| r113 | 2650 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2651 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2652 | }}}{{{#!if this.Blank==5 | |
| 2653 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2654 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2655 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2656 | }}}{{{#!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) | |
| r77 | 2657 | }}} |
| 2658 | }}} | |
| 2659 | }}} | |
| 2660 | }}} | |
| r85 | 2661 | }}} |
| r113 | 2662 | ##### |
| 2663 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2664 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2665 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2666 | }}} |
| r113 | 2667 | {{{#!if this._ParOpen == -1 |
| 2668 | {{{#!if this.Match=true | |
| r77 | 2669 | }}} |
| r113 | 2670 | }}}{{{#!if this._ParOpen != -1 |
| 2671 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2672 | }}} |
| 2673 | }}} | |
| r113 | 2674 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2675 | }}} |
| r113 | 2676 | {{{#!if this._ParOpen == -1 |
| 2677 | {{{#!if this.Match=true | |
| r77 | 2678 | }}} |
| r113 | 2679 | }}}{{{#!if this._ParOpen != -1 |
| 2680 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2681 | }}} |
| 2682 | }}} | |
| r113 | 2683 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2684 | }}} |
| r113 | 2685 | {{{#!if this._ParOpen == -1 |
| 2686 | {{{#!if this.Match=true | |
| r77 | 2687 | }}} |
| r113 | 2688 | }}}{{{#!if this._ParOpen != -1 |
| 2689 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2690 | }}} |
| 2691 | }}} | |
| r113 | 2692 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2693 | }}} |
| r113 | 2694 | {{{#!if this._ParOpen == -1 |
| 2695 | {{{#!if this.Match=true | |
| r85 | 2696 | }}} |
| r113 | 2697 | }}}{{{#!if this._ParOpen != -1 |
| 2698 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2699 | }}} |
| 2700 | }}} | |
| r113 | 2701 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2702 | }}} |
| r113 | 2703 | {{{#!if this._ParOpen == -1 |
| 2704 | {{{#!if this.Match=true | |
| r85 | 2705 | }}} |
| r113 | 2706 | }}}{{{#!if this._ParOpen != -1 |
| 2707 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2708 | }}} |
| 2709 | }}} | |
| r113 | 2710 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2711 | }}} |
| r113 | 2712 | {{{#!if this._ParOpen == -1 |
| 2713 | {{{#!if this.Match=true | |
| r85 | 2714 | }}} |
| r113 | 2715 | }}}{{{#!if this._ParOpen != -1 |
| 2716 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2717 | }}} |
| 2718 | }}} | |
| r113 | 2719 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2720 | }}} |
| r113 | 2721 | {{{#!if this._ParOpen == -1 |
| 2722 | {{{#!if this.Match=true | |
| r85 | 2723 | }}} |
| r113 | 2724 | }}}{{{#!if this._ParOpen != -1 |
| 2725 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2726 | }}} |
| 2727 | }}} | |
| 2728 | }}} | |
| r113 | 2729 | ##### |
| 2730 | {{{#!if this.Match | |
| 2731 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2732 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 2733 | }}} | |
| 2734 | }}} | |
| 2735 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2736 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2737 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2738 | {{{#!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) | |
| 2739 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2740 | }}} | |
| 2741 | }}} | |
| 2742 | }}} | |
| 2743 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2744 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2745 | }}}{{{#!if this.Blank!=-1 | |
| 2746 | {{{#!if this.Comma != -1 | |
| 2747 | {{{#!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) | |
| 2748 | }}} | |
| 2749 | }}} | |
| 2750 | {{{#!if this.Comma == -1 | |
| 2751 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2752 | }}} | |
| 2753 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2754 | }}}{{{#!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) | |
| 2755 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 2756 | }}} | |
| 2757 | }}} | |
| 2758 | }}} | |
| 2759 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2760 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2761 | }}}{{{#!if this.Blank==5 | |
| 2762 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2763 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2764 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2765 | }}}{{{#!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) | |
| 2766 | }}} | |
| 2767 | }}} | |
| r92 | 2768 | }}} |
| r113 | 2769 | }}} |
| 2770 | }}} | |
| 2771 | ##### | |
| 2772 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2773 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2774 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2775 | }}} | |
| 2776 | {{{#!if this._ParOpen == -1 | |
| 2777 | {{{#!if this.Match=true | |
| r92 | 2778 | }}} |
| r113 | 2779 | }}}{{{#!if this._ParOpen != -1 |
| 2780 | {{{#!if this.ParOpen=this._ParOpen | |
| r92 | 2781 | }}} |
| 2782 | }}} | |
| r113 | 2783 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r92 | 2784 | }}} |
| r113 | 2785 | {{{#!if this._ParOpen == -1 |
| 2786 | {{{#!if this.Match=true | |
| 2787 | }}} | |
| 2788 | }}}{{{#!if this._ParOpen != -1 | |
| 2789 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2790 | }}} | |
| 2791 | }}} | |
| 2792 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2793 | }}} | |
| 2794 | {{{#!if this._ParOpen == -1 | |
| 2795 | {{{#!if this.Match=true | |
| 2796 | }}} | |
| 2797 | }}}{{{#!if this._ParOpen != -1 | |
| 2798 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2799 | }}} | |
| 2800 | }}} | |
| 2801 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2802 | }}} | |
| 2803 | {{{#!if this._ParOpen == -1 | |
| 2804 | {{{#!if this.Match=true | |
| 2805 | }}} | |
| 2806 | }}}{{{#!if this._ParOpen != -1 | |
| 2807 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2808 | }}} | |
| 2809 | }}} | |
| 2810 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2811 | }}} | |
| 2812 | {{{#!if this._ParOpen == -1 | |
| 2813 | {{{#!if this.Match=true | |
| 2814 | }}} | |
| 2815 | }}}{{{#!if this._ParOpen != -1 | |
| 2816 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2817 | }}} | |
| 2818 | }}} | |
| 2819 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2820 | }}} | |
| 2821 | {{{#!if this._ParOpen == -1 | |
| 2822 | {{{#!if this.Match=true | |
| 2823 | }}} | |
| 2824 | }}}{{{#!if this._ParOpen != -1 | |
| 2825 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2826 | }}} | |
| 2827 | }}} | |
| 2828 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2829 | }}} | |
| 2830 | {{{#!if this._ParOpen == -1 | |
| 2831 | {{{#!if this.Match=true | |
| 2832 | }}} | |
| 2833 | }}}{{{#!if this._ParOpen != -1 | |
| 2834 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2835 | }}} | |
| 2836 | }}} | |
| 2837 | }}} | |
| 2838 | ##### | |
| 2839 | {{{#!if this.Match | |
| 2840 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2841 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r92 | 2842 | }}} |
| 2843 | }}} | |
| r113 | 2844 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2845 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2846 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2847 | {{{#!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) | |
| 2848 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r92 | 2849 | }}} |
| 2850 | }}} | |
| 2851 | }}} | |
| r113 | 2852 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2853 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2854 | }}}{{{#!if this.Blank!=-1 | |
| 2855 | {{{#!if this.Comma != -1 | |
| 2856 | {{{#!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) | |
| r92 | 2857 | }}} |
| 2858 | }}} | |
| r113 | 2859 | {{{#!if this.Comma == -1 |
| 2860 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r92 | 2861 | }}} |
| r113 | 2862 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2863 | }}}{{{#!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) | |
| r92 | 2864 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2865 | }}} | |
| 2866 | }}} | |
| 2867 | }}} | |
| r113 | 2868 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2869 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2870 | }}}{{{#!if this.Blank==5 | |
| 2871 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2872 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2873 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2874 | }}}{{{#!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) | |
| r95 | 2875 | }}} |
| 2876 | }}} | |
| 2877 | }}} | |
| 2878 | }}} | |
| 2879 | }}} | |
| r113 | 2880 | ##### |
| 2881 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2882 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2883 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 2884 | }}} |
| r113 | 2885 | {{{#!if this._ParOpen == -1 |
| 2886 | {{{#!if this.Match=true | |
| r109 | 2887 | }}} |
| r113 | 2888 | }}}{{{#!if this._ParOpen != -1 |
| 2889 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 2890 | }}} |
| 2891 | }}} | |
| r113 | 2892 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2893 | }}} |
| r113 | 2894 | {{{#!if this._ParOpen == -1 |
| 2895 | {{{#!if this.Match=true | |
| r109 | 2896 | }}} |
| r113 | 2897 | }}}{{{#!if this._ParOpen != -1 |
| 2898 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2899 | }}} |
| 2900 | }}} | |
| r113 | 2901 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2902 | }}} |
| r113 | 2903 | {{{#!if this._ParOpen == -1 |
| 2904 | {{{#!if this.Match=true | |
| r109 | 2905 | }}} |
| r113 | 2906 | }}}{{{#!if this._ParOpen != -1 |
| 2907 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2908 | }}} |
| 2909 | }}} | |
| r113 | 2910 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2911 | }}} |
| r113 | 2912 | {{{#!if this._ParOpen == -1 |
| 2913 | {{{#!if this.Match=true | |
| r109 | 2914 | }}} |
| r113 | 2915 | }}}{{{#!if this._ParOpen != -1 |
| 2916 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2917 | }}} |
| 2918 | }}} | |
| r113 | 2919 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2920 | }}} |
| r113 | 2921 | {{{#!if this._ParOpen == -1 |
| 2922 | {{{#!if this.Match=true | |
| r109 | 2923 | }}} |
| r113 | 2924 | }}}{{{#!if this._ParOpen != -1 |
| 2925 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2926 | }}} |
| 2927 | }}} | |
| r113 | 2928 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2929 | }}} |
| r113 | 2930 | {{{#!if this._ParOpen == -1 |
| 2931 | {{{#!if this.Match=true | |
| r109 | 2932 | }}} |
| r113 | 2933 | }}}{{{#!if this._ParOpen != -1 |
| 2934 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2935 | }}} |
| 2936 | }}} | |
| 2937 | }}} | |
| r113 | 2938 | ##### |
| 2939 | {{{#!if this.Match | |
| 2940 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2941 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 2942 | }}} |
| 2943 | }}} | |
| r113 | 2944 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2945 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2946 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2947 | {{{#!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) | |
| 2948 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 2949 | }}} |
| 2950 | }}} | |
| 2951 | }}} | |
| r113 | 2952 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2953 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2954 | }}}{{{#!if this.Blank!=-1 | |
| 2955 | {{{#!if this.Comma != -1 | |
| 2956 | {{{#!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) | |
| r109 | 2957 | }}} |
| 2958 | }}} | |
| r113 | 2959 | {{{#!if this.Comma == -1 |
| 2960 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 2961 | }}} |
| r113 | 2962 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2963 | }}}{{{#!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) | |
| r109 | 2964 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2965 | }}} | |
| 2966 | }}} | |
| 2967 | }}} | |
| r113 | 2968 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2969 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2970 | }}}{{{#!if this.Blank==5 | |
| 2971 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2972 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2973 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2974 | }}}{{{#!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) | |
| r109 | 2975 | }}} |
| 2976 | }}} | |
| 2977 | }}} | |
| 2978 | }}} | |
| 2979 | }}} | |
| r113 | 2980 | ##### |
| 2981 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2982 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2983 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 2984 | }}} |
| r113 | 2985 | {{{#!if this._ParOpen == -1 |
| 2986 | {{{#!if this.Match=true | |
| r109 | 2987 | }}} |
| r113 | 2988 | }}}{{{#!if this._ParOpen != -1 |
| 2989 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 2990 | }}} |
| 2991 | }}} | |
| r113 | 2992 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2993 | }}} |
| r113 | 2994 | {{{#!if this._ParOpen == -1 |
| 2995 | {{{#!if this.Match=true | |
| r109 | 2996 | }}} |
| r113 | 2997 | }}}{{{#!if this._ParOpen != -1 |
| 2998 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2999 | }}} |
| 3000 | }}} | |
| r113 | 3001 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3002 | }}} |
| r113 | 3003 | {{{#!if this._ParOpen == -1 |
| 3004 | {{{#!if this.Match=true | |
| r109 | 3005 | }}} |
| r113 | 3006 | }}}{{{#!if this._ParOpen != -1 |
| 3007 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3008 | }}} |
| 3009 | }}} | |
| r113 | 3010 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3011 | }}} |
| r113 | 3012 | {{{#!if this._ParOpen == -1 |
| 3013 | {{{#!if this.Match=true | |
| r109 | 3014 | }}} |
| r113 | 3015 | }}}{{{#!if this._ParOpen != -1 |
| 3016 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3017 | }}} |
| 3018 | }}} | |
| r113 | 3019 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3020 | }}} |
| r113 | 3021 | {{{#!if this._ParOpen == -1 |
| 3022 | {{{#!if this.Match=true | |
| r109 | 3023 | }}} |
| r113 | 3024 | }}}{{{#!if this._ParOpen != -1 |
| 3025 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3026 | }}} |
| 3027 | }}} | |
| 3028 | }}} | |
| r113 | 3029 | ##### |
| 3030 | {{{#!if this.Match | |
| 3031 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3032 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3033 | }}} |
| 3034 | }}} | |
| r113 | 3035 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3036 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3037 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3038 | {{{#!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) | |
| 3039 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3040 | }}} |
| 3041 | }}} | |
| 3042 | }}} | |
| r113 | 3043 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3044 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3045 | }}}{{{#!if this.Blank!=-1 | |
| 3046 | {{{#!if this.Comma != -1 | |
| 3047 | {{{#!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) | |
| r109 | 3048 | }}} |
| 3049 | }}} | |
| r113 | 3050 | {{{#!if this.Comma == -1 |
| 3051 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3052 | }}} |
| r113 | 3053 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3054 | }}}{{{#!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) | |
| r109 | 3055 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3056 | }}} | |
| 3057 | }}} | |
| 3058 | }}} | |
| r113 | 3059 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3060 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3061 | }}}{{{#!if this.Blank==5 | |
| 3062 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3063 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3064 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3065 | }}}{{{#!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) | |
| r109 | 3066 | }}} |
| 3067 | }}} | |
| 3068 | }}} | |
| 3069 | }}} | |
| 3070 | }}} | |
| r113 | 3071 | ##### |
| 3072 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3073 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3074 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3075 | }}} |
| r113 | 3076 | {{{#!if this._ParOpen == -1 |
| 3077 | {{{#!if this.Match=true | |
| r109 | 3078 | }}} |
| r113 | 3079 | }}}{{{#!if this._ParOpen != -1 |
| 3080 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3081 | }}} |
| 3082 | }}} | |
| r113 | 3083 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3084 | }}} |
| r113 | 3085 | {{{#!if this._ParOpen == -1 |
| 3086 | {{{#!if this.Match=true | |
| r109 | 3087 | }}} |
| r113 | 3088 | }}}{{{#!if this._ParOpen != -1 |
| 3089 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3090 | }}} |
| 3091 | }}} | |
| r113 | 3092 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3093 | }}} |
| r113 | 3094 | {{{#!if this._ParOpen == -1 |
| 3095 | {{{#!if this.Match=true | |
| r109 | 3096 | }}} |
| r113 | 3097 | }}}{{{#!if this._ParOpen != -1 |
| 3098 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3099 | }}} |
| 3100 | }}} | |
| r113 | 3101 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3102 | }}} |
| r113 | 3103 | {{{#!if this._ParOpen == -1 |
| 3104 | {{{#!if this.Match=true | |
| r109 | 3105 | }}} |
| r113 | 3106 | }}}{{{#!if this._ParOpen != -1 |
| 3107 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3108 | }}} |
| 3109 | }}} | |
| 3110 | }}} | |
| r113 | 3111 | ##### |
| 3112 | {{{#!if this.Match | |
| 3113 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3114 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3115 | }}} |
| 3116 | }}} | |
| r113 | 3117 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3118 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3119 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3120 | {{{#!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) | |
| 3121 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3122 | }}} |
| 3123 | }}} | |
| 3124 | }}} | |
| r113 | 3125 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3126 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3127 | }}}{{{#!if this.Blank!=-1 | |
| 3128 | {{{#!if this.Comma != -1 | |
| 3129 | {{{#!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) | |
| r109 | 3130 | }}} |
| 3131 | }}} | |
| r113 | 3132 | {{{#!if this.Comma == -1 |
| 3133 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3134 | }}} |
| r113 | 3135 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3136 | }}}{{{#!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) | |
| r109 | 3137 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3138 | }}} | |
| 3139 | }}} | |
| 3140 | }}} | |
| r113 | 3141 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3142 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3143 | }}}{{{#!if this.Blank==5 | |
| 3144 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3145 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3146 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3147 | }}}{{{#!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) | |
| r109 | 3148 | }}} |
| 3149 | }}} | |
| 3150 | }}} | |
| 3151 | }}} | |
| 3152 | }}} | |
| r113 | 3153 | ##### |
| 3154 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3155 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3156 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3157 | }}} |
| r113 | 3158 | {{{#!if this._ParOpen == -1 |
| 3159 | {{{#!if this.Match=true | |
| r109 | 3160 | }}} |
| r113 | 3161 | }}}{{{#!if this._ParOpen != -1 |
| 3162 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3163 | }}} |
| 3164 | }}} | |
| r113 | 3165 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3166 | }}} |
| r113 | 3167 | {{{#!if this._ParOpen == -1 |
| 3168 | {{{#!if this.Match=true | |
| r109 | 3169 | }}} |
| r113 | 3170 | }}}{{{#!if this._ParOpen != -1 |
| 3171 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3172 | }}} |
| 3173 | }}} | |
| r113 | 3174 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3175 | }}} |
| r113 | 3176 | {{{#!if this._ParOpen == -1 |
| 3177 | {{{#!if this.Match=true | |
| r109 | 3178 | }}} |
| r113 | 3179 | }}}{{{#!if this._ParOpen != -1 |
| 3180 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3181 | }}} |
| 3182 | }}} | |
| 3183 | }}} | |
| r113 | 3184 | ##### |
| 3185 | {{{#!if this.Match | |
| 3186 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3187 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3188 | }}} |
| 3189 | }}} | |
| r113 | 3190 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3191 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3192 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3193 | {{{#!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) | |
| 3194 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3195 | }}} |
| 3196 | }}} | |
| 3197 | }}} | |
| r113 | 3198 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3199 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3200 | }}}{{{#!if this.Blank!=-1 | |
| 3201 | {{{#!if this.Comma != -1 | |
| 3202 | {{{#!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) | |
| r109 | 3203 | }}} |
| 3204 | }}} | |
| r113 | 3205 | {{{#!if this.Comma == -1 |
| 3206 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3207 | }}} |
| r113 | 3208 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3209 | }}}{{{#!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) | |
| r109 | 3210 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3211 | }}} | |
| 3212 | }}} | |
| 3213 | }}} | |
| r113 | 3214 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3215 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3216 | }}}{{{#!if this.Blank==5 | |
| 3217 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3218 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3219 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3220 | }}}{{{#!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) | |
| r109 | 3221 | }}} |
| 3222 | }}} | |
| 3223 | }}} | |
| 3224 | }}} | |
| 3225 | }}} | |
| r113 | 3226 | ##### |
| 3227 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3228 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3229 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3230 | }}} |
| r113 | 3231 | {{{#!if this._ParOpen == -1 |
| 3232 | {{{#!if this.Match=true | |
| r109 | 3233 | }}} |
| r113 | 3234 | }}}{{{#!if this._ParOpen != -1 |
| 3235 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3236 | }}} |
| 3237 | }}} | |
| r113 | 3238 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3239 | }}} |
| r113 | 3240 | {{{#!if this._ParOpen == -1 |
| 3241 | {{{#!if this.Match=true | |
| r109 | 3242 | }}} |
| r113 | 3243 | }}}{{{#!if this._ParOpen != -1 |
| 3244 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3245 | }}} |
| 3246 | }}} | |
| 3247 | }}} | |
| r113 | 3248 | ##### |
| 3249 | {{{#!if this.Match | |
| 3250 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3251 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3252 | }}} |
| 3253 | }}} | |
| r113 | 3254 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3255 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3256 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3257 | {{{#!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) | |
| 3258 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3259 | }}} |
| 3260 | }}} | |
| 3261 | }}} | |
| r113 | 3262 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3263 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3264 | }}}{{{#!if this.Blank!=-1 | |
| 3265 | {{{#!if this.Comma != -1 | |
| 3266 | {{{#!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) | |
| r109 | 3267 | }}} |
| 3268 | }}} | |
| r113 | 3269 | {{{#!if this.Comma == -1 |
| 3270 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3271 | }}} |
| r113 | 3272 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3273 | }}}{{{#!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) | |
| r109 | 3274 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3275 | }}} | |
| 3276 | }}} | |
| 3277 | }}} | |
| r113 | 3278 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3279 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3280 | }}}{{{#!if this.Blank==5 | |
| 3281 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3282 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3283 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3284 | }}}{{{#!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) | |
| r109 | 3285 | }}} |
| 3286 | }}} | |
| 3287 | }}} | |
| 3288 | }}} | |
| 3289 | }}} | |
| r113 | 3290 | ##### |
| 3291 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3292 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3293 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3294 | }}} |
| r113 | 3295 | {{{#!if this._ParOpen == -1 |
| 3296 | {{{#!if this.Match=true | |
| r109 | 3297 | }}} |
| r113 | 3298 | }}}{{{#!if this._ParOpen != -1 |
| 3299 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3300 | }}} |
| 3301 | }}} | |
| r113 | 3302 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3303 | }}} |
| r113 | 3304 | {{{#!if this._ParOpen == -1 |
| 3305 | {{{#!if this.Match=true | |
| r109 | 3306 | }}} |
| r113 | 3307 | }}}{{{#!if this._ParOpen != -1 |
| 3308 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3309 | }}} |
| 3310 | }}} | |
| 3311 | }}} | |
| r113 | 3312 | ##### |
| 3313 | {{{#!if this.Match | |
| 3314 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3315 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3316 | }}} |
| 3317 | }}} | |
| r113 | 3318 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3319 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3320 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3321 | {{{#!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) | |
| 3322 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3323 | }}} |
| 3324 | }}} | |
| 3325 | }}} | |
| r113 | 3326 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3327 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3328 | }}}{{{#!if this.Blank!=-1 | |
| 3329 | {{{#!if this.Comma != -1 | |
| 3330 | {{{#!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) | |
| r109 | 3331 | }}} |
| 3332 | }}} | |
| r113 | 3333 | {{{#!if this.Comma == -1 |
| 3334 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3335 | }}} |
| r113 | 3336 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3337 | }}}{{{#!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) | |
| r109 | 3338 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3339 | }}} | |
| 3340 | }}} | |
| 3341 | }}} | |
| r113 | 3342 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3343 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3344 | }}}{{{#!if this.Blank==5 | |
| 3345 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3346 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3347 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3348 | }}}{{{#!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) | |
| r109 | 3349 | }}} |
| 3350 | }}} | |
| 3351 | }}} | |
| 3352 | }}} | |
| 3353 | }}} | |
| r113 | 3354 | ################################################################################################################################################################################################################################################################################################################################################################################################################################################################## 다크 |
| 3355 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3356 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3357 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3358 | }}} |
| r113 | 3359 | {{{#!if this._ParOpen == -1 |
| 3360 | {{{#!if this.Match=true | |
| r95 | 3361 | }}} |
| r113 | 3362 | }}}{{{#!if this._ParOpen != -1 |
| 3363 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3364 | }}} |
| 3365 | }}} | |
| r113 | 3366 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3367 | }}} |
| r113 | 3368 | {{{#!if this._ParOpen == -1 |
| 3369 | {{{#!if this.Match=true | |
| r95 | 3370 | }}} |
| r113 | 3371 | }}}{{{#!if this._ParOpen != -1 |
| 3372 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3373 | }}} |
| 3374 | }}} | |
| r113 | 3375 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3376 | }}} |
| r113 | 3377 | {{{#!if this._ParOpen == -1 |
| 3378 | {{{#!if this.Match=true | |
| r95 | 3379 | }}} |
| r113 | 3380 | }}}{{{#!if this._ParOpen != -1 |
| 3381 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3382 | }}} |
| 3383 | }}} | |
| r113 | 3384 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3385 | }}} |
| r113 | 3386 | {{{#!if this._ParOpen == -1 |
| 3387 | {{{#!if this.Match=true | |
| r95 | 3388 | }}} |
| r113 | 3389 | }}}{{{#!if this._ParOpen != -1 |
| 3390 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3391 | }}} |
| 3392 | }}} | |
| r113 | 3393 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3394 | }}} |
| r113 | 3395 | {{{#!if this._ParOpen == -1 |
| 3396 | {{{#!if this.Match=true | |
| r95 | 3397 | }}} |
| r113 | 3398 | }}}{{{#!if this._ParOpen != -1 |
| 3399 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3400 | }}} |
| 3401 | }}} | |
| r113 | 3402 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3403 | }}} |
| r113 | 3404 | {{{#!if this._ParOpen == -1 |
| 3405 | {{{#!if this.Match=true | |
| r95 | 3406 | }}} |
| r113 | 3407 | }}}{{{#!if this._ParOpen != -1 |
| 3408 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3409 | }}} |
| 3410 | }}} | |
| r113 | 3411 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3412 | }}} |
| r113 | 3413 | {{{#!if this._ParOpen == -1 |
| 3414 | {{{#!if this.Match=true | |
| r95 | 3415 | }}} |
| r113 | 3416 | }}}{{{#!if this._ParOpen != -1 |
| 3417 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3418 | }}} |
| 3419 | }}} | |
| 3420 | }}} | |
| r113 | 3421 | ##### |
| 3422 | {{{#!if this.Match | |
| 3423 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3424 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r92 | 3425 | }}} |
| r95 | 3426 | }}} |
| r113 | 3427 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3428 | {{{#!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="') | |
| 3429 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3430 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3431 | }}} |
| r113 | 3432 | {{{#!if this.DarkStyleL==-1 |
| 3433 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r92 | 3434 | }}}}}} |
| r113 | 3435 | {{{#!if this.DarkStyleL!=-1 |
| 3436 | {{{#!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) | |
| 3437 | }}}}}} | |
| 3438 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3439 | }}} |
| 3440 | }}} | |
| r92 | 3441 | }}} |
| r113 | 3442 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3443 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3444 | }}}{{{#!if this.Blank!=-1 | |
| 3445 | {{{#!if this.Comma != -1 | |
| 3446 | {{{#!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) | |
| r95 | 3447 | }}} |
| 3448 | }}} | |
| r113 | 3449 | {{{#!if this.Comma == -1 |
| 3450 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3451 | }}} |
| r113 | 3452 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3453 | }}}{{{#!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) | |
| r95 | 3454 | }}} |
| 3455 | }}} | |
| 3456 | }}} | |
| r113 | 3457 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3458 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3459 | }}}{{{#!if this.Blank==5 | |
| 3460 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3461 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3462 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3463 | }}}{{{#!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) | |
| r95 | 3464 | }}} |
| 3465 | }}} | |
| r92 | 3466 | }}} |
| 3467 | }}} | |
| 3468 | }}} | |
| r113 | 3469 | ##### |
| 3470 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3471 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3472 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3473 | }}} |
| r113 | 3474 | {{{#!if this._ParOpen == -1 |
| 3475 | {{{#!if this.Match=true | |
| r95 | 3476 | }}} |
| r113 | 3477 | }}}{{{#!if this._ParOpen != -1 |
| 3478 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3479 | }}} |
| 3480 | }}} | |
| r113 | 3481 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3482 | }}} |
| r113 | 3483 | {{{#!if this._ParOpen == -1 |
| 3484 | {{{#!if this.Match=true | |
| r95 | 3485 | }}} |
| r113 | 3486 | }}}{{{#!if this._ParOpen != -1 |
| 3487 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3488 | }}} |
| 3489 | }}} | |
| r113 | 3490 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3491 | }}} |
| r113 | 3492 | {{{#!if this._ParOpen == -1 |
| 3493 | {{{#!if this.Match=true | |
| r95 | 3494 | }}} |
| r113 | 3495 | }}}{{{#!if this._ParOpen != -1 |
| 3496 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3497 | }}} |
| 3498 | }}} | |
| r113 | 3499 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3500 | }}} |
| r113 | 3501 | {{{#!if this._ParOpen == -1 |
| 3502 | {{{#!if this.Match=true | |
| r95 | 3503 | }}} |
| r113 | 3504 | }}}{{{#!if this._ParOpen != -1 |
| 3505 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3506 | }}} |
| 3507 | }}} | |
| r113 | 3508 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3509 | }}} |
| r113 | 3510 | {{{#!if this._ParOpen == -1 |
| 3511 | {{{#!if this.Match=true | |
| r95 | 3512 | }}} |
| r113 | 3513 | }}}{{{#!if this._ParOpen != -1 |
| 3514 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3515 | }}} |
| 3516 | }}} | |
| r113 | 3517 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3518 | }}} |
| r113 | 3519 | {{{#!if this._ParOpen == -1 |
| 3520 | {{{#!if this.Match=true | |
| r95 | 3521 | }}} |
| r113 | 3522 | }}}{{{#!if this._ParOpen != -1 |
| 3523 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3524 | }}} |
| 3525 | }}} | |
| r113 | 3526 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3527 | }}} |
| r113 | 3528 | {{{#!if this._ParOpen == -1 |
| 3529 | {{{#!if this.Match=true | |
| r95 | 3530 | }}} |
| r113 | 3531 | }}}{{{#!if this._ParOpen != -1 |
| 3532 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3533 | }}} |
| 3534 | }}} | |
| 3535 | }}} | |
| r113 | 3536 | ##### |
| 3537 | {{{#!if this.Match | |
| 3538 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3539 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3540 | }}} |
| 3541 | }}} | |
| r113 | 3542 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3543 | {{{#!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="') | |
| 3544 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3545 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3546 | }}} |
| r113 | 3547 | {{{#!if this.DarkStyleL==-1 |
| 3548 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3549 | }}}}}} |
| r113 | 3550 | {{{#!if this.DarkStyleL!=-1 |
| 3551 | {{{#!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) | |
| 3552 | }}}}}} | |
| 3553 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3554 | }}} |
| 3555 | }}} | |
| 3556 | }}} | |
| r113 | 3557 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3558 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3559 | }}}{{{#!if this.Blank!=-1 | |
| 3560 | {{{#!if this.Comma != -1 | |
| 3561 | {{{#!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) | |
| r95 | 3562 | }}} |
| 3563 | }}} | |
| r113 | 3564 | {{{#!if this.Comma == -1 |
| 3565 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3566 | }}} |
| r113 | 3567 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3568 | }}}{{{#!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) | |
| r95 | 3569 | }}} |
| 3570 | }}} | |
| 3571 | }}} | |
| r113 | 3572 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3573 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3574 | }}}{{{#!if this.Blank==5 | |
| 3575 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3576 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3577 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3578 | }}}{{{#!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) | |
| r95 | 3579 | }}} |
| 3580 | }}} | |
| 3581 | }}} | |
| 3582 | }}} | |
| 3583 | }}} | |
| r113 | 3584 | ##### |
| 3585 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3586 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3587 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3588 | }}} |
| r113 | 3589 | {{{#!if this._ParOpen == -1 |
| 3590 | {{{#!if this.Match=true | |
| r95 | 3591 | }}} |
| r113 | 3592 | }}}{{{#!if this._ParOpen != -1 |
| 3593 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3594 | }}} |
| 3595 | }}} | |
| r113 | 3596 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3597 | }}} |
| r113 | 3598 | {{{#!if this._ParOpen == -1 |
| 3599 | {{{#!if this.Match=true | |
| r95 | 3600 | }}} |
| r113 | 3601 | }}}{{{#!if this._ParOpen != -1 |
| 3602 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3603 | }}} |
| 3604 | }}} | |
| r113 | 3605 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3606 | }}} |
| r113 | 3607 | {{{#!if this._ParOpen == -1 |
| 3608 | {{{#!if this.Match=true | |
| r95 | 3609 | }}} |
| r113 | 3610 | }}}{{{#!if this._ParOpen != -1 |
| 3611 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3612 | }}} |
| 3613 | }}} | |
| r113 | 3614 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3615 | }}} |
| r113 | 3616 | {{{#!if this._ParOpen == -1 |
| 3617 | {{{#!if this.Match=true | |
| r95 | 3618 | }}} |
| r113 | 3619 | }}}{{{#!if this._ParOpen != -1 |
| 3620 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3621 | }}} |
| 3622 | }}} | |
| r113 | 3623 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3624 | }}} |
| r113 | 3625 | {{{#!if this._ParOpen == -1 |
| 3626 | {{{#!if this.Match=true | |
| r95 | 3627 | }}} |
| r113 | 3628 | }}}{{{#!if this._ParOpen != -1 |
| 3629 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3630 | }}} |
| 3631 | }}} | |
| r113 | 3632 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3633 | }}} |
| r113 | 3634 | {{{#!if this._ParOpen == -1 |
| 3635 | {{{#!if this.Match=true | |
| r95 | 3636 | }}} |
| r113 | 3637 | }}}{{{#!if this._ParOpen != -1 |
| 3638 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3639 | }}} |
| 3640 | }}} | |
| r113 | 3641 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3642 | }}} |
| r113 | 3643 | {{{#!if this._ParOpen == -1 |
| 3644 | {{{#!if this.Match=true | |
| r95 | 3645 | }}} |
| r113 | 3646 | }}}{{{#!if this._ParOpen != -1 |
| 3647 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3648 | }}} |
| 3649 | }}} | |
| 3650 | }}} | |
| r113 | 3651 | ##### |
| 3652 | {{{#!if this.Match | |
| 3653 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3654 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3655 | }}} |
| 3656 | }}} | |
| r113 | 3657 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3658 | {{{#!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="') | |
| 3659 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3660 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3661 | }}} |
| r113 | 3662 | {{{#!if this.DarkStyleL==-1 |
| 3663 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3664 | }}}}}} |
| r113 | 3665 | {{{#!if this.DarkStyleL!=-1 |
| 3666 | {{{#!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) | |
| 3667 | }}}}}} | |
| 3668 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3669 | }}} |
| 3670 | }}} | |
| 3671 | }}} | |
| r113 | 3672 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3673 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3674 | }}}{{{#!if this.Blank!=-1 | |
| 3675 | {{{#!if this.Comma != -1 | |
| 3676 | {{{#!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) | |
| r95 | 3677 | }}} |
| 3678 | }}} | |
| r113 | 3679 | {{{#!if this.Comma == -1 |
| 3680 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3681 | }}} |
| r113 | 3682 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3683 | }}}{{{#!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) | |
| r95 | 3684 | }}} |
| 3685 | }}} | |
| 3686 | }}} | |
| r113 | 3687 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3688 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3689 | }}}{{{#!if this.Blank==5 | |
| 3690 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3691 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3692 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3693 | }}}{{{#!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) | |
| r95 | 3694 | }}} |
| 3695 | }}} | |
| 3696 | }}} | |
| 3697 | }}} | |
| 3698 | }}} | |
| r113 | 3699 | ##### |
| 3700 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3701 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3702 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3703 | }}} |
| r113 | 3704 | {{{#!if this._ParOpen == -1 |
| 3705 | {{{#!if this.Match=true | |
| r95 | 3706 | }}} |
| r113 | 3707 | }}}{{{#!if this._ParOpen != -1 |
| 3708 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3709 | }}} |
| 3710 | }}} | |
| r113 | 3711 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3712 | }}} |
| r113 | 3713 | {{{#!if this._ParOpen == -1 |
| 3714 | {{{#!if this.Match=true | |
| r95 | 3715 | }}} |
| r113 | 3716 | }}}{{{#!if this._ParOpen != -1 |
| 3717 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3718 | }}} |
| 3719 | }}} | |
| r113 | 3720 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3721 | }}} |
| r113 | 3722 | {{{#!if this._ParOpen == -1 |
| 3723 | {{{#!if this.Match=true | |
| r95 | 3724 | }}} |
| r113 | 3725 | }}}{{{#!if this._ParOpen != -1 |
| 3726 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3727 | }}} |
| 3728 | }}} | |
| r113 | 3729 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3730 | }}} |
| r113 | 3731 | {{{#!if this._ParOpen == -1 |
| 3732 | {{{#!if this.Match=true | |
| r95 | 3733 | }}} |
| r113 | 3734 | }}}{{{#!if this._ParOpen != -1 |
| 3735 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3736 | }}} |
| 3737 | }}} | |
| r113 | 3738 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3739 | }}} |
| r113 | 3740 | {{{#!if this._ParOpen == -1 |
| 3741 | {{{#!if this.Match=true | |
| r95 | 3742 | }}} |
| r113 | 3743 | }}}{{{#!if this._ParOpen != -1 |
| 3744 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3745 | }}} |
| 3746 | }}} | |
| r113 | 3747 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3748 | }}} |
| r113 | 3749 | {{{#!if this._ParOpen == -1 |
| 3750 | {{{#!if this.Match=true | |
| r95 | 3751 | }}} |
| r113 | 3752 | }}}{{{#!if this._ParOpen != -1 |
| 3753 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3754 | }}} |
| 3755 | }}} | |
| r113 | 3756 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3757 | }}} |
| r113 | 3758 | {{{#!if this._ParOpen == -1 |
| 3759 | {{{#!if this.Match=true | |
| r95 | 3760 | }}} |
| r113 | 3761 | }}}{{{#!if this._ParOpen != -1 |
| 3762 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3763 | }}} |
| 3764 | }}} | |
| 3765 | }}} | |
| r113 | 3766 | ##### |
| 3767 | {{{#!if this.Match | |
| 3768 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3769 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3770 | }}} |
| 3771 | }}} | |
| r113 | 3772 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3773 | {{{#!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="') | |
| 3774 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3775 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3776 | }}} |
| r113 | 3777 | {{{#!if this.DarkStyleL==-1 |
| 3778 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3779 | }}}}}} |
| r113 | 3780 | {{{#!if this.DarkStyleL!=-1 |
| 3781 | {{{#!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) | |
| 3782 | }}}}}} | |
| 3783 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3784 | }}} |
| 3785 | }}} | |
| 3786 | }}} | |
| r113 | 3787 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3788 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3789 | }}}{{{#!if this.Blank!=-1 | |
| 3790 | {{{#!if this.Comma != -1 | |
| 3791 | {{{#!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) | |
| r95 | 3792 | }}} |
| 3793 | }}} | |
| r113 | 3794 | {{{#!if this.Comma == -1 |
| 3795 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3796 | }}} |
| r113 | 3797 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3798 | }}}{{{#!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) | |
| r95 | 3799 | }}} |
| 3800 | }}} | |
| 3801 | }}} | |
| r113 | 3802 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3803 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3804 | }}}{{{#!if this.Blank==5 | |
| 3805 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3806 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3807 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3808 | }}}{{{#!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) | |
| r95 | 3809 | }}} |
| 3810 | }}} | |
| 3811 | }}} | |
| 3812 | }}} | |
| 3813 | }}} | |
| r113 | 3814 | ##### |
| 3815 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3816 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3817 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3818 | }}} |
| r113 | 3819 | {{{#!if this._ParOpen == -1 |
| 3820 | {{{#!if this.Match=true | |
| r95 | 3821 | }}} |
| r113 | 3822 | }}}{{{#!if this._ParOpen != -1 |
| 3823 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3824 | }}} |
| 3825 | }}} | |
| r113 | 3826 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3827 | }}} |
| r113 | 3828 | {{{#!if this._ParOpen == -1 |
| 3829 | {{{#!if this.Match=true | |
| r95 | 3830 | }}} |
| r113 | 3831 | }}}{{{#!if this._ParOpen != -1 |
| 3832 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3833 | }}} |
| 3834 | }}} | |
| r113 | 3835 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3836 | }}} |
| r113 | 3837 | {{{#!if this._ParOpen == -1 |
| 3838 | {{{#!if this.Match=true | |
| r95 | 3839 | }}} |
| r113 | 3840 | }}}{{{#!if this._ParOpen != -1 |
| 3841 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3842 | }}} |
| 3843 | }}} | |
| r113 | 3844 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3845 | }}} |
| r113 | 3846 | {{{#!if this._ParOpen == -1 |
| 3847 | {{{#!if this.Match=true | |
| r95 | 3848 | }}} |
| r113 | 3849 | }}}{{{#!if this._ParOpen != -1 |
| 3850 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3851 | }}} |
| 3852 | }}} | |
| r113 | 3853 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3854 | }}} |
| r113 | 3855 | {{{#!if this._ParOpen == -1 |
| 3856 | {{{#!if this.Match=true | |
| r95 | 3857 | }}} |
| r113 | 3858 | }}}{{{#!if this._ParOpen != -1 |
| 3859 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3860 | }}} |
| 3861 | }}} | |
| r113 | 3862 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3863 | }}} |
| r113 | 3864 | {{{#!if this._ParOpen == -1 |
| 3865 | {{{#!if this.Match=true | |
| r95 | 3866 | }}} |
| r113 | 3867 | }}}{{{#!if this._ParOpen != -1 |
| 3868 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3869 | }}} |
| 3870 | }}} | |
| r113 | 3871 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3872 | }}} |
| r113 | 3873 | {{{#!if this._ParOpen == -1 |
| 3874 | {{{#!if this.Match=true | |
| r95 | 3875 | }}} |
| r113 | 3876 | }}}{{{#!if this._ParOpen != -1 |
| 3877 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3878 | }}} |
| 3879 | }}} | |
| 3880 | }}} | |
| r113 | 3881 | ##### |
| 3882 | {{{#!if this.Match | |
| 3883 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3884 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3885 | }}} |
| 3886 | }}} | |
| r113 | 3887 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3888 | {{{#!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="') | |
| 3889 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3890 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3891 | }}} |
| r113 | 3892 | {{{#!if this.DarkStyleL==-1 |
| 3893 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3894 | }}}}}} |
| r113 | 3895 | {{{#!if this.DarkStyleL!=-1 |
| 3896 | {{{#!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) | |
| 3897 | }}}}}} | |
| 3898 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3899 | }}} |
| 3900 | }}} | |
| 3901 | }}} | |
| r113 | 3902 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3903 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3904 | }}}{{{#!if this.Blank!=-1 | |
| 3905 | {{{#!if this.Comma != -1 | |
| 3906 | {{{#!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) | |
| r95 | 3907 | }}} |
| 3908 | }}} | |
| r113 | 3909 | {{{#!if this.Comma == -1 |
| 3910 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3911 | }}} |
| r113 | 3912 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3913 | }}}{{{#!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) | |
| r95 | 3914 | }}} |
| 3915 | }}} | |
| 3916 | }}} | |
| r113 | 3917 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3918 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3919 | }}}{{{#!if this.Blank==5 | |
| 3920 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3921 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3922 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3923 | }}}{{{#!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) | |
| r95 | 3924 | }}} |
| 3925 | }}} | |
| 3926 | }}} | |
| 3927 | }}} | |
| 3928 | }}} | |
| r113 | 3929 | ##### |
| 3930 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3931 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3932 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3933 | }}} |
| r113 | 3934 | {{{#!if this._ParOpen == -1 |
| 3935 | {{{#!if this.Match=true | |
| r95 | 3936 | }}} |
| r113 | 3937 | }}}{{{#!if this._ParOpen != -1 |
| 3938 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3939 | }}} |
| 3940 | }}} | |
| r113 | 3941 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3942 | }}} |
| r113 | 3943 | {{{#!if this._ParOpen == -1 |
| 3944 | {{{#!if this.Match=true | |
| r95 | 3945 | }}} |
| r113 | 3946 | }}}{{{#!if this._ParOpen != -1 |
| 3947 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3948 | }}} |
| 3949 | }}} | |
| r113 | 3950 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3951 | }}} |
| r113 | 3952 | {{{#!if this._ParOpen == -1 |
| 3953 | {{{#!if this.Match=true | |
| r95 | 3954 | }}} |
| r113 | 3955 | }}}{{{#!if this._ParOpen != -1 |
| 3956 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3957 | }}} |
| 3958 | }}} | |
| r113 | 3959 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3960 | }}} |
| r113 | 3961 | {{{#!if this._ParOpen == -1 |
| 3962 | {{{#!if this.Match=true | |
| r95 | 3963 | }}} |
| r113 | 3964 | }}}{{{#!if this._ParOpen != -1 |
| 3965 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3966 | }}} |
| 3967 | }}} | |
| r113 | 3968 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3969 | }}} |
| r113 | 3970 | {{{#!if this._ParOpen == -1 |
| 3971 | {{{#!if this.Match=true | |
| r95 | 3972 | }}} |
| r113 | 3973 | }}}{{{#!if this._ParOpen != -1 |
| 3974 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3975 | }}} |
| 3976 | }}} | |
| r113 | 3977 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3978 | }}} |
| r113 | 3979 | {{{#!if this._ParOpen == -1 |
| 3980 | {{{#!if this.Match=true | |
| r95 | 3981 | }}} |
| r113 | 3982 | }}}{{{#!if this._ParOpen != -1 |
| 3983 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3984 | }}} |
| 3985 | }}} | |
| r113 | 3986 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3987 | }}} |
| r113 | 3988 | {{{#!if this._ParOpen == -1 |
| 3989 | {{{#!if this.Match=true | |
| r95 | 3990 | }}} |
| r113 | 3991 | }}}{{{#!if this._ParOpen != -1 |
| 3992 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3993 | }}} |
| 3994 | }}} | |
| 3995 | }}} | |
| r113 | 3996 | ##### |
| 3997 | {{{#!if this.Match | |
| 3998 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3999 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4000 | }}} |
| 4001 | }}} | |
| r113 | 4002 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4003 | {{{#!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="') | |
| 4004 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4005 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4006 | }}} |
| r113 | 4007 | {{{#!if this.DarkStyleL==-1 |
| 4008 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4009 | }}}}}} |
| r113 | 4010 | {{{#!if this.DarkStyleL!=-1 |
| 4011 | {{{#!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) | |
| 4012 | }}}}}} | |
| 4013 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4014 | }}} |
| 4015 | }}} | |
| 4016 | }}} | |
| r113 | 4017 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4018 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4019 | }}}{{{#!if this.Blank!=-1 | |
| 4020 | {{{#!if this.Comma != -1 | |
| 4021 | {{{#!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) | |
| r95 | 4022 | }}} |
| 4023 | }}} | |
| r113 | 4024 | {{{#!if this.Comma == -1 |
| 4025 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4026 | }}} |
| r113 | 4027 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4028 | }}}{{{#!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) | |
| r95 | 4029 | }}} |
| 4030 | }}} | |
| 4031 | }}} | |
| r113 | 4032 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4033 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4034 | }}}{{{#!if this.Blank==5 | |
| 4035 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4036 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4037 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4038 | }}}{{{#!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) | |
| r95 | 4039 | }}} |
| 4040 | }}} | |
| 4041 | }}} | |
| 4042 | }}} | |
| 4043 | }}} | |
| r113 | 4044 | ##### |
| 4045 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4046 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4047 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4048 | }}} |
| r113 | 4049 | {{{#!if this._ParOpen == -1 |
| 4050 | {{{#!if this.Match=true | |
| r95 | 4051 | }}} |
| r113 | 4052 | }}}{{{#!if this._ParOpen != -1 |
| 4053 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4054 | }}} |
| 4055 | }}} | |
| r113 | 4056 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4057 | }}} |
| r113 | 4058 | {{{#!if this._ParOpen == -1 |
| 4059 | {{{#!if this.Match=true | |
| r95 | 4060 | }}} |
| r113 | 4061 | }}}{{{#!if this._ParOpen != -1 |
| 4062 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4063 | }}} |
| 4064 | }}} | |
| r113 | 4065 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4066 | }}} |
| r113 | 4067 | {{{#!if this._ParOpen == -1 |
| 4068 | {{{#!if this.Match=true | |
| r95 | 4069 | }}} |
| r113 | 4070 | }}}{{{#!if this._ParOpen != -1 |
| 4071 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4072 | }}} |
| 4073 | }}} | |
| r113 | 4074 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4075 | }}} |
| r113 | 4076 | {{{#!if this._ParOpen == -1 |
| 4077 | {{{#!if this.Match=true | |
| r95 | 4078 | }}} |
| r113 | 4079 | }}}{{{#!if this._ParOpen != -1 |
| 4080 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4081 | }}} |
| 4082 | }}} | |
| r113 | 4083 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4084 | }}} |
| r113 | 4085 | {{{#!if this._ParOpen == -1 |
| 4086 | {{{#!if this.Match=true | |
| r95 | 4087 | }}} |
| r113 | 4088 | }}}{{{#!if this._ParOpen != -1 |
| 4089 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4090 | }}} |
| 4091 | }}} | |
| r113 | 4092 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4093 | }}} |
| r113 | 4094 | {{{#!if this._ParOpen == -1 |
| 4095 | {{{#!if this.Match=true | |
| r95 | 4096 | }}} |
| r113 | 4097 | }}}{{{#!if this._ParOpen != -1 |
| 4098 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4099 | }}} |
| 4100 | }}} | |
| r113 | 4101 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4102 | }}} |
| r113 | 4103 | {{{#!if this._ParOpen == -1 |
| 4104 | {{{#!if this.Match=true | |
| r95 | 4105 | }}} |
| r113 | 4106 | }}}{{{#!if this._ParOpen != -1 |
| 4107 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4108 | }}} |
| 4109 | }}} | |
| 4110 | }}} | |
| r113 | 4111 | ##### |
| 4112 | {{{#!if this.Match | |
| 4113 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4114 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4115 | }}} |
| 4116 | }}} | |
| r113 | 4117 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4118 | {{{#!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="') | |
| 4119 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4120 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4121 | }}} |
| r113 | 4122 | {{{#!if this.DarkStyleL==-1 |
| 4123 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4124 | }}}}}} |
| r113 | 4125 | {{{#!if this.DarkStyleL!=-1 |
| 4126 | {{{#!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) | |
| 4127 | }}}}}} | |
| 4128 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4129 | }}} |
| 4130 | }}} | |
| 4131 | }}} | |
| r113 | 4132 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4133 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4134 | }}}{{{#!if this.Blank!=-1 | |
| 4135 | {{{#!if this.Comma != -1 | |
| 4136 | {{{#!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) | |
| r95 | 4137 | }}} |
| 4138 | }}} | |
| r113 | 4139 | {{{#!if this.Comma == -1 |
| 4140 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4141 | }}} |
| r113 | 4142 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4143 | }}}{{{#!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) | |
| r95 | 4144 | }}} |
| 4145 | }}} | |
| 4146 | }}} | |
| r113 | 4147 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4148 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4149 | }}}{{{#!if this.Blank==5 | |
| 4150 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4151 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4152 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4153 | }}}{{{#!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) | |
| r95 | 4154 | }}} |
| 4155 | }}} | |
| 4156 | }}} | |
| 4157 | }}} | |
| 4158 | }}} | |
| r113 | 4159 | ##### |
| 4160 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4161 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4162 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4163 | }}} |
| r113 | 4164 | {{{#!if this._ParOpen == -1 |
| 4165 | {{{#!if this.Match=true | |
| r95 | 4166 | }}} |
| r113 | 4167 | }}}{{{#!if this._ParOpen != -1 |
| 4168 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4169 | }}} |
| 4170 | }}} | |
| r113 | 4171 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4172 | }}} |
| r113 | 4173 | {{{#!if this._ParOpen == -1 |
| 4174 | {{{#!if this.Match=true | |
| r95 | 4175 | }}} |
| r113 | 4176 | }}}{{{#!if this._ParOpen != -1 |
| 4177 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4178 | }}} |
| 4179 | }}} | |
| r113 | 4180 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4181 | }}} |
| r113 | 4182 | {{{#!if this._ParOpen == -1 |
| 4183 | {{{#!if this.Match=true | |
| r95 | 4184 | }}} |
| r113 | 4185 | }}}{{{#!if this._ParOpen != -1 |
| 4186 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4187 | }}} |
| 4188 | }}} | |
| r113 | 4189 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4190 | }}} |
| r113 | 4191 | {{{#!if this._ParOpen == -1 |
| 4192 | {{{#!if this.Match=true | |
| r95 | 4193 | }}} |
| r113 | 4194 | }}}{{{#!if this._ParOpen != -1 |
| 4195 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4196 | }}} |
| 4197 | }}} | |
| r113 | 4198 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4199 | }}} |
| r113 | 4200 | {{{#!if this._ParOpen == -1 |
| 4201 | {{{#!if this.Match=true | |
| r95 | 4202 | }}} |
| r113 | 4203 | }}}{{{#!if this._ParOpen != -1 |
| 4204 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4205 | }}} |
| 4206 | }}} | |
| r113 | 4207 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4208 | }}} |
| r113 | 4209 | {{{#!if this._ParOpen == -1 |
| 4210 | {{{#!if this.Match=true | |
| r95 | 4211 | }}} |
| r113 | 4212 | }}}{{{#!if this._ParOpen != -1 |
| 4213 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4214 | }}} |
| 4215 | }}} | |
| r113 | 4216 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4217 | }}} |
| r113 | 4218 | {{{#!if this._ParOpen == -1 |
| 4219 | {{{#!if this.Match=true | |
| r95 | 4220 | }}} |
| r113 | 4221 | }}}{{{#!if this._ParOpen != -1 |
| 4222 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4223 | }}} |
| 4224 | }}} | |
| 4225 | }}} | |
| r113 | 4226 | ##### |
| 4227 | {{{#!if this.Match | |
| 4228 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4229 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4230 | }}} |
| 4231 | }}} | |
| r113 | 4232 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4233 | {{{#!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="') | |
| 4234 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4235 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4236 | }}} |
| r113 | 4237 | {{{#!if this.DarkStyleL==-1 |
| 4238 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4239 | }}}}}} |
| r113 | 4240 | {{{#!if this.DarkStyleL!=-1 |
| 4241 | {{{#!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) | |
| 4242 | }}}}}} | |
| 4243 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4244 | }}} |
| 4245 | }}} | |
| 4246 | }}} | |
| r113 | 4247 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4248 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4249 | }}}{{{#!if this.Blank!=-1 | |
| 4250 | {{{#!if this.Comma != -1 | |
| 4251 | {{{#!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) | |
| r95 | 4252 | }}} |
| 4253 | }}} | |
| r113 | 4254 | {{{#!if this.Comma == -1 |
| 4255 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4256 | }}} |
| r113 | 4257 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4258 | }}}{{{#!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) | |
| r95 | 4259 | }}} |
| 4260 | }}} | |
| 4261 | }}} | |
| r113 | 4262 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4263 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4264 | }}}{{{#!if this.Blank==5 | |
| 4265 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4266 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4267 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4268 | }}}{{{#!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) | |
| r95 | 4269 | }}} |
| 4270 | }}} | |
| 4271 | }}} | |
| 4272 | }}} | |
| 4273 | }}} | |
| r113 | 4274 | ##### |
| 4275 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4276 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4277 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4278 | }}} |
| r113 | 4279 | {{{#!if this._ParOpen == -1 |
| 4280 | {{{#!if this.Match=true | |
| r95 | 4281 | }}} |
| r113 | 4282 | }}}{{{#!if this._ParOpen != -1 |
| 4283 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4284 | }}} |
| 4285 | }}} | |
| r113 | 4286 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4287 | }}} |
| r113 | 4288 | {{{#!if this._ParOpen == -1 |
| 4289 | {{{#!if this.Match=true | |
| r95 | 4290 | }}} |
| r113 | 4291 | }}}{{{#!if this._ParOpen != -1 |
| 4292 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4293 | }}} |
| 4294 | }}} | |
| r113 | 4295 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4296 | }}} |
| r113 | 4297 | {{{#!if this._ParOpen == -1 |
| 4298 | {{{#!if this.Match=true | |
| r95 | 4299 | }}} |
| r113 | 4300 | }}}{{{#!if this._ParOpen != -1 |
| 4301 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4302 | }}} |
| 4303 | }}} | |
| r113 | 4304 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4305 | }}} |
| r113 | 4306 | {{{#!if this._ParOpen == -1 |
| 4307 | {{{#!if this.Match=true | |
| r95 | 4308 | }}} |
| r113 | 4309 | }}}{{{#!if this._ParOpen != -1 |
| 4310 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4311 | }}} |
| 4312 | }}} | |
| r113 | 4313 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4314 | }}} |
| r113 | 4315 | {{{#!if this._ParOpen == -1 |
| 4316 | {{{#!if this.Match=true | |
| r95 | 4317 | }}} |
| r113 | 4318 | }}}{{{#!if this._ParOpen != -1 |
| 4319 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4320 | }}} |
| 4321 | }}} | |
| r113 | 4322 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4323 | }}} |
| r113 | 4324 | {{{#!if this._ParOpen == -1 |
| 4325 | {{{#!if this.Match=true | |
| r95 | 4326 | }}} |
| r113 | 4327 | }}}{{{#!if this._ParOpen != -1 |
| 4328 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4329 | }}} |
| 4330 | }}} | |
| r113 | 4331 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4332 | }}} |
| r113 | 4333 | {{{#!if this._ParOpen == -1 |
| 4334 | {{{#!if this.Match=true | |
| r95 | 4335 | }}} |
| r113 | 4336 | }}}{{{#!if this._ParOpen != -1 |
| 4337 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4338 | }}} |
| 4339 | }}} | |
| 4340 | }}} | |
| r113 | 4341 | ##### |
| 4342 | {{{#!if this.Match | |
| 4343 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4344 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4345 | }}} |
| 4346 | }}} | |
| r113 | 4347 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4348 | {{{#!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="') | |
| 4349 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4350 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4351 | }}} |
| r113 | 4352 | {{{#!if this.DarkStyleL==-1 |
| 4353 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4354 | }}}}}} |
| r113 | 4355 | {{{#!if this.DarkStyleL!=-1 |
| 4356 | {{{#!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) | |
| 4357 | }}}}}} | |
| 4358 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4359 | }}} |
| 4360 | }}} | |
| 4361 | }}} | |
| r113 | 4362 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4363 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4364 | }}}{{{#!if this.Blank!=-1 | |
| 4365 | {{{#!if this.Comma != -1 | |
| 4366 | {{{#!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) | |
| r95 | 4367 | }}} |
| 4368 | }}} | |
| r113 | 4369 | {{{#!if this.Comma == -1 |
| 4370 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4371 | }}} |
| r113 | 4372 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4373 | }}}{{{#!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) | |
| r95 | 4374 | }}} |
| 4375 | }}} | |
| 4376 | }}} | |
| r113 | 4377 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4378 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4379 | }}}{{{#!if this.Blank==5 | |
| 4380 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4381 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4382 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4383 | }}}{{{#!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) | |
| r95 | 4384 | }}} |
| 4385 | }}} | |
| 4386 | }}} | |
| 4387 | }}} | |
| 4388 | }}} | |
| r113 | 4389 | ##### |
| 4390 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4391 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4392 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4393 | }}} |
| r113 | 4394 | {{{#!if this._ParOpen == -1 |
| 4395 | {{{#!if this.Match=true | |
| r95 | 4396 | }}} |
| r113 | 4397 | }}}{{{#!if this._ParOpen != -1 |
| 4398 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4399 | }}} |
| 4400 | }}} | |
| r113 | 4401 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4402 | }}} |
| r113 | 4403 | {{{#!if this._ParOpen == -1 |
| 4404 | {{{#!if this.Match=true | |
| r95 | 4405 | }}} |
| r113 | 4406 | }}}{{{#!if this._ParOpen != -1 |
| 4407 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4408 | }}} |
| 4409 | }}} | |
| r113 | 4410 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4411 | }}} |
| r113 | 4412 | {{{#!if this._ParOpen == -1 |
| 4413 | {{{#!if this.Match=true | |
| r95 | 4414 | }}} |
| r113 | 4415 | }}}{{{#!if this._ParOpen != -1 |
| 4416 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4417 | }}} |
| 4418 | }}} | |
| r113 | 4419 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4420 | }}} |
| r113 | 4421 | {{{#!if this._ParOpen == -1 |
| 4422 | {{{#!if this.Match=true | |
| r95 | 4423 | }}} |
| r113 | 4424 | }}}{{{#!if this._ParOpen != -1 |
| 4425 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4426 | }}} |
| 4427 | }}} | |
| r113 | 4428 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4429 | }}} |
| r113 | 4430 | {{{#!if this._ParOpen == -1 |
| 4431 | {{{#!if this.Match=true | |
| r95 | 4432 | }}} |
| r113 | 4433 | }}}{{{#!if this._ParOpen != -1 |
| 4434 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4435 | }}} |
| 4436 | }}} | |
| r113 | 4437 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4438 | }}} |
| r113 | 4439 | {{{#!if this._ParOpen == -1 |
| 4440 | {{{#!if this.Match=true | |
| r95 | 4441 | }}} |
| r113 | 4442 | }}}{{{#!if this._ParOpen != -1 |
| 4443 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4444 | }}} |
| 4445 | }}} | |
| r113 | 4446 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4447 | }}} |
| r113 | 4448 | {{{#!if this._ParOpen == -1 |
| 4449 | {{{#!if this.Match=true | |
| r95 | 4450 | }}} |
| r113 | 4451 | }}}{{{#!if this._ParOpen != -1 |
| 4452 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4453 | }}} |
| 4454 | }}} | |
| 4455 | }}} | |
| r113 | 4456 | ##### |
| 4457 | {{{#!if this.Match | |
| 4458 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4459 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4460 | }}} |
| 4461 | }}} | |
| r113 | 4462 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4463 | {{{#!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="') | |
| 4464 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4465 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4466 | }}} |
| r113 | 4467 | {{{#!if this.DarkStyleL==-1 |
| 4468 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4469 | }}}}}} |
| r113 | 4470 | {{{#!if this.DarkStyleL!=-1 |
| 4471 | {{{#!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) | |
| 4472 | }}}}}} | |
| 4473 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4474 | }}} |
| 4475 | }}} | |
| 4476 | }}} | |
| r113 | 4477 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4478 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4479 | }}}{{{#!if this.Blank!=-1 | |
| 4480 | {{{#!if this.Comma != -1 | |
| 4481 | {{{#!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) | |
| r95 | 4482 | }}} |
| 4483 | }}} | |
| r113 | 4484 | {{{#!if this.Comma == -1 |
| 4485 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4486 | }}} |
| r113 | 4487 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4488 | }}}{{{#!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) | |
| r95 | 4489 | }}} |
| 4490 | }}} | |
| 4491 | }}} | |
| r113 | 4492 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4493 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4494 | }}}{{{#!if this.Blank==5 | |
| 4495 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4496 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4497 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4498 | }}}{{{#!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) | |
| r95 | 4499 | }}} |
| 4500 | }}} | |
| 4501 | }}} | |
| 4502 | }}} | |
| 4503 | }}} | |
| r113 | 4504 | ##### |
| 4505 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4506 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4507 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4508 | }}} |
| r113 | 4509 | {{{#!if this._ParOpen == -1 |
| 4510 | {{{#!if this.Match=true | |
| r95 | 4511 | }}} |
| r113 | 4512 | }}}{{{#!if this._ParOpen != -1 |
| 4513 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4514 | }}} |
| 4515 | }}} | |
| r113 | 4516 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4517 | }}} |
| r113 | 4518 | {{{#!if this._ParOpen == -1 |
| 4519 | {{{#!if this.Match=true | |
| r95 | 4520 | }}} |
| r113 | 4521 | }}}{{{#!if this._ParOpen != -1 |
| 4522 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4523 | }}} |
| 4524 | }}} | |
| r113 | 4525 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4526 | }}} |
| r113 | 4527 | {{{#!if this._ParOpen == -1 |
| 4528 | {{{#!if this.Match=true | |
| r95 | 4529 | }}} |
| r113 | 4530 | }}}{{{#!if this._ParOpen != -1 |
| 4531 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4532 | }}} |
| 4533 | }}} | |
| r113 | 4534 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4535 | }}} |
| r113 | 4536 | {{{#!if this._ParOpen == -1 |
| 4537 | {{{#!if this.Match=true | |
| r95 | 4538 | }}} |
| r113 | 4539 | }}}{{{#!if this._ParOpen != -1 |
| 4540 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4541 | }}} |
| 4542 | }}} | |
| r113 | 4543 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4544 | }}} |
| r113 | 4545 | {{{#!if this._ParOpen == -1 |
| 4546 | {{{#!if this.Match=true | |
| r95 | 4547 | }}} |
| r113 | 4548 | }}}{{{#!if this._ParOpen != -1 |
| 4549 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4550 | }}} |
| 4551 | }}} | |
| r113 | 4552 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4553 | }}} |
| r113 | 4554 | {{{#!if this._ParOpen == -1 |
| 4555 | {{{#!if this.Match=true | |
| r95 | 4556 | }}} |
| r113 | 4557 | }}}{{{#!if this._ParOpen != -1 |
| 4558 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4559 | }}} |
| 4560 | }}} | |
| r113 | 4561 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4562 | }}} |
| r113 | 4563 | {{{#!if this._ParOpen == -1 |
| 4564 | {{{#!if this.Match=true | |
| r95 | 4565 | }}} |
| r113 | 4566 | }}}{{{#!if this._ParOpen != -1 |
| 4567 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4568 | }}} |
| 4569 | }}} | |
| 4570 | }}} | |
| r113 | 4571 | ##### |
| 4572 | {{{#!if this.Match | |
| 4573 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4574 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4575 | }}} |
| 4576 | }}} | |
| r113 | 4577 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4578 | {{{#!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="') | |
| 4579 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4580 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4581 | }}} |
| r113 | 4582 | {{{#!if this.DarkStyleL==-1 |
| 4583 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4584 | }}}}}} |
| r113 | 4585 | {{{#!if this.DarkStyleL!=-1 |
| 4586 | {{{#!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) | |
| 4587 | }}}}}} | |
| 4588 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4589 | }}} |
| 4590 | }}} | |
| 4591 | }}} | |
| r113 | 4592 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4593 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4594 | }}}{{{#!if this.Blank!=-1 | |
| 4595 | {{{#!if this.Comma != -1 | |
| 4596 | {{{#!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) | |
| r95 | 4597 | }}} |
| 4598 | }}} | |
| r113 | 4599 | {{{#!if this.Comma == -1 |
| 4600 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4601 | }}} |
| r113 | 4602 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4603 | }}}{{{#!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) | |
| r95 | 4604 | }}} |
| 4605 | }}} | |
| 4606 | }}} | |
| r113 | 4607 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4608 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4609 | }}}{{{#!if this.Blank==5 | |
| 4610 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4611 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4612 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4613 | }}}{{{#!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) | |
| r95 | 4614 | }}} |
| 4615 | }}} | |
| 4616 | }}} | |
| 4617 | }}} | |
| 4618 | }}} | |
| r113 | 4619 | ##### |
| 4620 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4621 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4622 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4623 | }}} |
| r113 | 4624 | {{{#!if this._ParOpen == -1 |
| 4625 | {{{#!if this.Match=true | |
| r95 | 4626 | }}} |
| r113 | 4627 | }}}{{{#!if this._ParOpen != -1 |
| 4628 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4629 | }}} |
| 4630 | }}} | |
| r113 | 4631 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4632 | }}} |
| r113 | 4633 | {{{#!if this._ParOpen == -1 |
| 4634 | {{{#!if this.Match=true | |
| r95 | 4635 | }}} |
| r113 | 4636 | }}}{{{#!if this._ParOpen != -1 |
| 4637 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4638 | }}} |
| 4639 | }}} | |
| r113 | 4640 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4641 | }}} |
| r113 | 4642 | {{{#!if this._ParOpen == -1 |
| 4643 | {{{#!if this.Match=true | |
| r95 | 4644 | }}} |
| r113 | 4645 | }}}{{{#!if this._ParOpen != -1 |
| 4646 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4647 | }}} |
| 4648 | }}} | |
| r113 | 4649 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4650 | }}} |
| r113 | 4651 | {{{#!if this._ParOpen == -1 |
| 4652 | {{{#!if this.Match=true | |
| r95 | 4653 | }}} |
| r113 | 4654 | }}}{{{#!if this._ParOpen != -1 |
| 4655 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4656 | }}} |
| 4657 | }}} | |
| r113 | 4658 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4659 | }}} |
| r113 | 4660 | {{{#!if this._ParOpen == -1 |
| 4661 | {{{#!if this.Match=true | |
| r95 | 4662 | }}} |
| r113 | 4663 | }}}{{{#!if this._ParOpen != -1 |
| 4664 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4665 | }}} |
| 4666 | }}} | |
| r113 | 4667 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4668 | }}} |
| r113 | 4669 | {{{#!if this._ParOpen == -1 |
| 4670 | {{{#!if this.Match=true | |
| r95 | 4671 | }}} |
| r113 | 4672 | }}}{{{#!if this._ParOpen != -1 |
| 4673 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4674 | }}} |
| 4675 | }}} | |
| r113 | 4676 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4677 | }}} |
| r113 | 4678 | {{{#!if this._ParOpen == -1 |
| 4679 | {{{#!if this.Match=true | |
| r95 | 4680 | }}} |
| r113 | 4681 | }}}{{{#!if this._ParOpen != -1 |
| 4682 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4683 | }}} |
| 4684 | }}} | |
| 4685 | }}} | |
| r113 | 4686 | ##### |
| 4687 | {{{#!if this.Match | |
| 4688 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4689 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4690 | }}} |
| 4691 | }}} | |
| r113 | 4692 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4693 | {{{#!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="') | |
| 4694 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4695 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4696 | }}} |
| r113 | 4697 | {{{#!if this.DarkStyleL==-1 |
| 4698 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4699 | }}}}}} |
| r113 | 4700 | {{{#!if this.DarkStyleL!=-1 |
| 4701 | {{{#!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) | |
| 4702 | }}}}}} | |
| 4703 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4704 | }}} |
| 4705 | }}} | |
| 4706 | }}} | |
| r113 | 4707 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4708 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4709 | }}}{{{#!if this.Blank!=-1 | |
| 4710 | {{{#!if this.Comma != -1 | |
| 4711 | {{{#!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) | |
| r95 | 4712 | }}} |
| 4713 | }}} | |
| r113 | 4714 | {{{#!if this.Comma == -1 |
| 4715 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4716 | }}} |
| r113 | 4717 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4718 | }}}{{{#!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) | |
| r95 | 4719 | }}} |
| 4720 | }}} | |
| 4721 | }}} | |
| r113 | 4722 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4723 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4724 | }}}{{{#!if this.Blank==5 | |
| 4725 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4726 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4727 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4728 | }}}{{{#!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) | |
| r95 | 4729 | }}} |
| 4730 | }}} | |
| 4731 | }}} | |
| 4732 | }}} | |
| 4733 | }}} | |
| r113 | 4734 | ##### |
| 4735 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4736 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4737 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4738 | }}} |
| r113 | 4739 | {{{#!if this._ParOpen == -1 |
| 4740 | {{{#!if this.Match=true | |
| r109 | 4741 | }}} |
| r113 | 4742 | }}}{{{#!if this._ParOpen != -1 |
| 4743 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4744 | }}} |
| 4745 | }}} | |
| r113 | 4746 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4747 | }}} |
| r113 | 4748 | {{{#!if this._ParOpen == -1 |
| 4749 | {{{#!if this.Match=true | |
| r109 | 4750 | }}} |
| r113 | 4751 | }}}{{{#!if this._ParOpen != -1 |
| 4752 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4753 | }}} |
| 4754 | }}} | |
| r113 | 4755 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4756 | }}} |
| r113 | 4757 | {{{#!if this._ParOpen == -1 |
| 4758 | {{{#!if this.Match=true | |
| r109 | 4759 | }}} |
| r113 | 4760 | }}}{{{#!if this._ParOpen != -1 |
| 4761 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4762 | }}} |
| 4763 | }}} | |
| r113 | 4764 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4765 | }}} |
| r113 | 4766 | {{{#!if this._ParOpen == -1 |
| 4767 | {{{#!if this.Match=true | |
| r109 | 4768 | }}} |
| r113 | 4769 | }}}{{{#!if this._ParOpen != -1 |
| 4770 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4771 | }}} |
| 4772 | }}} | |
| r113 | 4773 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4774 | }}} |
| r113 | 4775 | {{{#!if this._ParOpen == -1 |
| 4776 | {{{#!if this.Match=true | |
| r109 | 4777 | }}} |
| r113 | 4778 | }}}{{{#!if this._ParOpen != -1 |
| 4779 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4780 | }}} |
| 4781 | }}} | |
| r113 | 4782 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4783 | }}} |
| r113 | 4784 | {{{#!if this._ParOpen == -1 |
| 4785 | {{{#!if this.Match=true | |
| r109 | 4786 | }}} |
| r113 | 4787 | }}}{{{#!if this._ParOpen != -1 |
| 4788 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4789 | }}} |
| 4790 | }}} | |
| 4791 | }}} | |
| r113 | 4792 | ##### |
| 4793 | {{{#!if this.Match | |
| 4794 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4795 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4796 | }}} |
| 4797 | }}} | |
| r113 | 4798 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4799 | {{{#!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="') | |
| 4800 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4801 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4802 | }}} |
| r113 | 4803 | {{{#!if this.DarkStyleL==-1 |
| 4804 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4805 | }}}}}} |
| r113 | 4806 | {{{#!if this.DarkStyleL!=-1 |
| 4807 | {{{#!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) | |
| 4808 | }}}}}} | |
| 4809 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4810 | }}} |
| 4811 | }}} | |
| 4812 | }}} | |
| r113 | 4813 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4814 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4815 | }}}{{{#!if this.Blank!=-1 | |
| 4816 | {{{#!if this.Comma != -1 | |
| 4817 | {{{#!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) | |
| r109 | 4818 | }}} |
| 4819 | }}} | |
| r113 | 4820 | {{{#!if this.Comma == -1 |
| 4821 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 4822 | }}} |
| r113 | 4823 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4824 | }}}{{{#!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) | |
| r109 | 4825 | }}} |
| 4826 | }}} | |
| 4827 | }}} | |
| r113 | 4828 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4829 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4830 | }}}{{{#!if this.Blank==5 | |
| 4831 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4832 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4833 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4834 | }}}{{{#!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) | |
| r109 | 4835 | }}} |
| 4836 | }}} | |
| 4837 | }}} | |
| 4838 | }}} | |
| 4839 | }}} | |
| r113 | 4840 | ##### |
| 4841 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4842 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4843 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4844 | }}} |
| r113 | 4845 | {{{#!if this._ParOpen == -1 |
| 4846 | {{{#!if this.Match=true | |
| r109 | 4847 | }}} |
| r113 | 4848 | }}}{{{#!if this._ParOpen != -1 |
| 4849 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4850 | }}} |
| 4851 | }}} | |
| r113 | 4852 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4853 | }}} |
| r113 | 4854 | {{{#!if this._ParOpen == -1 |
| 4855 | {{{#!if this.Match=true | |
| r109 | 4856 | }}} |
| r113 | 4857 | }}}{{{#!if this._ParOpen != -1 |
| 4858 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4859 | }}} |
| 4860 | }}} | |
| r113 | 4861 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4862 | }}} |
| r113 | 4863 | {{{#!if this._ParOpen == -1 |
| 4864 | {{{#!if this.Match=true | |
| r109 | 4865 | }}} |
| r113 | 4866 | }}}{{{#!if this._ParOpen != -1 |
| 4867 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4868 | }}} |
| 4869 | }}} | |
| r113 | 4870 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4871 | }}} |
| r113 | 4872 | {{{#!if this._ParOpen == -1 |
| 4873 | {{{#!if this.Match=true | |
| r109 | 4874 | }}} |
| r113 | 4875 | }}}{{{#!if this._ParOpen != -1 |
| 4876 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4877 | }}} |
| 4878 | }}} | |
| r113 | 4879 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4880 | }}} |
| r113 | 4881 | {{{#!if this._ParOpen == -1 |
| 4882 | {{{#!if this.Match=true | |
| r109 | 4883 | }}} |
| r113 | 4884 | }}}{{{#!if this._ParOpen != -1 |
| 4885 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4886 | }}} |
| 4887 | }}} | |
| 4888 | }}} | |
| r113 | 4889 | ##### |
| 4890 | {{{#!if this.Match | |
| 4891 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4892 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4893 | }}} |
| 4894 | }}} | |
| r113 | 4895 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4896 | {{{#!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="') | |
| 4897 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4898 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4899 | }}} |
| r113 | 4900 | {{{#!if this.DarkStyleL==-1 |
| 4901 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4902 | }}}}}} |
| r113 | 4903 | {{{#!if this.DarkStyleL!=-1 |
| 4904 | {{{#!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) | |
| 4905 | }}}}}} | |
| 4906 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4907 | }}} |
| 4908 | }}} | |
| 4909 | }}} | |
| r113 | 4910 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4911 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4912 | }}}{{{#!if this.Blank!=-1 | |
| 4913 | {{{#!if this.Comma != -1 | |
| 4914 | {{{#!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) | |
| r109 | 4915 | }}} |
| 4916 | }}} | |
| r113 | 4917 | {{{#!if this.Comma == -1 |
| 4918 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 4919 | }}} |
| r113 | 4920 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4921 | }}}{{{#!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) | |
| r109 | 4922 | }}} |
| 4923 | }}} | |
| 4924 | }}} | |
| r113 | 4925 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4926 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4927 | }}}{{{#!if this.Blank==5 | |
| 4928 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4929 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4930 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4931 | }}}{{{#!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) | |
| r109 | 4932 | }}} |
| 4933 | }}} | |
| 4934 | }}} | |
| 4935 | }}} | |
| 4936 | }}} | |
| r113 | 4937 | ##### |
| 4938 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4939 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4940 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4941 | }}} |
| r113 | 4942 | {{{#!if this._ParOpen == -1 |
| 4943 | {{{#!if this.Match=true | |
| r109 | 4944 | }}} |
| r113 | 4945 | }}}{{{#!if this._ParOpen != -1 |
| 4946 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4947 | }}} |
| 4948 | }}} | |
| r113 | 4949 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4950 | }}} |
| r113 | 4951 | {{{#!if this._ParOpen == -1 |
| 4952 | {{{#!if this.Match=true | |
| r109 | 4953 | }}} |
| r113 | 4954 | }}}{{{#!if this._ParOpen != -1 |
| 4955 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4956 | }}} |
| 4957 | }}} | |
| r113 | 4958 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4959 | }}} |
| r113 | 4960 | {{{#!if this._ParOpen == -1 |
| 4961 | {{{#!if this.Match=true | |
| r109 | 4962 | }}} |
| r113 | 4963 | }}}{{{#!if this._ParOpen != -1 |
| 4964 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4965 | }}} |
| 4966 | }}} | |
| r113 | 4967 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4968 | }}} |
| r113 | 4969 | {{{#!if this._ParOpen == -1 |
| 4970 | {{{#!if this.Match=true | |
| r109 | 4971 | }}} |
| r113 | 4972 | }}}{{{#!if this._ParOpen != -1 |
| 4973 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4974 | }}} |
| 4975 | }}} | |
| 4976 | }}} | |
| r113 | 4977 | ##### |
| 4978 | {{{#!if this.Match | |
| 4979 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4980 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4981 | }}} |
| 4982 | }}} | |
| r113 | 4983 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4984 | {{{#!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="') | |
| 4985 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4986 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4987 | }}} |
| r113 | 4988 | {{{#!if this.DarkStyleL==-1 |
| 4989 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4990 | }}}}}} |
| r113 | 4991 | {{{#!if this.DarkStyleL!=-1 |
| 4992 | {{{#!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) | |
| 4993 | }}}}}} | |
| 4994 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4995 | }}} |
| 4996 | }}} | |
| 4997 | }}} | |
| r113 | 4998 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4999 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5000 | }}}{{{#!if this.Blank!=-1 | |
| 5001 | {{{#!if this.Comma != -1 | |
| 5002 | {{{#!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) | |
| r109 | 5003 | }}} |
| 5004 | }}} | |
| r113 | 5005 | {{{#!if this.Comma == -1 |
| 5006 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5007 | }}} |
| r113 | 5008 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5009 | }}}{{{#!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) | |
| r109 | 5010 | }}} |
| 5011 | }}} | |
| 5012 | }}} | |
| r113 | 5013 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5014 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5015 | }}}{{{#!if this.Blank==5 | |
| 5016 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5017 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5018 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5019 | }}}{{{#!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) | |
| r109 | 5020 | }}} |
| 5021 | }}} | |
| 5022 | }}} | |
| 5023 | }}} | |
| 5024 | }}} | |
| r113 | 5025 | ##### |
| 5026 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5027 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5028 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 5029 | }}} |
| r113 | 5030 | {{{#!if this._ParOpen == -1 |
| 5031 | {{{#!if this.Match=true | |
| r109 | 5032 | }}} |
| r113 | 5033 | }}}{{{#!if this._ParOpen != -1 |
| 5034 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 5035 | }}} |
| 5036 | }}} | |
| r113 | 5037 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5038 | }}} |
| r113 | 5039 | {{{#!if this._ParOpen == -1 |
| 5040 | {{{#!if this.Match=true | |
| r109 | 5041 | }}} |
| r113 | 5042 | }}}{{{#!if this._ParOpen != -1 |
| 5043 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5044 | }}} |
| 5045 | }}} | |
| r113 | 5046 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5047 | }}} |
| r113 | 5048 | {{{#!if this._ParOpen == -1 |
| 5049 | {{{#!if this.Match=true | |
| r109 | 5050 | }}} |
| r113 | 5051 | }}}{{{#!if this._ParOpen != -1 |
| 5052 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5053 | }}} |
| 5054 | }}} | |
| 5055 | }}} | |
| r113 | 5056 | ##### |
| 5057 | {{{#!if this.Match | |
| 5058 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5059 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5060 | }}} |
| 5061 | }}} | |
| r113 | 5062 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 5063 | {{{#!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="') | |
| 5064 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5065 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 5066 | }}} |
| r113 | 5067 | {{{#!if this.DarkStyleL==-1 |
| 5068 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 5069 | }}}}}} |
| r113 | 5070 | {{{#!if this.DarkStyleL!=-1 |
| 5071 | {{{#!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) | |
| 5072 | }}}}}} | |
| 5073 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5074 | }}} |
| 5075 | }}} | |
| 5076 | }}} | |
| r113 | 5077 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5078 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5079 | }}}{{{#!if this.Blank!=-1 | |
| 5080 | {{{#!if this.Comma != -1 | |
| 5081 | {{{#!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) | |
| r109 | 5082 | }}} |
| 5083 | }}} | |
| r113 | 5084 | {{{#!if this.Comma == -1 |
| 5085 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5086 | }}} |
| r113 | 5087 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5088 | }}}{{{#!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) | |
| r109 | 5089 | }}} |
| 5090 | }}} | |
| 5091 | }}} | |
| r113 | 5092 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5093 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5094 | }}}{{{#!if this.Blank==5 | |
| 5095 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5096 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5097 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5098 | }}}{{{#!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) | |
| r109 | 5099 | }}} |
| 5100 | }}} | |
| 5101 | }}} | |
| 5102 | }}} | |
| 5103 | }}} | |
| r113 | 5104 | ##### |
| 5105 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5106 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5107 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 5108 | }}} |
| r113 | 5109 | {{{#!if this._ParOpen == -1 |
| 5110 | {{{#!if this.Match=true | |
| r109 | 5111 | }}} |
| r113 | 5112 | }}}{{{#!if this._ParOpen != -1 |
| 5113 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 5114 | }}} |
| 5115 | }}} | |
| r113 | 5116 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5117 | }}} |
| r113 | 5118 | {{{#!if this._ParOpen == -1 |
| 5119 | {{{#!if this.Match=true | |
| r109 | 5120 | }}} |
| r113 | 5121 | }}}{{{#!if this._ParOpen != -1 |
| 5122 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5123 | }}} |
| 5124 | }}} | |
| 5125 | }}} | |
| r113 | 5126 | ##### |
| 5127 | {{{#!if this.Match | |
| 5128 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5129 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5130 | }}} |
| 5131 | }}} | |
| r113 | 5132 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 5133 | {{{#!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="') | |
| 5134 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5135 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 5136 | }}} |
| r113 | 5137 | {{{#!if this.DarkStyleL==-1 |
| 5138 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 5139 | }}}}}} |
| r113 | 5140 | {{{#!if this.DarkStyleL!=-1 |
| 5141 | {{{#!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) | |
| 5142 | }}}}}} | |
| 5143 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5144 | }}} |
| 5145 | }}} | |
| 5146 | }}} | |
| r113 | 5147 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5148 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5149 | }}}{{{#!if this.Blank!=-1 | |
| 5150 | {{{#!if this.Comma != -1 | |
| 5151 | {{{#!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) | |
| r109 | 5152 | }}} |
| 5153 | }}} | |
| r113 | 5154 | {{{#!if this.Comma == -1 |
| 5155 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5156 | }}} |
| r113 | 5157 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5158 | }}}{{{#!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) | |
| r109 | 5159 | }}} |
| 5160 | }}} | |
| 5161 | }}} | |
| r113 | 5162 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5163 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5164 | }}}{{{#!if this.Blank==5 | |
| 5165 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5166 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5167 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5168 | }}}{{{#!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) | |
| r109 | 5169 | }}} |
| 5170 | }}} | |
| 5171 | }}} | |
| 5172 | }}} | |
| 5173 | }}} | |
| r112 | 5174 | }}}{{{#!wiki style="display: block" dark-style="display: none" |
| r104 | 5175 | {{{#!html @input@}}}}}}{{{#!wiki style="display: none" dark-style="display: block" |
| r111 | 5176 | {{{#!html @DarkInput@}}}}}}}}} |