사용자
nyangx3/연습장(r113판 Blame)
| r113 | ||
|---|---|---|
| r1 | 1 | ##@일단 여기 쓰고 나중에 사용자 문서로 옮길 예정--사문의 의한 사문을 위한 연습장-- |
| r94 | 2 | {{{#!if if=='목차' |
| 3 | {{{#!wiki style="border: 1px solid #ccc; padding: 12px 20px 18px 5px; border-radius: 8px; word-break: keep-all" dark-style="border-color: #383b40" | |
| 4 | {{{#!wiki style="font-size: 1.25em; letter-spacing: -2px; font-weight: 100; text-align: center; margin-bottom: 5px" | |
| 5 | ''CONTENTS''}}}{{{#!wiki style="display:flex; flex-wrap: wrap; justify-content: left" | |
| 6 | {{{#!wiki style="width: max(25%, 150px); vertical-align: top; text-align: left" | |
| 7 | {{{#!wiki style="padding: 5px 0 0 20px" | |
| 8 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 9 | 0.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 10 | 자주 쓰는 것}}}{{{#!wiki style="padding-left: 15px" | |
| 11 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 12 | 0.}}}]] 문법 | |
| 13 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 14 | 1.}}}]] 정규식 replacer | |
| 15 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 16 | 2.}}}]] 알트 입력법}}}}}}}}}{{{#!wiki style="width: max(25%, 150px); vertical-align: top; text-align: left" | |
| 17 | {{{#!wiki style="padding: 5px 0 0 20px" | |
| 18 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 19 | 1.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 20 | 유용한 것}}}{{{#!wiki style="padding-left: 15px" | |
| 21 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 22 | 0.}}}]] 단축키 | |
| 23 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 24 | 1.}}}]] Ionicons | |
| 25 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 26 | 2.}}}]] 틀 관련}}}}}}}}}{{{#!wiki style="width: max(25%, 150px); vertical-align: top; text-align: left" | |
| 27 | {{{#!wiki style="padding: 5px 0 0 20px" | |
| 28 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 29 | 2.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 30 | 요상한거}}}{{{#!wiki style="padding-left: 15px" | |
| 31 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 32 | 0.}}}]] 계산기 | |
| 33 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 34 | 1.}}}]] UUID 판별기}}}}}}}}}{{{#!wiki style="width: max(25%, 150px); vertical-align: top; text-align: left" | |
| 35 | {{{#!wiki style="padding: 5px 0 0 20px" | |
| 36 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 37 | 3.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 38 | 예쁜거}}}{{{#!wiki style="padding-left: 15px" | |
| 39 | {{{#!wiki style="display: flex" | |
| 40 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 41 | 0.}}}]]{{{#!html }}}{{{#!folding gradient | |
| 42 | 0.배경 패턴 | |
| 43 | 1.뭐쓰지}}}}}}[[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 44 | 1.}}}]] DM | |
| 45 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 46 | 2.}}}]] font-family | |
| 47 | }}} | |
| 48 | }}} | |
| 49 | }}} | |
| 50 | }}} | |
| 51 | }}}}}}{{{#!if if=='문단' | |
| r56 | 52 | {{{#!wiki style="margin: 0 0 0 5px" |
| 53 | {{{#!wiki style="display: inline-block" | |
| r59 | 54 | {{{+3 {{{#666 {{{#!html <span style="font-family: Ionicons"></span>}}}}}}{{{#!html }}}{{{#!wiki style="display: inline-block; font-size: 25.63px" |
| 55 | '''[[#@문단번호=0@|@문단번호=0@.]] {{{#373a3c,#ddd @문단명@}}}'''}}}}}}}}}}}}{{{#!wiki style="display: inline-block; font-size: 12px; float: right; margin: -35px 0 0" | |
| 56 | '''[[#@문단번호=0@|[편집\]]]'''}}}{{{#!wiki | |
| r56 | 57 | ---- |
| r93 | 58 | }}}}}}[anchor(0)]{{{#!if if=='계산기' |
| r1 | 59 | {{{#!wiki style="font-weight: 300; font-size: 20px" |
| r61 | 60 | {{{#!if a[0]!=45 |
| r62 | 61 | @a@}}}{{{#!if a[0]==45 |
| 62 | (@a@)}}} {{{#!if f == '+' | |
| r7 | 63 | {{{#!if r =(+a+0.0)+(+b+0.0) |
| r1 | 64 | }}}+}}}{{{#!if f == '-' |
| r7 | 65 | {{{#!if r =(+a+0.0)-(+b+0.0) |
| r1 | 66 | }}}-}}}{{{#!if f == '*' |
| r7 | 67 | {{{#!if r =(+a+0.0)*(+b+0.0) |
| r1 | 68 | }}}×}}}{{{#!if f == '/' |
| r7 | 69 | {{{#!if r =(+a+0.0)/(+b+0.0) |
| r61 | 70 | }}}÷}}} {{{#!if b[0]!=45 |
| 71 | @b@}}}{{{#!if b[0]==45 | |
| 72 | (@b@)}}} = {{{#!if r = r.toString() | |
| r8 | 73 | {{{#!if r.endsWith('0') |
| 74 | {{{#!if r = r.substr(0,r.length-1) | |
| 75 | }}}}}}{{{#!if r.endsWith('0') | |
| 76 | {{{#!if r = r.substr(0,r.length-1) | |
| 77 | }}}}}}{{{#!if r.endsWith('0') | |
| 78 | {{{#!if r = r.substr(0,r.length-1) | |
| 79 | }}}}}}{{{#!if r.endsWith('0') | |
| 80 | {{{#!if r = r.substr(0,r.length-1) | |
| 81 | }}}}}}{{{#!if r.endsWith('0') | |
| 82 | {{{#!if r = r.substr(0,r.length-1) | |
| 83 | }}}}}}{{{#!if r.endsWith('0') | |
| 84 | {{{#!if r = r.substr(0,r.length-1) | |
| r9 | 85 | }}}}}}{{{#!if r.endsWith('.') |
| 86 | {{{#!if r = r.substr(0,r.length-1) | |
| r65 | 87 | }}}}}}}}}{{{#!if r[0]!=45 |
| 88 | @r@}}}{{{#!if r[0]==45 | |
| 89 | (@r@)}}}}}}}}}[anchor(1)]{{{#!if (+if)==4 | |
| r1 | 90 | {{{#!wiki style="margin: 0 0 0 5px" |
| 91 | {{{#!wiki style="display: inline-block" | |
| 92 | {{{+3 {{{#666 {{{#!html <span style="font-family: Ionicons"></span>}}}}}}{{{#!html }}}{{{#!html }}}{{{#!wiki style="display: inline-block; font-size: 25.63px" | |
| 93 | '''[[#1|1.]] {{{#373a3c,#ddd @문단명=가짜 문단@}}}'''}}}}}}}}}}}}{{{#!wiki style="display: inline-block; font-size: 12px; float: right; margin: -35px 0 0" | |
| 94 | '''[[#1|[편집\]]]'''}}}{{{#!wiki | |
| 95 | ---- | |
| 96 | }}}{{{#!wiki | |
| 97 | * '''일반 편집 시 다크 모드 대응 쉽게 하는 법''' | |
| 98 | 최근 화이트 모드 색상만을 지정한 경우 다크 모드에서 적절한 색으로 변경되어 표시되게 바뀌었는데,[[https://board.namu.wiki/b/free/3016057|#]] 이로 인해 표 색상이 의도치 않게 달라져 글자가 보이지 않거나 하는 문제가 발생하기도 한다. 그래서 특정 색상을 그대로 표시되어야만 하는 경우 다크 모드 색상도 지정해 주어야 하는데, 아래는 이를 쉽게 하기 위한 방법이다. 모나코 에디터 단축키에 익숙하다면 쉬울 것이다. | |
| 99 | 1. 편집기에서 Ctrl(Comend)+H 누르면 '찾기/바꾸기' 창이 나오는데, 해당 창의 '찾기' 칸 우측의 '.*' 부분을 클릭하여 활성화한다.([[정규 표현식|정규식]] 모드) | |
| r6 | 100 | 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 | 101 | 1. --하다가 귀찮아져서 프로그램으로 구현하거나 [[나무위키:사용 승인된 봇 계정 목록|봇]]이 편집해주기를 기다린다.(최종점)--}}}[[]] |
| r74 | 102 | * color: var(--espejo-link-color)로 {{{#!wiki style="color: var(--espejo-link-color); display: inline" |
| r75 | 103 | 링크}}} 색을 참조할 수 있다. |
| r82 | 104 | * 편집기에서 문법 하이라이팅 버그가 있을 시, #\#)]를 추가하는 등으로 해결할 수 있다.}}}{{{#!if if='나무나무마크' |
| r77 | 105 | {{{#!wiki style="display: none" |
| r113 | 106 | ################################################################################## 매크로 |
| 107 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 108 | ##)] | |
| 109 | }}}{{{#!if this.MacroOpen!=-1 | |
| 110 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 111 | }}}{{{#!if this.MacroClose!=-1 | |
| 112 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 113 | }}} | |
| 114 | ||
| 115 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 116 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 117 | }}} | |
| 118 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 119 | {{{#!if this.Comma2 == 0 | |
| 120 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 121 | }}} | |
| 122 | }}} | |
| 123 | {{{#!if this.Comma2 != 0 | |
| 124 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 125 | }}} | |
| 126 | }}} | |
| 127 | }}} | |
| 128 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 129 | }}} | |
| 130 | ||
| 131 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 132 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 133 | }}} | |
| 134 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 135 | {{{#!if this.Comma2 == 0 | |
| 136 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 137 | }}} | |
| 138 | }}} | |
| 139 | {{{#!if this.Comma2 != 0 | |
| 140 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 141 | }}} | |
| 142 | }}} | |
| 143 | }}} | |
| 144 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 145 | }}} | |
| 146 | ||
| 147 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 148 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 149 | }}} | |
| 150 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 151 | {{{#!if this.Comma2 == 0 | |
| 152 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 153 | }}} | |
| 154 | }}} | |
| 155 | {{{#!if this.Comma2 != 0 | |
| 156 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 157 | }}} | |
| 158 | }}} | |
| 159 | }}} | |
| 160 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 161 | }}} | |
| 162 | ||
| 163 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 164 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 165 | }}} | |
| 166 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 167 | {{{#!if this.Comma2 == 0 | |
| 168 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 169 | }}} | |
| 170 | }}} | |
| 171 | {{{#!if this.Comma2 != 0 | |
| 172 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 173 | }}} | |
| 174 | }}} | |
| 175 | }}} | |
| 176 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 177 | }}} | |
| 178 | ||
| 179 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 180 | }}} | |
| 181 | }}} | |
| 182 | }}} | |
| 183 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 184 | ##)] | |
| 185 | }}}{{{#!if this.MacroOpen!=-1 | |
| 186 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 187 | }}}{{{#!if this.MacroClose!=-1 | |
| 188 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 189 | }}} | |
| 190 | ||
| 191 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 192 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 193 | }}} | |
| 194 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 195 | {{{#!if this.Comma2 == 0 | |
| 196 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 197 | }}} | |
| 198 | }}} | |
| 199 | {{{#!if this.Comma2 != 0 | |
| 200 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 201 | }}} | |
| 202 | }}} | |
| 203 | }}} | |
| 204 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 205 | }}} | |
| 206 | ||
| 207 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 208 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 209 | }}} | |
| 210 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 211 | {{{#!if this.Comma2 == 0 | |
| 212 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 213 | }}} | |
| 214 | }}} | |
| 215 | {{{#!if this.Comma2 != 0 | |
| 216 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 217 | }}} | |
| 218 | }}} | |
| 219 | }}} | |
| 220 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 221 | }}} | |
| 222 | ||
| 223 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 224 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 225 | }}} | |
| 226 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 227 | {{{#!if this.Comma2 == 0 | |
| 228 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 229 | }}} | |
| 230 | }}} | |
| 231 | {{{#!if this.Comma2 != 0 | |
| 232 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 233 | }}} | |
| 234 | }}} | |
| 235 | }}} | |
| 236 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 237 | }}} | |
| 238 | ||
| 239 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 240 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 241 | }}} | |
| 242 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 243 | {{{#!if this.Comma2 == 0 | |
| 244 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 245 | }}} | |
| 246 | }}} | |
| 247 | {{{#!if this.Comma2 != 0 | |
| 248 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 249 | }}} | |
| 250 | }}} | |
| 251 | }}} | |
| 252 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 253 | }}} | |
| 254 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 255 | }}} | |
| 256 | }}} | |
| 257 | }}} | |
| 258 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 259 | ##)] | |
| 260 | }}}{{{#!if this.MacroOpen!=-1 | |
| 261 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 262 | }}}{{{#!if this.MacroClose!=-1 | |
| 263 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 264 | }}} | |
| 265 | ||
| 266 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 267 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 268 | }}} | |
| 269 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 270 | {{{#!if this.Comma2 == 0 | |
| 271 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 272 | }}} | |
| 273 | }}} | |
| 274 | {{{#!if this.Comma2 != 0 | |
| 275 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 276 | }}} | |
| 277 | }}} | |
| 278 | }}} | |
| 279 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 280 | }}} | |
| 281 | ||
| 282 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 283 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 284 | }}} | |
| 285 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 286 | {{{#!if this.Comma2 == 0 | |
| 287 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 288 | }}} | |
| 289 | }}} | |
| 290 | {{{#!if this.Comma2 != 0 | |
| 291 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 292 | }}} | |
| 293 | }}} | |
| 294 | }}} | |
| 295 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 296 | }}} | |
| 297 | ||
| 298 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 299 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 300 | }}} | |
| 301 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 302 | {{{#!if this.Comma2 == 0 | |
| 303 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 304 | }}} | |
| 305 | }}} | |
| 306 | {{{#!if this.Comma2 != 0 | |
| 307 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 308 | }}} | |
| 309 | }}} | |
| 310 | }}} | |
| 311 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 312 | }}} | |
| 313 | ||
| 314 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 315 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 316 | }}} | |
| 317 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 318 | {{{#!if this.Comma2 == 0 | |
| 319 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 320 | }}} | |
| 321 | }}} | |
| 322 | {{{#!if this.Comma2 != 0 | |
| 323 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 324 | }}} | |
| 325 | }}} | |
| 326 | }}} | |
| 327 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 328 | }}} | |
| 329 | ||
| 330 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 331 | }}} | |
| 332 | }}} | |
| 333 | }}} | |
| 334 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 335 | ##)] | |
| 336 | }}}{{{#!if this.MacroOpen!=-1 | |
| 337 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 338 | }}}{{{#!if this.MacroClose!=-1 | |
| 339 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 340 | }}} | |
| 341 | ||
| 342 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 343 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 344 | }}} | |
| 345 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 346 | {{{#!if this.Comma2 == 0 | |
| 347 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 348 | }}} | |
| 349 | }}} | |
| 350 | {{{#!if this.Comma2 != 0 | |
| 351 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 352 | }}} | |
| 353 | }}} | |
| 354 | }}} | |
| 355 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 356 | }}} | |
| 357 | ||
| 358 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 359 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 360 | }}} | |
| 361 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 362 | {{{#!if this.Comma2 == 0 | |
| 363 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 364 | }}} | |
| 365 | }}} | |
| 366 | {{{#!if this.Comma2 != 0 | |
| 367 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 368 | }}} | |
| 369 | }}} | |
| 370 | }}} | |
| 371 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 372 | }}} | |
| 373 | ||
| 374 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 375 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 376 | }}} | |
| 377 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 378 | {{{#!if this.Comma2 == 0 | |
| 379 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 380 | }}} | |
| 381 | }}} | |
| 382 | {{{#!if this.Comma2 != 0 | |
| 383 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 384 | }}} | |
| 385 | }}} | |
| 386 | }}} | |
| 387 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 388 | }}} | |
| 389 | ||
| 390 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 391 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 392 | }}} | |
| 393 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 394 | {{{#!if this.Comma2 == 0 | |
| 395 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 396 | }}} | |
| 397 | }}} | |
| 398 | {{{#!if this.Comma2 != 0 | |
| 399 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 400 | }}} | |
| 401 | }}} | |
| 402 | }}} | |
| 403 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 404 | }}} | |
| 405 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 406 | }}} | |
| 407 | }}} | |
| 408 | }}} | |
| 409 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 410 | ##)] | |
| 411 | }}}{{{#!if this.MacroOpen!=-1 | |
| 412 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 413 | }}}{{{#!if this.MacroClose!=-1 | |
| 414 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 415 | }}} | |
| 416 | ||
| 417 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 418 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 419 | }}} | |
| 420 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 421 | {{{#!if this.Comma2 == 0 | |
| 422 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 423 | }}} | |
| 424 | }}} | |
| 425 | {{{#!if this.Comma2 != 0 | |
| 426 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 427 | }}} | |
| 428 | }}} | |
| 429 | }}} | |
| 430 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 431 | }}} | |
| 432 | ||
| 433 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 434 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 435 | }}} | |
| 436 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 437 | {{{#!if this.Comma2 == 0 | |
| 438 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 439 | }}} | |
| 440 | }}} | |
| 441 | {{{#!if this.Comma2 != 0 | |
| 442 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 443 | }}} | |
| 444 | }}} | |
| 445 | }}} | |
| 446 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 447 | }}} | |
| 448 | ||
| 449 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 450 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 451 | }}} | |
| 452 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 453 | {{{#!if this.Comma2 == 0 | |
| 454 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 455 | }}} | |
| 456 | }}} | |
| 457 | {{{#!if this.Comma2 != 0 | |
| 458 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 459 | }}} | |
| 460 | }}} | |
| 461 | }}} | |
| 462 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 463 | }}} | |
| 464 | ||
| 465 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 466 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 467 | }}} | |
| 468 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 469 | {{{#!if this.Comma2 == 0 | |
| 470 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 471 | }}} | |
| 472 | }}} | |
| 473 | {{{#!if this.Comma2 != 0 | |
| 474 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 475 | }}} | |
| 476 | }}} | |
| 477 | }}} | |
| 478 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 479 | }}} | |
| 480 | ||
| 481 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 482 | }}} | |
| 483 | }}} | |
| 484 | }}} | |
| 485 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 486 | ##)] | |
| 487 | }}}{{{#!if this.MacroOpen!=-1 | |
| 488 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 489 | }}}{{{#!if this.MacroClose!=-1 | |
| 490 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 491 | }}} | |
| 492 | ||
| 493 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 494 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 495 | }}} | |
| 496 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 497 | {{{#!if this.Comma2 == 0 | |
| 498 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 499 | }}} | |
| 500 | }}} | |
| 501 | {{{#!if this.Comma2 != 0 | |
| 502 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 503 | }}} | |
| 504 | }}} | |
| 505 | }}} | |
| 506 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 507 | }}} | |
| 508 | ||
| 509 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 510 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 511 | }}} | |
| 512 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 513 | {{{#!if this.Comma2 == 0 | |
| 514 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 515 | }}} | |
| 516 | }}} | |
| 517 | {{{#!if this.Comma2 != 0 | |
| 518 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 519 | }}} | |
| 520 | }}} | |
| 521 | }}} | |
| 522 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 523 | }}} | |
| 524 | ||
| 525 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 526 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 527 | }}} | |
| 528 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 529 | {{{#!if this.Comma2 == 0 | |
| 530 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 531 | }}} | |
| 532 | }}} | |
| 533 | {{{#!if this.Comma2 != 0 | |
| 534 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 535 | }}} | |
| 536 | }}} | |
| 537 | }}} | |
| 538 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 539 | }}} | |
| 540 | ||
| 541 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 542 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 543 | }}} | |
| 544 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 545 | {{{#!if this.Comma2 == 0 | |
| 546 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 547 | }}} | |
| 548 | }}} | |
| 549 | {{{#!if this.Comma2 != 0 | |
| 550 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 551 | }}} | |
| 552 | }}} | |
| 553 | }}} | |
| 554 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 555 | }}} | |
| 556 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 557 | }}} | |
| 558 | }}} | |
| 559 | }}} | |
| 560 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 561 | ##)] | |
| 562 | }}}{{{#!if this.MacroOpen!=-1 | |
| 563 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 564 | }}}{{{#!if this.MacroClose!=-1 | |
| 565 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 566 | }}} | |
| 567 | ||
| 568 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 569 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 570 | }}} | |
| 571 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 572 | {{{#!if this.Comma2 == 0 | |
| 573 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 574 | }}} | |
| 575 | }}} | |
| 576 | {{{#!if this.Comma2 != 0 | |
| 577 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 578 | }}} | |
| 579 | }}} | |
| 580 | }}} | |
| 581 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 582 | }}} | |
| 583 | ||
| 584 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 585 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 586 | }}} | |
| 587 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 588 | {{{#!if this.Comma2 == 0 | |
| 589 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 590 | }}} | |
| 591 | }}} | |
| 592 | {{{#!if this.Comma2 != 0 | |
| 593 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 594 | }}} | |
| 595 | }}} | |
| 596 | }}} | |
| 597 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 598 | }}} | |
| 599 | ||
| 600 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 601 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 602 | }}} | |
| 603 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 604 | {{{#!if this.Comma2 == 0 | |
| 605 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 606 | }}} | |
| 607 | }}} | |
| 608 | {{{#!if this.Comma2 != 0 | |
| 609 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 610 | }}} | |
| 611 | }}} | |
| 612 | }}} | |
| 613 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 614 | }}} | |
| 615 | ||
| 616 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 617 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 618 | }}} | |
| 619 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 620 | {{{#!if this.Comma2 == 0 | |
| 621 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 622 | }}} | |
| 623 | }}} | |
| 624 | {{{#!if this.Comma2 != 0 | |
| 625 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 626 | }}} | |
| 627 | }}} | |
| 628 | }}} | |
| 629 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 630 | }}} | |
| 631 | ||
| 632 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 633 | }}} | |
| 634 | }}} | |
| 635 | }}} | |
| 636 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 637 | ##)] | |
| 638 | }}}{{{#!if this.MacroOpen!=-1 | |
| 639 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 640 | }}}{{{#!if this.MacroClose!=-1 | |
| 641 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 642 | }}} | |
| 643 | ||
| 644 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 645 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 646 | }}} | |
| 647 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 648 | {{{#!if this.Comma2 == 0 | |
| 649 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 650 | }}} | |
| 651 | }}} | |
| 652 | {{{#!if this.Comma2 != 0 | |
| 653 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 654 | }}} | |
| 655 | }}} | |
| 656 | }}} | |
| 657 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 658 | }}} | |
| 659 | ||
| 660 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 661 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 662 | }}} | |
| 663 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 664 | {{{#!if this.Comma2 == 0 | |
| 665 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 666 | }}} | |
| 667 | }}} | |
| 668 | {{{#!if this.Comma2 != 0 | |
| 669 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 670 | }}} | |
| 671 | }}} | |
| 672 | }}} | |
| 673 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 674 | }}} | |
| 675 | ||
| 676 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 677 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 678 | }}} | |
| 679 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 680 | {{{#!if this.Comma2 == 0 | |
| 681 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 682 | }}} | |
| 683 | }}} | |
| 684 | {{{#!if this.Comma2 != 0 | |
| 685 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 686 | }}} | |
| 687 | }}} | |
| 688 | }}} | |
| 689 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 690 | }}} | |
| 691 | ||
| 692 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 693 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 694 | }}} | |
| 695 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 696 | {{{#!if this.Comma2 == 0 | |
| 697 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 698 | }}} | |
| 699 | }}} | |
| 700 | {{{#!if this.Comma2 != 0 | |
| 701 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 702 | }}} | |
| 703 | }}} | |
| 704 | }}} | |
| 705 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 706 | }}} | |
| 707 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 708 | }}} | |
| 709 | }}} | |
| 710 | }}} | |
| 711 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 712 | ##)] | |
| 713 | }}}{{{#!if this.MacroOpen!=-1 | |
| 714 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 715 | }}}{{{#!if this.MacroClose!=-1 | |
| 716 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 717 | }}} | |
| 718 | ||
| 719 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 720 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 721 | }}} | |
| 722 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 723 | {{{#!if this.Comma2 == 0 | |
| 724 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 725 | }}} | |
| 726 | }}} | |
| 727 | {{{#!if this.Comma2 != 0 | |
| 728 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 729 | }}} | |
| 730 | }}} | |
| 731 | }}} | |
| 732 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 733 | }}} | |
| 734 | ||
| 735 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 736 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 737 | }}} | |
| 738 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 739 | {{{#!if this.Comma2 == 0 | |
| 740 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 741 | }}} | |
| 742 | }}} | |
| 743 | {{{#!if this.Comma2 != 0 | |
| 744 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 745 | }}} | |
| 746 | }}} | |
| 747 | }}} | |
| 748 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 749 | }}} | |
| 750 | ||
| 751 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 752 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 753 | }}} | |
| 754 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 755 | {{{#!if this.Comma2 == 0 | |
| 756 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 757 | }}} | |
| 758 | }}} | |
| 759 | {{{#!if this.Comma2 != 0 | |
| 760 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 761 | }}} | |
| 762 | }}} | |
| 763 | }}} | |
| 764 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 765 | }}} | |
| 766 | ||
| 767 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 768 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 769 | }}} | |
| 770 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 771 | {{{#!if this.Comma2 == 0 | |
| 772 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 773 | }}} | |
| 774 | }}} | |
| 775 | {{{#!if this.Comma2 != 0 | |
| 776 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 777 | }}} | |
| 778 | }}} | |
| 779 | }}} | |
| 780 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 781 | }}} | |
| 782 | ||
| 783 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 784 | }}} | |
| 785 | }}} | |
| 786 | }}} | |
| 787 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 788 | ##)] | |
| 789 | }}}{{{#!if this.MacroOpen!=-1 | |
| 790 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 791 | }}}{{{#!if this.MacroClose!=-1 | |
| 792 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 793 | }}} | |
| 794 | ||
| 795 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 796 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 797 | }}} | |
| 798 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 799 | {{{#!if this.Comma2 == 0 | |
| 800 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 801 | }}} | |
| 802 | }}} | |
| 803 | {{{#!if this.Comma2 != 0 | |
| 804 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 805 | }}} | |
| 806 | }}} | |
| 807 | }}} | |
| 808 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 809 | }}} | |
| 810 | ||
| 811 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 812 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 813 | }}} | |
| 814 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 815 | {{{#!if this.Comma2 == 0 | |
| 816 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 817 | }}} | |
| 818 | }}} | |
| 819 | {{{#!if this.Comma2 != 0 | |
| 820 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 821 | }}} | |
| 822 | }}} | |
| 823 | }}} | |
| 824 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 825 | }}} | |
| 826 | ||
| 827 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 828 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 829 | }}} | |
| 830 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 831 | {{{#!if this.Comma2 == 0 | |
| 832 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 833 | }}} | |
| 834 | }}} | |
| 835 | {{{#!if this.Comma2 != 0 | |
| 836 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 837 | }}} | |
| 838 | }}} | |
| 839 | }}} | |
| 840 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 841 | }}} | |
| 842 | ||
| 843 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 844 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 845 | }}} | |
| 846 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 847 | {{{#!if this.Comma2 == 0 | |
| 848 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 849 | }}} | |
| 850 | }}} | |
| 851 | {{{#!if this.Comma2 != 0 | |
| 852 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 853 | }}} | |
| 854 | }}} | |
| 855 | }}} | |
| 856 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 857 | }}} | |
| 858 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroOpen+this.MacroClose+2) | |
| 859 | }}} | |
| 860 | }}} | |
| 861 | }}} | |
| 862 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 863 | }}}{{{#!if this.Macro!=-1 | |
| 864 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 865 | }}}}}} | |
| 866 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 867 | }}}{{{#!if this.Macro!=-1 | |
| 868 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 869 | }}}}}} | |
| 870 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 871 | ##)] | |
| 872 | }}}{{{#!if this.MacroOpen!=-1 | |
| 873 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 874 | }}}{{{#!if this.MacroClose!=-1 | |
| 875 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 876 | }}}{{{#!if this.Comma2==-1 | |
| 877 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 878 | }}} | |
| 879 | }}}{{{#!if this.Comma2!=-1 | |
| 880 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 881 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 882 | }}} | |
| 883 | }}} | |
| 884 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 885 | }}} | |
| 886 | }}} | |
| 887 | }}} | |
| 888 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 889 | }}}{{{#!if this.Open!=-1 | |
| 890 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 891 | }}} | |
| 892 | }}} | |
| 893 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 894 | }}}{{{#!if this.Open!=-1 | |
| 895 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 896 | }}}{{{#!if this.Close!=-1 | |
| 897 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 898 | }}}}}} |
| 899 | }}} | |
| r113 | 900 | ##### |
| 901 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 902 | }}}{{{#!if this.Macro!=-1 | |
| 903 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 904 | }}}}}} | |
| 905 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 906 | }}}{{{#!if this.Macro!=-1 | |
| 907 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 908 | }}}}}} | |
| 909 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 910 | ##)] | |
| 911 | }}}{{{#!if this.MacroOpen!=-1 | |
| 912 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 913 | }}}{{{#!if this.MacroClose!=-1 | |
| 914 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 915 | }}}{{{#!if this.Comma2==-1 | |
| 916 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 917 | }}} | |
| 918 | }}}{{{#!if this.Comma2!=-1 | |
| 919 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 920 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 921 | }}} | |
| 922 | }}} | |
| 923 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 924 | }}} | |
| 925 | }}} | |
| 926 | }}} | |
| 927 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 928 | }}}{{{#!if this.Open!=-1 | |
| 929 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 930 | }}} | |
| 931 | }}} | |
| 932 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 933 | }}}{{{#!if this.Open!=-1 | |
| 934 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 935 | }}}{{{#!if this.Close!=-1 | |
| 936 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 937 | }}}}}} |
| 938 | }}} | |
| r113 | 939 | ##### |
| 940 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 941 | }}}{{{#!if this.Macro!=-1 | |
| 942 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 943 | }}}}}} | |
| 944 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 945 | }}}{{{#!if this.Macro!=-1 | |
| 946 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 947 | }}}}}} | |
| 948 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 949 | ##)] | |
| 950 | }}}{{{#!if this.MacroOpen!=-1 | |
| 951 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 952 | }}}{{{#!if this.MacroClose!=-1 | |
| 953 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 954 | }}}{{{#!if this.Comma2==-1 | |
| 955 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 956 | }}} | |
| 957 | }}}{{{#!if this.Comma2!=-1 | |
| 958 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 959 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 960 | }}} | |
| 961 | }}} | |
| 962 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 963 | }}} | |
| 964 | }}} | |
| 965 | }}} | |
| 966 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 967 | }}}{{{#!if this.Open!=-1 | |
| 968 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 969 | }}} | |
| 970 | }}} | |
| 971 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 972 | }}}{{{#!if this.Open!=-1 | |
| 973 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 974 | }}}{{{#!if this.Close!=-1 | |
| 975 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 976 | }}}}}} |
| 977 | }}} | |
| r113 | 978 | ##### |
| 979 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 980 | }}}{{{#!if this.Macro!=-1 | |
| 981 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 982 | }}}}}} | |
| 983 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 984 | }}}{{{#!if this.Macro!=-1 | |
| 985 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 986 | }}}}}} | |
| 987 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 988 | ##)] | |
| 989 | }}}{{{#!if this.MacroOpen!=-1 | |
| 990 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 991 | }}}{{{#!if this.MacroClose!=-1 | |
| 992 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 993 | }}}{{{#!if this.Comma2==-1 | |
| 994 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 995 | }}} | |
| 996 | }}}{{{#!if this.Comma2!=-1 | |
| 997 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 998 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 999 | }}} | |
| 1000 | }}} | |
| 1001 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 1002 | }}} | |
| 1003 | }}} | |
| 1004 | }}} | |
| 1005 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1006 | }}}{{{#!if this.Open!=-1 | |
| 1007 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 1008 | }}} | |
| 1009 | }}} | |
| 1010 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1011 | }}}{{{#!if this.Open!=-1 | |
| 1012 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1013 | }}}{{{#!if this.Close!=-1 | |
| 1014 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1015 | }}}}}} |
| 1016 | }}} | |
| r113 | 1017 | ##### |
| 1018 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1019 | }}}{{{#!if this.Macro!=-1 | |
| 1020 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1021 | }}}}}} | |
| 1022 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1023 | }}}{{{#!if this.Macro!=-1 | |
| 1024 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1025 | }}}}}} | |
| 1026 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1027 | ##)] | |
| 1028 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1029 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1030 | }}}{{{#!if this.MacroClose!=-1 | |
| 1031 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 1032 | }}}{{{#!if this.Comma2==-1 | |
| 1033 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1034 | }}} | |
| 1035 | }}}{{{#!if this.Comma2!=-1 | |
| 1036 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1037 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1038 | }}} | |
| 1039 | }}} | |
| 1040 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 1041 | }}} | |
| 1042 | }}} | |
| 1043 | }}} | |
| 1044 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1045 | }}}{{{#!if this.Open!=-1 | |
| 1046 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 1047 | }}} | |
| 1048 | }}} | |
| 1049 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1050 | }}}{{{#!if this.Open!=-1 | |
| 1051 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1052 | }}}{{{#!if this.Close!=-1 | |
| 1053 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1054 | }}}}}} |
| 1055 | }}} | |
| r113 | 1056 | ##### |
| 1057 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1058 | }}}{{{#!if this.Macro!=-1 | |
| 1059 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1060 | }}}}}} | |
| 1061 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1062 | }}}{{{#!if this.Macro!=-1 | |
| 1063 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1064 | }}}}}} | |
| 1065 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1066 | ##)] | |
| 1067 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1068 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1069 | }}}{{{#!if this.MacroClose!=-1 | |
| 1070 | {{{#!if this.RubyRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.Comma1 = this.RubyRaw.indexOf(',ruby='), this.Comma2 = this.RubyRaw.substr().indexOf(',color='), this.Text = this.RubyRaw.substring(6,this.Comma1) | |
| 1071 | }}}{{{#!if this.Comma2==-1 | |
| 1072 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1073 | }}} | |
| 1074 | }}}{{{#!if this.Comma2!=-1 | |
| 1075 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1076 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1077 | }}} | |
| 1078 | }}} | |
| 1079 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<ruby>'+this.Text+'<rt><span style="color:'+this.Color+'">'+this.Ruby+'</span></rt></ruby>'+this.input.substr(this.MacroClose+this.MacroOpen+2) | |
| 1080 | }}} | |
| 1081 | }}} | |
| 1082 | }}} | |
| 1083 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1084 | }}}{{{#!if this.Open!=-1 | |
| 1085 | {{{#!if this.input = this.input.substring(0,this.Open)+'<br><div style="border-top: .0625rem solid #ccc; width: 100%; height:10px; margin: .5em 0"></div><br>'+this.input.substring(this.Open+12) | |
| 1086 | }}} | |
| 1087 | }}} | |
| 1088 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1089 | }}}{{{#!if this.Open!=-1 | |
| 1090 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1091 | }}}{{{#!if this.Close!=-1 | |
| 1092 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1093 | }}}}}} |
| 1094 | }}} | |
| r113 | 1095 | ################################################################################## 기본 |
| 1096 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1097 | }}}{{{#!if this.Open!=-1 | |
| 1098 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1099 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1100 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1101 | }}}}}} | |
| 1102 | }}} | |
| 1103 | ##### | |
| 1104 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1105 | }}}{{{#!if this.Open!=-1 | |
| 1106 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1107 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1108 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1109 | }}}}}} | |
| 1110 | }}} | |
| 1111 | ##### | |
| 1112 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1113 | }}}{{{#!if this.Open!=-1 | |
| 1114 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1115 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1116 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1117 | }}}}}} | |
| 1118 | }}} | |
| 1119 | ##### | |
| 1120 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1121 | }}}{{{#!if this.Open!=-1 | |
| 1122 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1123 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1124 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1125 | }}}}}} | |
| 1126 | }}} | |
| 1127 | ##### | |
| 1128 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1129 | }}}{{{#!if this.Open!=-1 | |
| 1130 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1131 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1132 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1133 | }}}}}} | |
| 1134 | }}} | |
| 1135 | ##### | |
| 1136 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1137 | }}}{{{#!if this.Open!=-1 | |
| 1138 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1139 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1140 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1141 | }}}}}} | |
| 1142 | }}} | |
| 1143 | ##### | |
| 1144 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1145 | }}}{{{#!if this.Open!=-1 | |
| 1146 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1147 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1148 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1149 | }}}}}} | |
| 1150 | }}} | |
| 1151 | ##### | |
| 1152 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1153 | }}}{{{#!if this.Open!=-1 | |
| 1154 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1155 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1156 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1157 | }}}}}} | |
| 1158 | }}} | |
| 1159 | ##### | |
| 1160 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1161 | }}}{{{#!if this.Open!=-1 | |
| 1162 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1163 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1164 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1165 | }}}}}} | |
| 1166 | }}} | |
| 1167 | ##### | |
| 1168 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1169 | }}}{{{#!if this.Open!=-1 | |
| 1170 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1171 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1172 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1173 | }}}}}} | |
| 1174 | }}} | |
| 1175 | ##### | |
| 1176 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1177 | }}}{{{#!if this.Open!=-1 | |
| 1178 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1179 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1180 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1181 | }}}}}} | |
| 1182 | }}} | |
| 1183 | ##### | |
| 1184 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1185 | }}}{{{#!if this.Open!=-1 | |
| 1186 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1187 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1188 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1189 | }}}}}} | |
| 1190 | }}} | |
| 1191 | ##### | |
| 1192 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1193 | }}}{{{#!if this.Open!=-1 | |
| 1194 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1195 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1196 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1197 | }}}}}} | |
| 1198 | }}} | |
| 1199 | ##### | |
| 1200 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1201 | }}}{{{#!if this.Open!=-1 | |
| 1202 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1203 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1204 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1205 | }}}}}} | |
| 1206 | }}} | |
| 1207 | ##### | |
| 1208 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1209 | }}}{{{#!if this.Open!=-1 | |
| 1210 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1211 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1212 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1213 | }}}}}} | |
| 1214 | }}} | |
| 1215 | ##### | |
| 1216 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1217 | }}}{{{#!if this.Open!=-1 | |
| 1218 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1219 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1220 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1221 | }}}}}} | |
| 1222 | }}} | |
| 1223 | ##### | |
| 1224 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1225 | }}}{{{#!if this.Open!=-1 | |
| 1226 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1227 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1228 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1229 | }}}}}} | |
| 1230 | }}} | |
| 1231 | ##### | |
| 1232 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1233 | }}}{{{#!if this.Open!=-1 | |
| 1234 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1235 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1236 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1237 | }}}}}} | |
| 1238 | }}} | |
| 1239 | ##### | |
| 1240 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1241 | }}}{{{#!if this.Open!=-1 | |
| 1242 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1243 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1244 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1245 | }}}}}} | |
| 1246 | }}} | |
| 1247 | ##### | |
| 1248 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1249 | }}}{{{#!if this.Open!=-1 | |
| 1250 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1251 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1252 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1253 | }}}}}} | |
| 1254 | }}} | |
| 1255 | ##### | |
| 1256 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1257 | }}}{{{#!if this.Open!=-1 | |
| 1258 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1259 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1260 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1261 | }}}}}} | |
| 1262 | }}} | |
| 1263 | ##### | |
| 1264 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1265 | }}}{{{#!if this.Open!=-1 | |
| 1266 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1267 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1268 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1269 | }}}}}} | |
| 1270 | }}} | |
| 1271 | ##### | |
| 1272 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1273 | }}}{{{#!if this.Open!=-1 | |
| 1274 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1275 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1276 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1277 | }}}}}} | |
| 1278 | }}} | |
| 1279 | ##### | |
| 1280 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1281 | }}}{{{#!if this.Open!=-1 | |
| 1282 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1283 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1284 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1285 | }}}}}} | |
| 1286 | }}} | |
| 1287 | ##### | |
| 1288 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1289 | }}}{{{#!if this.Open!=-1 | |
| 1290 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1291 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1292 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1293 | }}}}}} | |
| 1294 | }}} | |
| 1295 | ##### | |
| 1296 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1297 | }}}{{{#!if this.Open!=-1 | |
| 1298 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1299 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1300 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1301 | }}}}}} | |
| 1302 | }}} | |
| 1303 | ##### | |
| 1304 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1305 | }}}{{{#!if this.Open!=-1 | |
| 1306 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1307 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1308 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1309 | }}}}}} | |
| 1310 | }}} | |
| 1311 | ##### | |
| 1312 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1313 | }}}{{{#!if this.Open!=-1 | |
| 1314 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1315 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1316 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1317 | }}}}}} | |
| 1318 | }}} | |
| 1319 | ##### | |
| 1320 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1321 | }}}{{{#!if this.Open!=-1 | |
| 1322 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1323 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1324 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1325 | }}}}}} | |
| 1326 | }}} | |
| 1327 | ##### | |
| 1328 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1329 | }}}{{{#!if this.Open!=-1 | |
| 1330 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1331 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1332 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1333 | }}}}}} | |
| 1334 | }}} | |
| r105 | 1335 | ################################################################################## 링크 |
| r113 | 1336 | {{{#!if this.DarkInput=this.input |
| r105 | 1337 | }}} |
| r113 | 1338 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' |
| 1339 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1340 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1341 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1342 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1343 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1344 | }}}{{{#!if this.divider == -1 | |
| r96 | 1345 | ##[[링크]] |
| r113 | 1346 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1347 | }}} |
| r113 | 1348 | }}}{{{#!if this.divider != -1 |
| 1349 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1350 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1351 | ##[[|]] > 출력 x |
| 1352 | }}} | |
| 1353 | }}} | |
| r113 | 1354 | {{{#!if (this.divider == 2) && !this.break |
| 1355 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1356 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1357 | }}} | |
| 1358 | }}} | |
| r113 | 1359 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1360 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1361 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1362 | }}} |
| 1363 | }}} | |
| r113 | 1364 | {{{#!if !this.break |
| 1365 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1366 | }}} |
| 1367 | }}} | |
| 1368 | }}} | |
| r113 | 1369 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1370 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1371 | }}} |
| r113 | 1372 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1373 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1374 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1375 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1376 | }}} |
| r113 | 1377 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) |
| 1378 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| r96 | 1379 | }}} |
| 1380 | }}} | |
| r113 | 1381 | ##### |
| 1382 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1383 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1384 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1385 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1386 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1387 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1388 | }}}{{{#!if this.divider == -1 | |
| r96 | 1389 | ##[[링크]] |
| r113 | 1390 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1391 | }}} |
| r113 | 1392 | }}}{{{#!if this.divider != -1 |
| 1393 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1394 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1395 | ##[[|]] > 출력 x |
| 1396 | }}} | |
| 1397 | }}} | |
| r113 | 1398 | {{{#!if (this.divider == 2) && !this.break |
| 1399 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1400 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1401 | }}} | |
| 1402 | }}} | |
| r113 | 1403 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1404 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1405 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1406 | }}} |
| 1407 | }}} | |
| r113 | 1408 | {{{#!if !this.break |
| 1409 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1410 | }}} |
| 1411 | }}} | |
| 1412 | }}} | |
| r113 | 1413 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1414 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1415 | }}} |
| r113 | 1416 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1417 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1418 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1419 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1420 | }}} |
| r113 | 1421 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) |
| 1422 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| r96 | 1423 | }}} |
| 1424 | }}} | |
| r113 | 1425 | ##### |
| 1426 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1427 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1428 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1429 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1430 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1431 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1432 | }}}{{{#!if this.divider == -1 | |
| r96 | 1433 | ##[[링크]] |
| r113 | 1434 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1435 | }}} |
| r113 | 1436 | }}}{{{#!if this.divider != -1 |
| 1437 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1438 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1439 | ##[[|]] > 출력 x |
| 1440 | }}} | |
| 1441 | }}} | |
| r113 | 1442 | {{{#!if (this.divider == 2) && !this.break |
| 1443 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1444 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1445 | }}} | |
| 1446 | }}} | |
| r113 | 1447 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1448 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1449 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1450 | }}} |
| 1451 | }}} | |
| r113 | 1452 | {{{#!if !this.break |
| 1453 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1454 | }}} |
| 1455 | }}} | |
| 1456 | }}} | |
| r113 | 1457 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1458 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1459 | }}} |
| r113 | 1460 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1461 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1462 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1463 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1464 | }}} |
| r113 | 1465 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) |
| 1466 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| r96 | 1467 | }}} |
| 1468 | }}} | |
| r113 | 1469 | ##### |
| 1470 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1471 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1472 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1473 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1474 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1475 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1476 | }}}{{{#!if this.divider == -1 | |
| r96 | 1477 | ##[[링크]] |
| r113 | 1478 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1479 | }}} |
| r113 | 1480 | }}}{{{#!if this.divider != -1 |
| 1481 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1482 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1483 | ##[[|]] > 출력 x |
| 1484 | }}} | |
| 1485 | }}} | |
| r113 | 1486 | {{{#!if (this.divider == 2) && !this.break |
| 1487 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1488 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1489 | }}} | |
| 1490 | }}} | |
| r113 | 1491 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1492 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1493 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1494 | }}} |
| 1495 | }}} | |
| r113 | 1496 | {{{#!if !this.break |
| 1497 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1498 | }}} |
| 1499 | }}} | |
| 1500 | }}} | |
| r113 | 1501 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1502 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1503 | }}} |
| r113 | 1504 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1505 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1506 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1507 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1508 | }}} |
| r113 | 1509 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) |
| 1510 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| r96 | 1511 | }}} |
| 1512 | }}} | |
| r113 | 1513 | ##### |
| 1514 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1515 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1516 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1517 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1518 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1519 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1520 | }}}{{{#!if this.divider == -1 | |
| r96 | 1521 | ##[[링크]] |
| r113 | 1522 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1523 | }}} |
| r113 | 1524 | }}}{{{#!if this.divider != -1 |
| 1525 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1526 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1527 | ##[[|]] > 출력 x |
| 1528 | }}} | |
| 1529 | }}} | |
| r113 | 1530 | {{{#!if (this.divider == 2) && !this.break |
| 1531 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1532 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1533 | }}} | |
| 1534 | }}} | |
| r113 | 1535 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1536 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1537 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1538 | }}} |
| 1539 | }}} | |
| r113 | 1540 | {{{#!if !this.break |
| 1541 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1542 | }}} |
| 1543 | }}} | |
| 1544 | }}} | |
| r113 | 1545 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1546 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1547 | }}} |
| r113 | 1548 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1549 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1550 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1551 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1552 | }}} |
| r113 | 1553 | }}}{{{#!if this.input = this.input.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.linkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.input.substring(this.linkClose + 2) |
| 1554 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0, this.linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + this.outLink + '"><a href="' + this.Href + '"><div style="color: ' + this.DarkLinkColor + '; display: inline">' + this.linkPrint + '</div></a></div></div></div>' + this.DarkInput.substring(this.linkClose + 2) | |
| r96 | 1555 | }}} |
| 1556 | }}} | |
| r113 | 1557 | {{{#!if this.Emlist = {'+1':'1.28889em','+2':'1.38889em','+3':'1.48144em','+4':'1.57400em','+5':'1.66667em','-1':'0.92589em','-2':'0.83333em','-3':'0.74067em','-4':'0.64811em','-5':'0.62222em'} |
| r95 | 1558 | }}} |
| r113 | 1559 | ####################################################################################################################################### 중괄호사용 |
| 1560 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1561 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1562 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 1563 | }}} |
| r113 | 1564 | {{{#!if this._ParOpen == -1 |
| 1565 | {{{#!if this.Match=true | |
| r77 | 1566 | }}} |
| r113 | 1567 | }}}{{{#!if this._ParOpen != -1 |
| 1568 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 1569 | }}} |
| 1570 | }}} | |
| r113 | 1571 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1572 | }}} |
| r113 | 1573 | {{{#!if this._ParOpen == -1 |
| 1574 | {{{#!if this.Match=true | |
| r77 | 1575 | }}} |
| r113 | 1576 | }}}{{{#!if this._ParOpen != -1 |
| 1577 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1578 | }}} |
| 1579 | }}} | |
| r113 | 1580 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1581 | }}} |
| r113 | 1582 | {{{#!if this._ParOpen == -1 |
| 1583 | {{{#!if this.Match=true | |
| r77 | 1584 | }}} |
| r113 | 1585 | }}}{{{#!if this._ParOpen != -1 |
| 1586 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1587 | }}} |
| 1588 | }}} | |
| r113 | 1589 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1590 | }}} |
| r113 | 1591 | {{{#!if this._ParOpen == -1 |
| 1592 | {{{#!if this.Match=true | |
| r85 | 1593 | }}} |
| r113 | 1594 | }}}{{{#!if this._ParOpen != -1 |
| 1595 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1596 | }}} |
| 1597 | }}} | |
| r113 | 1598 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1599 | }}} |
| r113 | 1600 | {{{#!if this._ParOpen == -1 |
| 1601 | {{{#!if this.Match=true | |
| r85 | 1602 | }}} |
| r113 | 1603 | }}}{{{#!if this._ParOpen != -1 |
| 1604 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1605 | }}} |
| 1606 | }}} | |
| r113 | 1607 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1608 | }}} |
| r113 | 1609 | {{{#!if this._ParOpen == -1 |
| 1610 | {{{#!if this.Match=true | |
| r85 | 1611 | }}} |
| r113 | 1612 | }}}{{{#!if this._ParOpen != -1 |
| 1613 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1614 | }}} |
| 1615 | }}} | |
| r113 | 1616 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1617 | }}} |
| r113 | 1618 | {{{#!if this._ParOpen == -1 |
| 1619 | {{{#!if this.Match=true | |
| r85 | 1620 | }}} |
| r113 | 1621 | }}}{{{#!if this._ParOpen != -1 |
| 1622 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1623 | }}} |
| 1624 | }}} | |
| 1625 | }}} | |
| r113 | 1626 | ##### |
| 1627 | {{{#!if this.Match | |
| 1628 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1629 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 1630 | }}} |
| 1631 | }}} | |
| r113 | 1632 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1633 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1634 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1635 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 1636 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1637 | }}} |
| 1638 | }}} | |
| 1639 | }}} | |
| r113 | 1640 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1641 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1642 | }}}{{{#!if this.Blank!=-1 | |
| 1643 | {{{#!if this.Comma != -1 | |
| 1644 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r77 | 1645 | }}} |
| 1646 | }}} | |
| r113 | 1647 | {{{#!if this.Comma == -1 |
| 1648 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 1649 | }}} |
| r113 | 1650 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1651 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r85 | 1652 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 1653 | }}} |
| 1654 | }}} | |
| 1655 | }}} | |
| r113 | 1656 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1657 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1658 | }}}{{{#!if this.Blank==5 | |
| 1659 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1660 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1661 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1662 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1663 | }}} |
| 1664 | }}} | |
| 1665 | }}} | |
| 1666 | }}} | |
| 1667 | }}} | |
| r113 | 1668 | ##### |
| 1669 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1670 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1671 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 1672 | }}} |
| r113 | 1673 | {{{#!if this._ParOpen == -1 |
| 1674 | {{{#!if this.Match=true | |
| r95 | 1675 | }}} |
| r113 | 1676 | }}}{{{#!if this._ParOpen != -1 |
| 1677 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 1678 | }}} |
| 1679 | }}} | |
| r113 | 1680 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1681 | }}} |
| r113 | 1682 | {{{#!if this._ParOpen == -1 |
| 1683 | {{{#!if this.Match=true | |
| r95 | 1684 | }}} |
| r113 | 1685 | }}}{{{#!if this._ParOpen != -1 |
| 1686 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1687 | }}} |
| 1688 | }}} | |
| r113 | 1689 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1690 | }}} |
| r113 | 1691 | {{{#!if this._ParOpen == -1 |
| 1692 | {{{#!if this.Match=true | |
| r95 | 1693 | }}} |
| r113 | 1694 | }}}{{{#!if this._ParOpen != -1 |
| 1695 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1696 | }}} |
| 1697 | }}} | |
| r113 | 1698 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1699 | }}} |
| r113 | 1700 | {{{#!if this._ParOpen == -1 |
| 1701 | {{{#!if this.Match=true | |
| r95 | 1702 | }}} |
| r113 | 1703 | }}}{{{#!if this._ParOpen != -1 |
| 1704 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1705 | }}} |
| 1706 | }}} | |
| r113 | 1707 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1708 | }}} |
| r113 | 1709 | {{{#!if this._ParOpen == -1 |
| 1710 | {{{#!if this.Match=true | |
| r95 | 1711 | }}} |
| r113 | 1712 | }}}{{{#!if this._ParOpen != -1 |
| 1713 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1714 | }}} |
| 1715 | }}} | |
| r113 | 1716 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1717 | }}} |
| r113 | 1718 | {{{#!if this._ParOpen == -1 |
| 1719 | {{{#!if this.Match=true | |
| r95 | 1720 | }}} |
| r113 | 1721 | }}}{{{#!if this._ParOpen != -1 |
| 1722 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1723 | }}} |
| 1724 | }}} | |
| r113 | 1725 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1726 | }}} |
| r113 | 1727 | {{{#!if this._ParOpen == -1 |
| 1728 | {{{#!if this.Match=true | |
| r95 | 1729 | }}} |
| r113 | 1730 | }}}{{{#!if this._ParOpen != -1 |
| 1731 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1732 | }}} |
| 1733 | }}} | |
| 1734 | }}} | |
| r113 | 1735 | ##### |
| 1736 | {{{#!if this.Match | |
| 1737 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1738 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 1739 | }}} |
| r95 | 1740 | }}} |
| r113 | 1741 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1742 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1743 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1744 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 1745 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1746 | }}} |
| 1747 | }}} | |
| 1748 | }}} | |
| r113 | 1749 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1750 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1751 | }}}{{{#!if this.Blank!=-1 | |
| 1752 | {{{#!if this.Comma != -1 | |
| 1753 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 1754 | }}} |
| 1755 | }}} | |
| r113 | 1756 | {{{#!if this.Comma == -1 |
| 1757 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 1758 | }}} |
| r113 | 1759 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1760 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1761 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1762 | }}} | |
| 1763 | }}} | |
| 1764 | }}} | |
| r113 | 1765 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1766 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1767 | }}}{{{#!if this.Blank==5 | |
| 1768 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1769 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1770 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1771 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1772 | }}} |
| 1773 | }}} | |
| 1774 | }}} | |
| 1775 | }}} | |
| r85 | 1776 | }}} |
| r113 | 1777 | ##### |
| 1778 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1779 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1780 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 1781 | }}} |
| r113 | 1782 | {{{#!if this._ParOpen == -1 |
| 1783 | {{{#!if this.Match=true | |
| r77 | 1784 | }}} |
| r113 | 1785 | }}}{{{#!if this._ParOpen != -1 |
| 1786 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 1787 | }}} |
| 1788 | }}} | |
| r113 | 1789 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1790 | }}} |
| r113 | 1791 | {{{#!if this._ParOpen == -1 |
| 1792 | {{{#!if this.Match=true | |
| r77 | 1793 | }}} |
| r113 | 1794 | }}}{{{#!if this._ParOpen != -1 |
| 1795 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1796 | }}} |
| 1797 | }}} | |
| r113 | 1798 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1799 | }}} |
| r113 | 1800 | {{{#!if this._ParOpen == -1 |
| 1801 | {{{#!if this.Match=true | |
| r77 | 1802 | }}} |
| r113 | 1803 | }}}{{{#!if this._ParOpen != -1 |
| 1804 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1805 | }}} |
| 1806 | }}} | |
| r113 | 1807 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1808 | }}} |
| r113 | 1809 | {{{#!if this._ParOpen == -1 |
| 1810 | {{{#!if this.Match=true | |
| r85 | 1811 | }}} |
| r113 | 1812 | }}}{{{#!if this._ParOpen != -1 |
| 1813 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1814 | }}} |
| 1815 | }}} | |
| r113 | 1816 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1817 | }}} |
| r113 | 1818 | {{{#!if this._ParOpen == -1 |
| 1819 | {{{#!if this.Match=true | |
| r85 | 1820 | }}} |
| r113 | 1821 | }}}{{{#!if this._ParOpen != -1 |
| 1822 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1823 | }}} |
| 1824 | }}} | |
| r113 | 1825 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1826 | }}} |
| r113 | 1827 | {{{#!if this._ParOpen == -1 |
| 1828 | {{{#!if this.Match=true | |
| r85 | 1829 | }}} |
| r113 | 1830 | }}}{{{#!if this._ParOpen != -1 |
| 1831 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1832 | }}} |
| 1833 | }}} | |
| r113 | 1834 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1835 | }}} |
| r113 | 1836 | {{{#!if this._ParOpen == -1 |
| 1837 | {{{#!if this.Match=true | |
| r85 | 1838 | }}} |
| r113 | 1839 | }}}{{{#!if this._ParOpen != -1 |
| 1840 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1841 | }}} |
| 1842 | }}} | |
| 1843 | }}} | |
| r113 | 1844 | ##### |
| 1845 | {{{#!if this.Match | |
| 1846 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1847 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 1848 | }}} |
| 1849 | }}} | |
| r113 | 1850 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1851 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1852 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1853 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 1854 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1855 | }}} |
| 1856 | }}} | |
| 1857 | }}} | |
| r113 | 1858 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1859 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1860 | }}}{{{#!if this.Blank!=-1 | |
| 1861 | {{{#!if this.Comma != -1 | |
| 1862 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r77 | 1863 | }}} |
| 1864 | }}} | |
| r113 | 1865 | {{{#!if this.Comma == -1 |
| 1866 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 1867 | }}} |
| r113 | 1868 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1869 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r85 | 1870 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 1871 | }}} |
| 1872 | }}} | |
| 1873 | }}} | |
| r113 | 1874 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1875 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1876 | }}}{{{#!if this.Blank==5 | |
| 1877 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1878 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1879 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1880 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1881 | }}} |
| 1882 | }}} | |
| 1883 | }}} | |
| 1884 | }}} | |
| 1885 | }}} | |
| r113 | 1886 | ##### |
| 1887 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1888 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1889 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 1890 | }}} |
| r113 | 1891 | {{{#!if this._ParOpen == -1 |
| 1892 | {{{#!if this.Match=true | |
| r95 | 1893 | }}} |
| r113 | 1894 | }}}{{{#!if this._ParOpen != -1 |
| 1895 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 1896 | }}} |
| 1897 | }}} | |
| r113 | 1898 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1899 | }}} |
| r113 | 1900 | {{{#!if this._ParOpen == -1 |
| 1901 | {{{#!if this.Match=true | |
| r95 | 1902 | }}} |
| r113 | 1903 | }}}{{{#!if this._ParOpen != -1 |
| 1904 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1905 | }}} |
| 1906 | }}} | |
| r113 | 1907 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1908 | }}} |
| r113 | 1909 | {{{#!if this._ParOpen == -1 |
| 1910 | {{{#!if this.Match=true | |
| r95 | 1911 | }}} |
| r113 | 1912 | }}}{{{#!if this._ParOpen != -1 |
| 1913 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1914 | }}} |
| 1915 | }}} | |
| r113 | 1916 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1917 | }}} |
| r113 | 1918 | {{{#!if this._ParOpen == -1 |
| 1919 | {{{#!if this.Match=true | |
| r95 | 1920 | }}} |
| r113 | 1921 | }}}{{{#!if this._ParOpen != -1 |
| 1922 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1923 | }}} |
| 1924 | }}} | |
| r113 | 1925 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1926 | }}} |
| r113 | 1927 | {{{#!if this._ParOpen == -1 |
| 1928 | {{{#!if this.Match=true | |
| r95 | 1929 | }}} |
| r113 | 1930 | }}}{{{#!if this._ParOpen != -1 |
| 1931 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1932 | }}} |
| 1933 | }}} | |
| r113 | 1934 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1935 | }}} |
| r113 | 1936 | {{{#!if this._ParOpen == -1 |
| 1937 | {{{#!if this.Match=true | |
| r95 | 1938 | }}} |
| r113 | 1939 | }}}{{{#!if this._ParOpen != -1 |
| 1940 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1941 | }}} |
| 1942 | }}} | |
| r113 | 1943 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1944 | }}} |
| r113 | 1945 | {{{#!if this._ParOpen == -1 |
| 1946 | {{{#!if this.Match=true | |
| r95 | 1947 | }}} |
| r113 | 1948 | }}}{{{#!if this._ParOpen != -1 |
| 1949 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1950 | }}} |
| 1951 | }}} | |
| 1952 | }}} | |
| r113 | 1953 | ##### |
| 1954 | {{{#!if this.Match | |
| 1955 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1956 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 1957 | }}} |
| r95 | 1958 | }}} |
| r113 | 1959 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1960 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1961 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1962 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 1963 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1964 | }}} |
| 1965 | }}} | |
| 1966 | }}} | |
| r113 | 1967 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1968 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1969 | }}}{{{#!if this.Blank!=-1 | |
| 1970 | {{{#!if this.Comma != -1 | |
| 1971 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 1972 | }}} |
| 1973 | }}} | |
| r113 | 1974 | {{{#!if this.Comma == -1 |
| 1975 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 1976 | }}} |
| r113 | 1977 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1978 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1979 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1980 | }}} | |
| 1981 | }}} | |
| 1982 | }}} | |
| r113 | 1983 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1984 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1985 | }}}{{{#!if this.Blank==5 | |
| 1986 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1987 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1988 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1989 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1990 | }}} |
| 1991 | }}} | |
| 1992 | }}} | |
| 1993 | }}} | |
| r85 | 1994 | }}} |
| r113 | 1995 | ##### |
| 1996 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1997 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1998 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 1999 | }}} |
| r113 | 2000 | {{{#!if this._ParOpen == -1 |
| 2001 | {{{#!if this.Match=true | |
| r77 | 2002 | }}} |
| r113 | 2003 | }}}{{{#!if this._ParOpen != -1 |
| 2004 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2005 | }}} |
| 2006 | }}} | |
| r113 | 2007 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2008 | }}} |
| r113 | 2009 | {{{#!if this._ParOpen == -1 |
| 2010 | {{{#!if this.Match=true | |
| r77 | 2011 | }}} |
| r113 | 2012 | }}}{{{#!if this._ParOpen != -1 |
| 2013 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2014 | }}} |
| 2015 | }}} | |
| r113 | 2016 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2017 | }}} |
| r113 | 2018 | {{{#!if this._ParOpen == -1 |
| 2019 | {{{#!if this.Match=true | |
| r77 | 2020 | }}} |
| r113 | 2021 | }}}{{{#!if this._ParOpen != -1 |
| 2022 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2023 | }}} |
| 2024 | }}} | |
| r113 | 2025 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2026 | }}} |
| r113 | 2027 | {{{#!if this._ParOpen == -1 |
| 2028 | {{{#!if this.Match=true | |
| r85 | 2029 | }}} |
| r113 | 2030 | }}}{{{#!if this._ParOpen != -1 |
| 2031 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2032 | }}} |
| 2033 | }}} | |
| r113 | 2034 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2035 | }}} |
| r113 | 2036 | {{{#!if this._ParOpen == -1 |
| 2037 | {{{#!if this.Match=true | |
| r85 | 2038 | }}} |
| r113 | 2039 | }}}{{{#!if this._ParOpen != -1 |
| 2040 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2041 | }}} |
| 2042 | }}} | |
| r113 | 2043 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2044 | }}} |
| r113 | 2045 | {{{#!if this._ParOpen == -1 |
| 2046 | {{{#!if this.Match=true | |
| r85 | 2047 | }}} |
| r113 | 2048 | }}}{{{#!if this._ParOpen != -1 |
| 2049 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2050 | }}} |
| 2051 | }}} | |
| r113 | 2052 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2053 | }}} |
| r113 | 2054 | {{{#!if this._ParOpen == -1 |
| 2055 | {{{#!if this.Match=true | |
| r85 | 2056 | }}} |
| r113 | 2057 | }}}{{{#!if this._ParOpen != -1 |
| 2058 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2059 | }}} |
| 2060 | }}} | |
| 2061 | }}} | |
| r113 | 2062 | ##### |
| 2063 | {{{#!if this.Match | |
| 2064 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2065 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2066 | }}} |
| 2067 | }}} | |
| r113 | 2068 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2069 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2070 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2071 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2072 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2073 | }}} |
| 2074 | }}} | |
| 2075 | }}} | |
| r113 | 2076 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2077 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2078 | }}}{{{#!if this.Blank!=-1 | |
| 2079 | {{{#!if this.Comma != -1 | |
| 2080 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r77 | 2081 | }}} |
| 2082 | }}} | |
| r113 | 2083 | {{{#!if this.Comma == -1 |
| 2084 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2085 | }}} |
| r113 | 2086 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2087 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r85 | 2088 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2089 | }}} |
| 2090 | }}} | |
| 2091 | }}} | |
| r113 | 2092 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2093 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2094 | }}}{{{#!if this.Blank==5 | |
| 2095 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2096 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2097 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2098 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 2099 | }}} |
| 2100 | }}} | |
| 2101 | }}} | |
| 2102 | }}} | |
| 2103 | }}} | |
| r113 | 2104 | ##### |
| 2105 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2106 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2107 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 2108 | }}} |
| r113 | 2109 | {{{#!if this._ParOpen == -1 |
| 2110 | {{{#!if this.Match=true | |
| r95 | 2111 | }}} |
| r113 | 2112 | }}}{{{#!if this._ParOpen != -1 |
| 2113 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 2114 | }}} |
| 2115 | }}} | |
| r113 | 2116 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2117 | }}} |
| r113 | 2118 | {{{#!if this._ParOpen == -1 |
| 2119 | {{{#!if this.Match=true | |
| r95 | 2120 | }}} |
| r113 | 2121 | }}}{{{#!if this._ParOpen != -1 |
| 2122 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2123 | }}} |
| 2124 | }}} | |
| r113 | 2125 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2126 | }}} |
| r113 | 2127 | {{{#!if this._ParOpen == -1 |
| 2128 | {{{#!if this.Match=true | |
| r95 | 2129 | }}} |
| r113 | 2130 | }}}{{{#!if this._ParOpen != -1 |
| 2131 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2132 | }}} |
| 2133 | }}} | |
| r113 | 2134 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2135 | }}} |
| r113 | 2136 | {{{#!if this._ParOpen == -1 |
| 2137 | {{{#!if this.Match=true | |
| r95 | 2138 | }}} |
| r113 | 2139 | }}}{{{#!if this._ParOpen != -1 |
| 2140 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2141 | }}} |
| 2142 | }}} | |
| r113 | 2143 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2144 | }}} |
| r113 | 2145 | {{{#!if this._ParOpen == -1 |
| 2146 | {{{#!if this.Match=true | |
| r95 | 2147 | }}} |
| r113 | 2148 | }}}{{{#!if this._ParOpen != -1 |
| 2149 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2150 | }}} |
| 2151 | }}} | |
| r113 | 2152 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2153 | }}} |
| r113 | 2154 | {{{#!if this._ParOpen == -1 |
| 2155 | {{{#!if this.Match=true | |
| r95 | 2156 | }}} |
| r113 | 2157 | }}}{{{#!if this._ParOpen != -1 |
| 2158 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2159 | }}} |
| 2160 | }}} | |
| r113 | 2161 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2162 | }}} |
| r113 | 2163 | {{{#!if this._ParOpen == -1 |
| 2164 | {{{#!if this.Match=true | |
| r95 | 2165 | }}} |
| r113 | 2166 | }}}{{{#!if this._ParOpen != -1 |
| 2167 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2168 | }}} |
| 2169 | }}} | |
| 2170 | }}} | |
| r113 | 2171 | ##### |
| 2172 | {{{#!if this.Match | |
| 2173 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2174 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2175 | }}} |
| r95 | 2176 | }}} |
| r113 | 2177 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2178 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2179 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2180 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2181 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 2182 | }}} |
| 2183 | }}} | |
| 2184 | }}} | |
| r113 | 2185 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2186 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2187 | }}}{{{#!if this.Blank!=-1 | |
| 2188 | {{{#!if this.Comma != -1 | |
| 2189 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 2190 | }}} |
| 2191 | }}} | |
| r113 | 2192 | {{{#!if this.Comma == -1 |
| 2193 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 2194 | }}} |
| r113 | 2195 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2196 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 2197 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2198 | }}} | |
| 2199 | }}} | |
| 2200 | }}} | |
| r113 | 2201 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2202 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2203 | }}}{{{#!if this.Blank==5 | |
| 2204 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2205 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2206 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2207 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2208 | }}} |
| 2209 | }}} | |
| 2210 | }}} | |
| 2211 | }}} | |
| r85 | 2212 | }}} |
| r113 | 2213 | ##### |
| 2214 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2215 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2216 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2217 | }}} |
| r113 | 2218 | {{{#!if this._ParOpen == -1 |
| 2219 | {{{#!if this.Match=true | |
| r77 | 2220 | }}} |
| r113 | 2221 | }}}{{{#!if this._ParOpen != -1 |
| 2222 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2223 | }}} |
| 2224 | }}} | |
| r113 | 2225 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2226 | }}} |
| r113 | 2227 | {{{#!if this._ParOpen == -1 |
| 2228 | {{{#!if this.Match=true | |
| r77 | 2229 | }}} |
| r113 | 2230 | }}}{{{#!if this._ParOpen != -1 |
| 2231 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2232 | }}} |
| 2233 | }}} | |
| r113 | 2234 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2235 | }}} |
| r113 | 2236 | {{{#!if this._ParOpen == -1 |
| 2237 | {{{#!if this.Match=true | |
| r77 | 2238 | }}} |
| r113 | 2239 | }}}{{{#!if this._ParOpen != -1 |
| 2240 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2241 | }}} |
| 2242 | }}} | |
| r113 | 2243 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2244 | }}} |
| r113 | 2245 | {{{#!if this._ParOpen == -1 |
| 2246 | {{{#!if this.Match=true | |
| r85 | 2247 | }}} |
| r113 | 2248 | }}}{{{#!if this._ParOpen != -1 |
| 2249 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2250 | }}} |
| 2251 | }}} | |
| r113 | 2252 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2253 | }}} |
| r113 | 2254 | {{{#!if this._ParOpen == -1 |
| 2255 | {{{#!if this.Match=true | |
| r85 | 2256 | }}} |
| r113 | 2257 | }}}{{{#!if this._ParOpen != -1 |
| 2258 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2259 | }}} |
| 2260 | }}} | |
| r113 | 2261 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2262 | }}} |
| r113 | 2263 | {{{#!if this._ParOpen == -1 |
| 2264 | {{{#!if this.Match=true | |
| r85 | 2265 | }}} |
| r113 | 2266 | }}}{{{#!if this._ParOpen != -1 |
| 2267 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2268 | }}} |
| 2269 | }}} | |
| r113 | 2270 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2271 | }}} |
| r113 | 2272 | {{{#!if this._ParOpen == -1 |
| 2273 | {{{#!if this.Match=true | |
| r85 | 2274 | }}} |
| r113 | 2275 | }}}{{{#!if this._ParOpen != -1 |
| 2276 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2277 | }}} |
| 2278 | }}} | |
| 2279 | }}} | |
| r113 | 2280 | ##### |
| 2281 | {{{#!if this.Match | |
| 2282 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2283 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2284 | }}} |
| 2285 | }}} | |
| r113 | 2286 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2287 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2288 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2289 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2290 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2291 | }}} |
| 2292 | }}} | |
| 2293 | }}} | |
| r113 | 2294 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2295 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2296 | }}}{{{#!if this.Blank!=-1 | |
| 2297 | {{{#!if this.Comma != -1 | |
| 2298 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r77 | 2299 | }}} |
| 2300 | }}} | |
| r113 | 2301 | {{{#!if this.Comma == -1 |
| 2302 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2303 | }}} |
| r113 | 2304 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2305 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r85 | 2306 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2307 | }}} |
| 2308 | }}} | |
| 2309 | }}} | |
| r113 | 2310 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2311 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2312 | }}}{{{#!if this.Blank==5 | |
| 2313 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2314 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2315 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2316 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2317 | }}} |
| 2318 | }}} | |
| 2319 | }}} | |
| 2320 | }}} | |
| r85 | 2321 | }}} |
| r113 | 2322 | ##### |
| 2323 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2324 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2325 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2326 | }}} |
| r113 | 2327 | {{{#!if this._ParOpen == -1 |
| 2328 | {{{#!if this.Match=true | |
| r77 | 2329 | }}} |
| r113 | 2330 | }}}{{{#!if this._ParOpen != -1 |
| 2331 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2332 | }}} |
| 2333 | }}} | |
| r113 | 2334 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2335 | }}} |
| r113 | 2336 | {{{#!if this._ParOpen == -1 |
| 2337 | {{{#!if this.Match=true | |
| r77 | 2338 | }}} |
| r113 | 2339 | }}}{{{#!if this._ParOpen != -1 |
| 2340 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2341 | }}} |
| 2342 | }}} | |
| r113 | 2343 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2344 | }}} |
| r113 | 2345 | {{{#!if this._ParOpen == -1 |
| 2346 | {{{#!if this.Match=true | |
| r77 | 2347 | }}} |
| r113 | 2348 | }}}{{{#!if this._ParOpen != -1 |
| 2349 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2350 | }}} |
| 2351 | }}} | |
| r113 | 2352 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2353 | }}} |
| r113 | 2354 | {{{#!if this._ParOpen == -1 |
| 2355 | {{{#!if this.Match=true | |
| r85 | 2356 | }}} |
| r113 | 2357 | }}}{{{#!if this._ParOpen != -1 |
| 2358 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2359 | }}} |
| 2360 | }}} | |
| r113 | 2361 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2362 | }}} |
| r113 | 2363 | {{{#!if this._ParOpen == -1 |
| 2364 | {{{#!if this.Match=true | |
| r85 | 2365 | }}} |
| r113 | 2366 | }}}{{{#!if this._ParOpen != -1 |
| 2367 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2368 | }}} |
| 2369 | }}} | |
| r113 | 2370 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2371 | }}} |
| r113 | 2372 | {{{#!if this._ParOpen == -1 |
| 2373 | {{{#!if this.Match=true | |
| r85 | 2374 | }}} |
| r113 | 2375 | }}}{{{#!if this._ParOpen != -1 |
| 2376 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2377 | }}} |
| 2378 | }}} | |
| r113 | 2379 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2380 | }}} |
| r113 | 2381 | {{{#!if this._ParOpen == -1 |
| 2382 | {{{#!if this.Match=true | |
| r85 | 2383 | }}} |
| r113 | 2384 | }}}{{{#!if this._ParOpen != -1 |
| 2385 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2386 | }}} |
| 2387 | }}} | |
| 2388 | }}} | |
| r113 | 2389 | ##### |
| 2390 | {{{#!if this.Match | |
| 2391 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2392 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2393 | }}} |
| 2394 | }}} | |
| r113 | 2395 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2396 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2397 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2398 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2399 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2400 | }}} |
| 2401 | }}} | |
| 2402 | }}} | |
| r113 | 2403 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2404 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2405 | }}}{{{#!if this.Blank!=-1 | |
| 2406 | {{{#!if this.Comma != -1 | |
| 2407 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r77 | 2408 | }}} |
| 2409 | }}} | |
| r113 | 2410 | {{{#!if this.Comma == -1 |
| 2411 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2412 | }}} |
| r113 | 2413 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2414 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r85 | 2415 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2416 | }}} |
| 2417 | }}} | |
| 2418 | }}} | |
| r113 | 2419 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2420 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2421 | }}}{{{#!if this.Blank==5 | |
| 2422 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2423 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2424 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2425 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2426 | }}} |
| 2427 | }}} | |
| 2428 | }}} | |
| 2429 | }}} | |
| r85 | 2430 | }}} |
| r113 | 2431 | ##### |
| 2432 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2433 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2434 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2435 | }}} |
| r113 | 2436 | {{{#!if this._ParOpen == -1 |
| 2437 | {{{#!if this.Match=true | |
| r77 | 2438 | }}} |
| r113 | 2439 | }}}{{{#!if this._ParOpen != -1 |
| 2440 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2441 | }}} |
| 2442 | }}} | |
| r113 | 2443 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2444 | }}} |
| r113 | 2445 | {{{#!if this._ParOpen == -1 |
| 2446 | {{{#!if this.Match=true | |
| r77 | 2447 | }}} |
| r113 | 2448 | }}}{{{#!if this._ParOpen != -1 |
| 2449 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2450 | }}} |
| 2451 | }}} | |
| r113 | 2452 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2453 | }}} |
| r113 | 2454 | {{{#!if this._ParOpen == -1 |
| 2455 | {{{#!if this.Match=true | |
| r77 | 2456 | }}} |
| r113 | 2457 | }}}{{{#!if this._ParOpen != -1 |
| 2458 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2459 | }}} |
| 2460 | }}} | |
| r113 | 2461 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2462 | }}} |
| r113 | 2463 | {{{#!if this._ParOpen == -1 |
| 2464 | {{{#!if this.Match=true | |
| r85 | 2465 | }}} |
| r113 | 2466 | }}}{{{#!if this._ParOpen != -1 |
| 2467 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2468 | }}} |
| 2469 | }}} | |
| r113 | 2470 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2471 | }}} |
| r113 | 2472 | {{{#!if this._ParOpen == -1 |
| 2473 | {{{#!if this.Match=true | |
| r85 | 2474 | }}} |
| r113 | 2475 | }}}{{{#!if this._ParOpen != -1 |
| 2476 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2477 | }}} |
| 2478 | }}} | |
| r113 | 2479 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2480 | }}} |
| r113 | 2481 | {{{#!if this._ParOpen == -1 |
| 2482 | {{{#!if this.Match=true | |
| r85 | 2483 | }}} |
| r113 | 2484 | }}}{{{#!if this._ParOpen != -1 |
| 2485 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2486 | }}} |
| 2487 | }}} | |
| r113 | 2488 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2489 | }}} |
| r113 | 2490 | {{{#!if this._ParOpen == -1 |
| 2491 | {{{#!if this.Match=true | |
| r85 | 2492 | }}} |
| r113 | 2493 | }}}{{{#!if this._ParOpen != -1 |
| 2494 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2495 | }}} |
| 2496 | }}} | |
| 2497 | }}} | |
| r113 | 2498 | ##### |
| 2499 | {{{#!if this.Match | |
| 2500 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2501 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2502 | }}} |
| 2503 | }}} | |
| r113 | 2504 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2505 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2506 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2507 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2508 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2509 | }}} |
| 2510 | }}} | |
| 2511 | }}} | |
| r113 | 2512 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2513 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2514 | }}}{{{#!if this.Blank!=-1 | |
| 2515 | {{{#!if this.Comma != -1 | |
| 2516 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r77 | 2517 | }}} |
| 2518 | }}} | |
| r113 | 2519 | {{{#!if this.Comma == -1 |
| 2520 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2521 | }}} |
| r113 | 2522 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2523 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r85 | 2524 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2525 | }}} |
| 2526 | }}} | |
| 2527 | }}} | |
| r113 | 2528 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2529 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2530 | }}}{{{#!if this.Blank==5 | |
| 2531 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2532 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2533 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2534 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2535 | }}} |
| 2536 | }}} | |
| 2537 | }}} | |
| 2538 | }}} | |
| r85 | 2539 | }}} |
| r113 | 2540 | ##### |
| 2541 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2542 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2543 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2544 | }}} |
| r113 | 2545 | {{{#!if this._ParOpen == -1 |
| 2546 | {{{#!if this.Match=true | |
| r77 | 2547 | }}} |
| r113 | 2548 | }}}{{{#!if this._ParOpen != -1 |
| 2549 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2550 | }}} |
| 2551 | }}} | |
| r113 | 2552 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2553 | }}} |
| r113 | 2554 | {{{#!if this._ParOpen == -1 |
| 2555 | {{{#!if this.Match=true | |
| r77 | 2556 | }}} |
| r113 | 2557 | }}}{{{#!if this._ParOpen != -1 |
| 2558 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2559 | }}} |
| 2560 | }}} | |
| r113 | 2561 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2562 | }}} |
| r113 | 2563 | {{{#!if this._ParOpen == -1 |
| 2564 | {{{#!if this.Match=true | |
| r77 | 2565 | }}} |
| r113 | 2566 | }}}{{{#!if this._ParOpen != -1 |
| 2567 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2568 | }}} |
| 2569 | }}} | |
| r113 | 2570 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2571 | }}} |
| r113 | 2572 | {{{#!if this._ParOpen == -1 |
| 2573 | {{{#!if this.Match=true | |
| r85 | 2574 | }}} |
| r113 | 2575 | }}}{{{#!if this._ParOpen != -1 |
| 2576 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2577 | }}} |
| 2578 | }}} | |
| r113 | 2579 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2580 | }}} |
| r113 | 2581 | {{{#!if this._ParOpen == -1 |
| 2582 | {{{#!if this.Match=true | |
| r85 | 2583 | }}} |
| r113 | 2584 | }}}{{{#!if this._ParOpen != -1 |
| 2585 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2586 | }}} |
| 2587 | }}} | |
| r113 | 2588 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2589 | }}} |
| r113 | 2590 | {{{#!if this._ParOpen == -1 |
| 2591 | {{{#!if this.Match=true | |
| r85 | 2592 | }}} |
| r113 | 2593 | }}}{{{#!if this._ParOpen != -1 |
| 2594 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2595 | }}} |
| 2596 | }}} | |
| r113 | 2597 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2598 | }}} |
| r113 | 2599 | {{{#!if this._ParOpen == -1 |
| 2600 | {{{#!if this.Match=true | |
| r85 | 2601 | }}} |
| r113 | 2602 | }}}{{{#!if this._ParOpen != -1 |
| 2603 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2604 | }}} |
| 2605 | }}} | |
| 2606 | }}} | |
| r113 | 2607 | ##### |
| 2608 | {{{#!if this.Match | |
| 2609 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2610 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r77 | 2611 | }}} |
| 2612 | }}} | |
| r113 | 2613 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2614 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2615 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2616 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2617 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2618 | }}} |
| 2619 | }}} | |
| 2620 | }}} | |
| r113 | 2621 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2622 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2623 | }}}{{{#!if this.Blank!=-1 | |
| 2624 | {{{#!if this.Comma != -1 | |
| 2625 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r77 | 2626 | }}} |
| 2627 | }}} | |
| r113 | 2628 | {{{#!if this.Comma == -1 |
| 2629 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2630 | }}} |
| r113 | 2631 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2632 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r85 | 2633 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2634 | }}} |
| 2635 | }}} | |
| 2636 | }}} | |
| r113 | 2637 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2638 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2639 | }}}{{{#!if this.Blank==5 | |
| 2640 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2641 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2642 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2643 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2644 | }}} |
| 2645 | }}} | |
| 2646 | }}} | |
| 2647 | }}} | |
| r85 | 2648 | }}} |
| r113 | 2649 | ##### |
| 2650 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2651 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2652 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2653 | }}} |
| r113 | 2654 | {{{#!if this._ParOpen == -1 |
| 2655 | {{{#!if this.Match=true | |
| r77 | 2656 | }}} |
| r113 | 2657 | }}}{{{#!if this._ParOpen != -1 |
| 2658 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2659 | }}} |
| 2660 | }}} | |
| r113 | 2661 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2662 | }}} |
| r113 | 2663 | {{{#!if this._ParOpen == -1 |
| 2664 | {{{#!if this.Match=true | |
| r77 | 2665 | }}} |
| r113 | 2666 | }}}{{{#!if this._ParOpen != -1 |
| 2667 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2668 | }}} |
| 2669 | }}} | |
| r113 | 2670 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2671 | }}} |
| r113 | 2672 | {{{#!if this._ParOpen == -1 |
| 2673 | {{{#!if this.Match=true | |
| r77 | 2674 | }}} |
| r113 | 2675 | }}}{{{#!if this._ParOpen != -1 |
| 2676 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2677 | }}} |
| 2678 | }}} | |
| r113 | 2679 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2680 | }}} |
| r113 | 2681 | {{{#!if this._ParOpen == -1 |
| 2682 | {{{#!if this.Match=true | |
| r85 | 2683 | }}} |
| r113 | 2684 | }}}{{{#!if this._ParOpen != -1 |
| 2685 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2686 | }}} |
| 2687 | }}} | |
| r113 | 2688 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2689 | }}} |
| r113 | 2690 | {{{#!if this._ParOpen == -1 |
| 2691 | {{{#!if this.Match=true | |
| r85 | 2692 | }}} |
| r113 | 2693 | }}}{{{#!if this._ParOpen != -1 |
| 2694 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2695 | }}} |
| 2696 | }}} | |
| r113 | 2697 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2698 | }}} |
| r113 | 2699 | {{{#!if this._ParOpen == -1 |
| 2700 | {{{#!if this.Match=true | |
| r85 | 2701 | }}} |
| r113 | 2702 | }}}{{{#!if this._ParOpen != -1 |
| 2703 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2704 | }}} |
| 2705 | }}} | |
| r113 | 2706 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2707 | }}} |
| r113 | 2708 | {{{#!if this._ParOpen == -1 |
| 2709 | {{{#!if this.Match=true | |
| r85 | 2710 | }}} |
| r113 | 2711 | }}}{{{#!if this._ParOpen != -1 |
| 2712 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2713 | }}} |
| 2714 | }}} | |
| 2715 | }}} | |
| r113 | 2716 | ##### |
| 2717 | {{{#!if this.Match | |
| 2718 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2719 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 2720 | }}} | |
| 2721 | }}} | |
| 2722 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2723 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2724 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2725 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2726 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2727 | }}} | |
| 2728 | }}} | |
| 2729 | }}} | |
| 2730 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2731 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2732 | }}}{{{#!if this.Blank!=-1 | |
| 2733 | {{{#!if this.Comma != -1 | |
| 2734 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| 2735 | }}} | |
| 2736 | }}} | |
| 2737 | {{{#!if this.Comma == -1 | |
| 2738 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2739 | }}} | |
| 2740 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2741 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2742 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 2743 | }}} | |
| 2744 | }}} | |
| 2745 | }}} | |
| 2746 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2747 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2748 | }}}{{{#!if this.Blank==5 | |
| 2749 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2750 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2751 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2752 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2753 | }}} | |
| 2754 | }}} | |
| r92 | 2755 | }}} |
| r113 | 2756 | }}} |
| 2757 | }}} | |
| 2758 | ##### | |
| 2759 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2760 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2761 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2762 | }}} | |
| 2763 | {{{#!if this._ParOpen == -1 | |
| 2764 | {{{#!if this.Match=true | |
| r92 | 2765 | }}} |
| r113 | 2766 | }}}{{{#!if this._ParOpen != -1 |
| 2767 | {{{#!if this.ParOpen=this._ParOpen | |
| r92 | 2768 | }}} |
| 2769 | }}} | |
| r113 | 2770 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r92 | 2771 | }}} |
| r113 | 2772 | {{{#!if this._ParOpen == -1 |
| 2773 | {{{#!if this.Match=true | |
| 2774 | }}} | |
| 2775 | }}}{{{#!if this._ParOpen != -1 | |
| 2776 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2777 | }}} | |
| 2778 | }}} | |
| 2779 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2780 | }}} | |
| 2781 | {{{#!if this._ParOpen == -1 | |
| 2782 | {{{#!if this.Match=true | |
| 2783 | }}} | |
| 2784 | }}}{{{#!if this._ParOpen != -1 | |
| 2785 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2786 | }}} | |
| 2787 | }}} | |
| 2788 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2789 | }}} | |
| 2790 | {{{#!if this._ParOpen == -1 | |
| 2791 | {{{#!if this.Match=true | |
| 2792 | }}} | |
| 2793 | }}}{{{#!if this._ParOpen != -1 | |
| 2794 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2795 | }}} | |
| 2796 | }}} | |
| 2797 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2798 | }}} | |
| 2799 | {{{#!if this._ParOpen == -1 | |
| 2800 | {{{#!if this.Match=true | |
| 2801 | }}} | |
| 2802 | }}}{{{#!if this._ParOpen != -1 | |
| 2803 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2804 | }}} | |
| 2805 | }}} | |
| 2806 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2807 | }}} | |
| 2808 | {{{#!if this._ParOpen == -1 | |
| 2809 | {{{#!if this.Match=true | |
| 2810 | }}} | |
| 2811 | }}}{{{#!if this._ParOpen != -1 | |
| 2812 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2813 | }}} | |
| 2814 | }}} | |
| 2815 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2816 | }}} | |
| 2817 | {{{#!if this._ParOpen == -1 | |
| 2818 | {{{#!if this.Match=true | |
| 2819 | }}} | |
| 2820 | }}}{{{#!if this._ParOpen != -1 | |
| 2821 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2822 | }}} | |
| 2823 | }}} | |
| 2824 | }}} | |
| 2825 | ##### | |
| 2826 | {{{#!if this.Match | |
| 2827 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2828 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r92 | 2829 | }}} |
| 2830 | }}} | |
| r113 | 2831 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2832 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2833 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2834 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2835 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r92 | 2836 | }}} |
| 2837 | }}} | |
| 2838 | }}} | |
| r113 | 2839 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2840 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2841 | }}}{{{#!if this.Blank!=-1 | |
| 2842 | {{{#!if this.Comma != -1 | |
| 2843 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r92 | 2844 | }}} |
| 2845 | }}} | |
| r113 | 2846 | {{{#!if this.Comma == -1 |
| 2847 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r92 | 2848 | }}} |
| r113 | 2849 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2850 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r92 | 2851 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2852 | }}} | |
| 2853 | }}} | |
| 2854 | }}} | |
| r113 | 2855 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2856 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2857 | }}}{{{#!if this.Blank==5 | |
| 2858 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2859 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2860 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2861 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 2862 | }}} |
| 2863 | }}} | |
| 2864 | }}} | |
| 2865 | }}} | |
| 2866 | }}} | |
| r113 | 2867 | ##### |
| 2868 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2869 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2870 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 2871 | }}} |
| r113 | 2872 | {{{#!if this._ParOpen == -1 |
| 2873 | {{{#!if this.Match=true | |
| r109 | 2874 | }}} |
| r113 | 2875 | }}}{{{#!if this._ParOpen != -1 |
| 2876 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 2877 | }}} |
| 2878 | }}} | |
| r113 | 2879 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2880 | }}} |
| r113 | 2881 | {{{#!if this._ParOpen == -1 |
| 2882 | {{{#!if this.Match=true | |
| r109 | 2883 | }}} |
| r113 | 2884 | }}}{{{#!if this._ParOpen != -1 |
| 2885 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2886 | }}} |
| 2887 | }}} | |
| r113 | 2888 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2889 | }}} |
| r113 | 2890 | {{{#!if this._ParOpen == -1 |
| 2891 | {{{#!if this.Match=true | |
| r109 | 2892 | }}} |
| r113 | 2893 | }}}{{{#!if this._ParOpen != -1 |
| 2894 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2895 | }}} |
| 2896 | }}} | |
| r113 | 2897 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2898 | }}} |
| r113 | 2899 | {{{#!if this._ParOpen == -1 |
| 2900 | {{{#!if this.Match=true | |
| r109 | 2901 | }}} |
| r113 | 2902 | }}}{{{#!if this._ParOpen != -1 |
| 2903 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2904 | }}} |
| 2905 | }}} | |
| r113 | 2906 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2907 | }}} |
| r113 | 2908 | {{{#!if this._ParOpen == -1 |
| 2909 | {{{#!if this.Match=true | |
| r109 | 2910 | }}} |
| r113 | 2911 | }}}{{{#!if this._ParOpen != -1 |
| 2912 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2913 | }}} |
| 2914 | }}} | |
| r113 | 2915 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2916 | }}} |
| r113 | 2917 | {{{#!if this._ParOpen == -1 |
| 2918 | {{{#!if this.Match=true | |
| r109 | 2919 | }}} |
| r113 | 2920 | }}}{{{#!if this._ParOpen != -1 |
| 2921 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2922 | }}} |
| 2923 | }}} | |
| 2924 | }}} | |
| r113 | 2925 | ##### |
| 2926 | {{{#!if this.Match | |
| 2927 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2928 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 2929 | }}} |
| 2930 | }}} | |
| r113 | 2931 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2932 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2933 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2934 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 2935 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 2936 | }}} |
| 2937 | }}} | |
| 2938 | }}} | |
| r113 | 2939 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2940 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2941 | }}}{{{#!if this.Blank!=-1 | |
| 2942 | {{{#!if this.Comma != -1 | |
| 2943 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 2944 | }}} |
| 2945 | }}} | |
| r113 | 2946 | {{{#!if this.Comma == -1 |
| 2947 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 2948 | }}} |
| r113 | 2949 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2950 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 2951 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2952 | }}} | |
| 2953 | }}} | |
| 2954 | }}} | |
| r113 | 2955 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2956 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2957 | }}}{{{#!if this.Blank==5 | |
| 2958 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2959 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2960 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2961 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 2962 | }}} |
| 2963 | }}} | |
| 2964 | }}} | |
| 2965 | }}} | |
| 2966 | }}} | |
| r113 | 2967 | ##### |
| 2968 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2969 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2970 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 2971 | }}} |
| r113 | 2972 | {{{#!if this._ParOpen == -1 |
| 2973 | {{{#!if this.Match=true | |
| r109 | 2974 | }}} |
| r113 | 2975 | }}}{{{#!if this._ParOpen != -1 |
| 2976 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 2977 | }}} |
| 2978 | }}} | |
| r113 | 2979 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2980 | }}} |
| r113 | 2981 | {{{#!if this._ParOpen == -1 |
| 2982 | {{{#!if this.Match=true | |
| r109 | 2983 | }}} |
| r113 | 2984 | }}}{{{#!if this._ParOpen != -1 |
| 2985 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2986 | }}} |
| 2987 | }}} | |
| r113 | 2988 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2989 | }}} |
| r113 | 2990 | {{{#!if this._ParOpen == -1 |
| 2991 | {{{#!if this.Match=true | |
| r109 | 2992 | }}} |
| r113 | 2993 | }}}{{{#!if this._ParOpen != -1 |
| 2994 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2995 | }}} |
| 2996 | }}} | |
| r113 | 2997 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2998 | }}} |
| r113 | 2999 | {{{#!if this._ParOpen == -1 |
| 3000 | {{{#!if this.Match=true | |
| r109 | 3001 | }}} |
| r113 | 3002 | }}}{{{#!if this._ParOpen != -1 |
| 3003 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3004 | }}} |
| 3005 | }}} | |
| r113 | 3006 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3007 | }}} |
| r113 | 3008 | {{{#!if this._ParOpen == -1 |
| 3009 | {{{#!if this.Match=true | |
| r109 | 3010 | }}} |
| r113 | 3011 | }}}{{{#!if this._ParOpen != -1 |
| 3012 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3013 | }}} |
| 3014 | }}} | |
| 3015 | }}} | |
| r113 | 3016 | ##### |
| 3017 | {{{#!if this.Match | |
| 3018 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3019 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3020 | }}} |
| 3021 | }}} | |
| r113 | 3022 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3023 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3024 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3025 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3026 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3027 | }}} |
| 3028 | }}} | |
| 3029 | }}} | |
| r113 | 3030 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3031 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3032 | }}}{{{#!if this.Blank!=-1 | |
| 3033 | {{{#!if this.Comma != -1 | |
| 3034 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 3035 | }}} |
| 3036 | }}} | |
| r113 | 3037 | {{{#!if this.Comma == -1 |
| 3038 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3039 | }}} |
| r113 | 3040 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3041 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3042 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3043 | }}} | |
| 3044 | }}} | |
| 3045 | }}} | |
| r113 | 3046 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3047 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3048 | }}}{{{#!if this.Blank==5 | |
| 3049 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3050 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3051 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3052 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3053 | }}} |
| 3054 | }}} | |
| 3055 | }}} | |
| 3056 | }}} | |
| 3057 | }}} | |
| r113 | 3058 | ##### |
| 3059 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3060 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3061 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3062 | }}} |
| r113 | 3063 | {{{#!if this._ParOpen == -1 |
| 3064 | {{{#!if this.Match=true | |
| r109 | 3065 | }}} |
| r113 | 3066 | }}}{{{#!if this._ParOpen != -1 |
| 3067 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3068 | }}} |
| 3069 | }}} | |
| r113 | 3070 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3071 | }}} |
| r113 | 3072 | {{{#!if this._ParOpen == -1 |
| 3073 | {{{#!if this.Match=true | |
| r109 | 3074 | }}} |
| r113 | 3075 | }}}{{{#!if this._ParOpen != -1 |
| 3076 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3077 | }}} |
| 3078 | }}} | |
| r113 | 3079 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3080 | }}} |
| r113 | 3081 | {{{#!if this._ParOpen == -1 |
| 3082 | {{{#!if this.Match=true | |
| r109 | 3083 | }}} |
| r113 | 3084 | }}}{{{#!if this._ParOpen != -1 |
| 3085 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3086 | }}} |
| 3087 | }}} | |
| r113 | 3088 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3089 | }}} |
| r113 | 3090 | {{{#!if this._ParOpen == -1 |
| 3091 | {{{#!if this.Match=true | |
| r109 | 3092 | }}} |
| r113 | 3093 | }}}{{{#!if this._ParOpen != -1 |
| 3094 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3095 | }}} |
| 3096 | }}} | |
| 3097 | }}} | |
| r113 | 3098 | ##### |
| 3099 | {{{#!if this.Match | |
| 3100 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3101 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3102 | }}} |
| 3103 | }}} | |
| r113 | 3104 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3105 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3106 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3107 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3108 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3109 | }}} |
| 3110 | }}} | |
| 3111 | }}} | |
| r113 | 3112 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3113 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3114 | }}}{{{#!if this.Blank!=-1 | |
| 3115 | {{{#!if this.Comma != -1 | |
| 3116 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 3117 | }}} |
| 3118 | }}} | |
| r113 | 3119 | {{{#!if this.Comma == -1 |
| 3120 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3121 | }}} |
| r113 | 3122 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3123 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3124 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3125 | }}} | |
| 3126 | }}} | |
| 3127 | }}} | |
| r113 | 3128 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3129 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3130 | }}}{{{#!if this.Blank==5 | |
| 3131 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3132 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3133 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3134 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3135 | }}} |
| 3136 | }}} | |
| 3137 | }}} | |
| 3138 | }}} | |
| 3139 | }}} | |
| r113 | 3140 | ##### |
| 3141 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3142 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3143 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3144 | }}} |
| r113 | 3145 | {{{#!if this._ParOpen == -1 |
| 3146 | {{{#!if this.Match=true | |
| r109 | 3147 | }}} |
| r113 | 3148 | }}}{{{#!if this._ParOpen != -1 |
| 3149 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3150 | }}} |
| 3151 | }}} | |
| r113 | 3152 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3153 | }}} |
| r113 | 3154 | {{{#!if this._ParOpen == -1 |
| 3155 | {{{#!if this.Match=true | |
| r109 | 3156 | }}} |
| r113 | 3157 | }}}{{{#!if this._ParOpen != -1 |
| 3158 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3159 | }}} |
| 3160 | }}} | |
| r113 | 3161 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3162 | }}} |
| r113 | 3163 | {{{#!if this._ParOpen == -1 |
| 3164 | {{{#!if this.Match=true | |
| r109 | 3165 | }}} |
| r113 | 3166 | }}}{{{#!if this._ParOpen != -1 |
| 3167 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3168 | }}} |
| 3169 | }}} | |
| 3170 | }}} | |
| r113 | 3171 | ##### |
| 3172 | {{{#!if this.Match | |
| 3173 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3174 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3175 | }}} |
| 3176 | }}} | |
| r113 | 3177 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3178 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3179 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3180 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3181 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3182 | }}} |
| 3183 | }}} | |
| 3184 | }}} | |
| r113 | 3185 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3186 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3187 | }}}{{{#!if this.Blank!=-1 | |
| 3188 | {{{#!if this.Comma != -1 | |
| 3189 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 3190 | }}} |
| 3191 | }}} | |
| r113 | 3192 | {{{#!if this.Comma == -1 |
| 3193 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3194 | }}} |
| r113 | 3195 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3196 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3197 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3198 | }}} | |
| 3199 | }}} | |
| 3200 | }}} | |
| r113 | 3201 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3202 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3203 | }}}{{{#!if this.Blank==5 | |
| 3204 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3205 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3206 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3207 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3208 | }}} |
| 3209 | }}} | |
| 3210 | }}} | |
| 3211 | }}} | |
| 3212 | }}} | |
| r113 | 3213 | ##### |
| 3214 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3215 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3216 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3217 | }}} |
| r113 | 3218 | {{{#!if this._ParOpen == -1 |
| 3219 | {{{#!if this.Match=true | |
| r109 | 3220 | }}} |
| r113 | 3221 | }}}{{{#!if this._ParOpen != -1 |
| 3222 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3223 | }}} |
| 3224 | }}} | |
| r113 | 3225 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3226 | }}} |
| r113 | 3227 | {{{#!if this._ParOpen == -1 |
| 3228 | {{{#!if this.Match=true | |
| r109 | 3229 | }}} |
| r113 | 3230 | }}}{{{#!if this._ParOpen != -1 |
| 3231 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3232 | }}} |
| 3233 | }}} | |
| 3234 | }}} | |
| r113 | 3235 | ##### |
| 3236 | {{{#!if this.Match | |
| 3237 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3238 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3239 | }}} |
| 3240 | }}} | |
| r113 | 3241 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3242 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3243 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3244 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3245 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3246 | }}} |
| 3247 | }}} | |
| 3248 | }}} | |
| r113 | 3249 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3250 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3251 | }}}{{{#!if this.Blank!=-1 | |
| 3252 | {{{#!if this.Comma != -1 | |
| 3253 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 3254 | }}} |
| 3255 | }}} | |
| r113 | 3256 | {{{#!if this.Comma == -1 |
| 3257 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3258 | }}} |
| r113 | 3259 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3260 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3261 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3262 | }}} | |
| 3263 | }}} | |
| 3264 | }}} | |
| r113 | 3265 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3266 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3267 | }}}{{{#!if this.Blank==5 | |
| 3268 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3269 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3270 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3271 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3272 | }}} |
| 3273 | }}} | |
| 3274 | }}} | |
| 3275 | }}} | |
| 3276 | }}} | |
| r113 | 3277 | ##### |
| 3278 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3279 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3280 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3281 | }}} |
| r113 | 3282 | {{{#!if this._ParOpen == -1 |
| 3283 | {{{#!if this.Match=true | |
| r109 | 3284 | }}} |
| r113 | 3285 | }}}{{{#!if this._ParOpen != -1 |
| 3286 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3287 | }}} |
| 3288 | }}} | |
| r113 | 3289 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3290 | }}} |
| r113 | 3291 | {{{#!if this._ParOpen == -1 |
| 3292 | {{{#!if this.Match=true | |
| r109 | 3293 | }}} |
| r113 | 3294 | }}}{{{#!if this._ParOpen != -1 |
| 3295 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3296 | }}} |
| 3297 | }}} | |
| 3298 | }}} | |
| r113 | 3299 | ##### |
| 3300 | {{{#!if this.Match | |
| 3301 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3302 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| r109 | 3303 | }}} |
| 3304 | }}} | |
| r113 | 3305 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3306 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3307 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3308 | {{{#!if this.Text = this.input.substring(this.ParOpen+this.BrL+4,this.ParClose), this.Style=this.input.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| 3309 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3310 | }}} |
| 3311 | }}} | |
| 3312 | }}} | |
| r113 | 3313 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3314 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3315 | }}}{{{#!if this.Blank!=-1 | |
| 3316 | {{{#!if this.Comma != -1 | |
| 3317 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.input.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 3318 | }}} |
| 3319 | }}} | |
| r113 | 3320 | {{{#!if this.Comma == -1 |
| 3321 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3322 | }}} |
| r113 | 3323 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3324 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.WhiteColor+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3325 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3326 | }}} | |
| 3327 | }}} | |
| 3328 | }}} | |
| r113 | 3329 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3330 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3331 | }}}{{{#!if this.Blank==5 | |
| 3332 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3333 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3334 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3335 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3336 | }}} |
| 3337 | }}} | |
| 3338 | }}} | |
| 3339 | }}} | |
| 3340 | }}} | |
| r113 | 3341 | ################################################################################################################################################################################################################################################################################################################################################################################################################################################################## 다크 |
| 3342 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3343 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3344 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3345 | }}} |
| r113 | 3346 | {{{#!if this._ParOpen == -1 |
| 3347 | {{{#!if this.Match=true | |
| r95 | 3348 | }}} |
| r113 | 3349 | }}}{{{#!if this._ParOpen != -1 |
| 3350 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3351 | }}} |
| 3352 | }}} | |
| r113 | 3353 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3354 | }}} |
| r113 | 3355 | {{{#!if this._ParOpen == -1 |
| 3356 | {{{#!if this.Match=true | |
| r95 | 3357 | }}} |
| r113 | 3358 | }}}{{{#!if this._ParOpen != -1 |
| 3359 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3360 | }}} |
| 3361 | }}} | |
| r113 | 3362 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3363 | }}} |
| r113 | 3364 | {{{#!if this._ParOpen == -1 |
| 3365 | {{{#!if this.Match=true | |
| r95 | 3366 | }}} |
| r113 | 3367 | }}}{{{#!if this._ParOpen != -1 |
| 3368 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3369 | }}} |
| 3370 | }}} | |
| r113 | 3371 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3372 | }}} |
| r113 | 3373 | {{{#!if this._ParOpen == -1 |
| 3374 | {{{#!if this.Match=true | |
| r95 | 3375 | }}} |
| r113 | 3376 | }}}{{{#!if this._ParOpen != -1 |
| 3377 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3378 | }}} |
| 3379 | }}} | |
| r113 | 3380 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3381 | }}} |
| r113 | 3382 | {{{#!if this._ParOpen == -1 |
| 3383 | {{{#!if this.Match=true | |
| r95 | 3384 | }}} |
| r113 | 3385 | }}}{{{#!if this._ParOpen != -1 |
| 3386 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3387 | }}} |
| 3388 | }}} | |
| r113 | 3389 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3390 | }}} |
| r113 | 3391 | {{{#!if this._ParOpen == -1 |
| 3392 | {{{#!if this.Match=true | |
| r95 | 3393 | }}} |
| r113 | 3394 | }}}{{{#!if this._ParOpen != -1 |
| 3395 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3396 | }}} |
| 3397 | }}} | |
| r113 | 3398 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3399 | }}} |
| r113 | 3400 | {{{#!if this._ParOpen == -1 |
| 3401 | {{{#!if this.Match=true | |
| r95 | 3402 | }}} |
| r113 | 3403 | }}}{{{#!if this._ParOpen != -1 |
| 3404 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3405 | }}} |
| 3406 | }}} | |
| 3407 | }}} | |
| r113 | 3408 | ##### |
| 3409 | {{{#!if this.Match | |
| 3410 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3411 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r92 | 3412 | }}} |
| r95 | 3413 | }}} |
| r113 | 3414 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3415 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3416 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3417 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3418 | }}} |
| r113 | 3419 | {{{#!if this.DarkStyleL==-1 |
| 3420 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r92 | 3421 | }}}}}} |
| r113 | 3422 | {{{#!if this.DarkStyleL!=-1 |
| 3423 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3424 | }}}}}} | |
| 3425 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3426 | }}} |
| 3427 | }}} | |
| r92 | 3428 | }}} |
| r113 | 3429 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3430 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3431 | }}}{{{#!if this.Blank!=-1 | |
| 3432 | {{{#!if this.Comma != -1 | |
| 3433 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 3434 | }}} |
| 3435 | }}} | |
| r113 | 3436 | {{{#!if this.Comma == -1 |
| 3437 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3438 | }}} |
| r113 | 3439 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3440 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3441 | }}} |
| 3442 | }}} | |
| 3443 | }}} | |
| r113 | 3444 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3445 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3446 | }}}{{{#!if this.Blank==5 | |
| 3447 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3448 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3449 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3450 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3451 | }}} |
| 3452 | }}} | |
| r92 | 3453 | }}} |
| 3454 | }}} | |
| 3455 | }}} | |
| r113 | 3456 | ##### |
| 3457 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3458 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3459 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3460 | }}} |
| r113 | 3461 | {{{#!if this._ParOpen == -1 |
| 3462 | {{{#!if this.Match=true | |
| r95 | 3463 | }}} |
| r113 | 3464 | }}}{{{#!if this._ParOpen != -1 |
| 3465 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3466 | }}} |
| 3467 | }}} | |
| r113 | 3468 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3469 | }}} |
| r113 | 3470 | {{{#!if this._ParOpen == -1 |
| 3471 | {{{#!if this.Match=true | |
| r95 | 3472 | }}} |
| r113 | 3473 | }}}{{{#!if this._ParOpen != -1 |
| 3474 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3475 | }}} |
| 3476 | }}} | |
| r113 | 3477 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3478 | }}} |
| r113 | 3479 | {{{#!if this._ParOpen == -1 |
| 3480 | {{{#!if this.Match=true | |
| r95 | 3481 | }}} |
| r113 | 3482 | }}}{{{#!if this._ParOpen != -1 |
| 3483 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3484 | }}} |
| 3485 | }}} | |
| r113 | 3486 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3487 | }}} |
| r113 | 3488 | {{{#!if this._ParOpen == -1 |
| 3489 | {{{#!if this.Match=true | |
| r95 | 3490 | }}} |
| r113 | 3491 | }}}{{{#!if this._ParOpen != -1 |
| 3492 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3493 | }}} |
| 3494 | }}} | |
| r113 | 3495 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3496 | }}} |
| r113 | 3497 | {{{#!if this._ParOpen == -1 |
| 3498 | {{{#!if this.Match=true | |
| r95 | 3499 | }}} |
| r113 | 3500 | }}}{{{#!if this._ParOpen != -1 |
| 3501 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3502 | }}} |
| 3503 | }}} | |
| r113 | 3504 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3505 | }}} |
| r113 | 3506 | {{{#!if this._ParOpen == -1 |
| 3507 | {{{#!if this.Match=true | |
| r95 | 3508 | }}} |
| r113 | 3509 | }}}{{{#!if this._ParOpen != -1 |
| 3510 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3511 | }}} |
| 3512 | }}} | |
| r113 | 3513 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3514 | }}} |
| r113 | 3515 | {{{#!if this._ParOpen == -1 |
| 3516 | {{{#!if this.Match=true | |
| r95 | 3517 | }}} |
| r113 | 3518 | }}}{{{#!if this._ParOpen != -1 |
| 3519 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3520 | }}} |
| 3521 | }}} | |
| 3522 | }}} | |
| r113 | 3523 | ##### |
| 3524 | {{{#!if this.Match | |
| 3525 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3526 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3527 | }}} |
| 3528 | }}} | |
| r113 | 3529 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3530 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3531 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3532 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3533 | }}} |
| r113 | 3534 | {{{#!if this.DarkStyleL==-1 |
| 3535 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3536 | }}}}}} |
| r113 | 3537 | {{{#!if this.DarkStyleL!=-1 |
| 3538 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3539 | }}}}}} | |
| 3540 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3541 | }}} |
| 3542 | }}} | |
| 3543 | }}} | |
| r113 | 3544 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3545 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3546 | }}}{{{#!if this.Blank!=-1 | |
| 3547 | {{{#!if this.Comma != -1 | |
| 3548 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 3549 | }}} |
| 3550 | }}} | |
| r113 | 3551 | {{{#!if this.Comma == -1 |
| 3552 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3553 | }}} |
| r113 | 3554 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3555 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3556 | }}} |
| 3557 | }}} | |
| 3558 | }}} | |
| r113 | 3559 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3560 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3561 | }}}{{{#!if this.Blank==5 | |
| 3562 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3563 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3564 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3565 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3566 | }}} |
| 3567 | }}} | |
| 3568 | }}} | |
| 3569 | }}} | |
| 3570 | }}} | |
| r113 | 3571 | ##### |
| 3572 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3573 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3574 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3575 | }}} |
| r113 | 3576 | {{{#!if this._ParOpen == -1 |
| 3577 | {{{#!if this.Match=true | |
| r95 | 3578 | }}} |
| r113 | 3579 | }}}{{{#!if this._ParOpen != -1 |
| 3580 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3581 | }}} |
| 3582 | }}} | |
| r113 | 3583 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3584 | }}} |
| r113 | 3585 | {{{#!if this._ParOpen == -1 |
| 3586 | {{{#!if this.Match=true | |
| r95 | 3587 | }}} |
| r113 | 3588 | }}}{{{#!if this._ParOpen != -1 |
| 3589 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3590 | }}} |
| 3591 | }}} | |
| r113 | 3592 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3593 | }}} |
| r113 | 3594 | {{{#!if this._ParOpen == -1 |
| 3595 | {{{#!if this.Match=true | |
| r95 | 3596 | }}} |
| r113 | 3597 | }}}{{{#!if this._ParOpen != -1 |
| 3598 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3599 | }}} |
| 3600 | }}} | |
| r113 | 3601 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3602 | }}} |
| r113 | 3603 | {{{#!if this._ParOpen == -1 |
| 3604 | {{{#!if this.Match=true | |
| r95 | 3605 | }}} |
| r113 | 3606 | }}}{{{#!if this._ParOpen != -1 |
| 3607 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3608 | }}} |
| 3609 | }}} | |
| r113 | 3610 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3611 | }}} |
| r113 | 3612 | {{{#!if this._ParOpen == -1 |
| 3613 | {{{#!if this.Match=true | |
| r95 | 3614 | }}} |
| r113 | 3615 | }}}{{{#!if this._ParOpen != -1 |
| 3616 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3617 | }}} |
| 3618 | }}} | |
| r113 | 3619 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3620 | }}} |
| r113 | 3621 | {{{#!if this._ParOpen == -1 |
| 3622 | {{{#!if this.Match=true | |
| r95 | 3623 | }}} |
| r113 | 3624 | }}}{{{#!if this._ParOpen != -1 |
| 3625 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3626 | }}} |
| 3627 | }}} | |
| r113 | 3628 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3629 | }}} |
| r113 | 3630 | {{{#!if this._ParOpen == -1 |
| 3631 | {{{#!if this.Match=true | |
| r95 | 3632 | }}} |
| r113 | 3633 | }}}{{{#!if this._ParOpen != -1 |
| 3634 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3635 | }}} |
| 3636 | }}} | |
| 3637 | }}} | |
| r113 | 3638 | ##### |
| 3639 | {{{#!if this.Match | |
| 3640 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3641 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3642 | }}} |
| 3643 | }}} | |
| r113 | 3644 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3645 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3646 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3647 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3648 | }}} |
| r113 | 3649 | {{{#!if this.DarkStyleL==-1 |
| 3650 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3651 | }}}}}} |
| r113 | 3652 | {{{#!if this.DarkStyleL!=-1 |
| 3653 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3654 | }}}}}} | |
| 3655 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3656 | }}} |
| 3657 | }}} | |
| 3658 | }}} | |
| r113 | 3659 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3660 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3661 | }}}{{{#!if this.Blank!=-1 | |
| 3662 | {{{#!if this.Comma != -1 | |
| 3663 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 3664 | }}} |
| 3665 | }}} | |
| r113 | 3666 | {{{#!if this.Comma == -1 |
| 3667 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3668 | }}} |
| r113 | 3669 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3670 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3671 | }}} |
| 3672 | }}} | |
| 3673 | }}} | |
| r113 | 3674 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3675 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3676 | }}}{{{#!if this.Blank==5 | |
| 3677 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3678 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3679 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3680 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3681 | }}} |
| 3682 | }}} | |
| 3683 | }}} | |
| 3684 | }}} | |
| 3685 | }}} | |
| r113 | 3686 | ##### |
| 3687 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3688 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3689 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3690 | }}} |
| r113 | 3691 | {{{#!if this._ParOpen == -1 |
| 3692 | {{{#!if this.Match=true | |
| r95 | 3693 | }}} |
| r113 | 3694 | }}}{{{#!if this._ParOpen != -1 |
| 3695 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3696 | }}} |
| 3697 | }}} | |
| r113 | 3698 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3699 | }}} |
| r113 | 3700 | {{{#!if this._ParOpen == -1 |
| 3701 | {{{#!if this.Match=true | |
| r95 | 3702 | }}} |
| r113 | 3703 | }}}{{{#!if this._ParOpen != -1 |
| 3704 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3705 | }}} |
| 3706 | }}} | |
| r113 | 3707 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3708 | }}} |
| r113 | 3709 | {{{#!if this._ParOpen == -1 |
| 3710 | {{{#!if this.Match=true | |
| r95 | 3711 | }}} |
| r113 | 3712 | }}}{{{#!if this._ParOpen != -1 |
| 3713 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3714 | }}} |
| 3715 | }}} | |
| r113 | 3716 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3717 | }}} |
| r113 | 3718 | {{{#!if this._ParOpen == -1 |
| 3719 | {{{#!if this.Match=true | |
| r95 | 3720 | }}} |
| r113 | 3721 | }}}{{{#!if this._ParOpen != -1 |
| 3722 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3723 | }}} |
| 3724 | }}} | |
| r113 | 3725 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3726 | }}} |
| r113 | 3727 | {{{#!if this._ParOpen == -1 |
| 3728 | {{{#!if this.Match=true | |
| r95 | 3729 | }}} |
| r113 | 3730 | }}}{{{#!if this._ParOpen != -1 |
| 3731 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3732 | }}} |
| 3733 | }}} | |
| r113 | 3734 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3735 | }}} |
| r113 | 3736 | {{{#!if this._ParOpen == -1 |
| 3737 | {{{#!if this.Match=true | |
| r95 | 3738 | }}} |
| r113 | 3739 | }}}{{{#!if this._ParOpen != -1 |
| 3740 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3741 | }}} |
| 3742 | }}} | |
| r113 | 3743 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3744 | }}} |
| r113 | 3745 | {{{#!if this._ParOpen == -1 |
| 3746 | {{{#!if this.Match=true | |
| r95 | 3747 | }}} |
| r113 | 3748 | }}}{{{#!if this._ParOpen != -1 |
| 3749 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3750 | }}} |
| 3751 | }}} | |
| 3752 | }}} | |
| r113 | 3753 | ##### |
| 3754 | {{{#!if this.Match | |
| 3755 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3756 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3757 | }}} |
| 3758 | }}} | |
| r113 | 3759 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3760 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3761 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3762 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3763 | }}} |
| r113 | 3764 | {{{#!if this.DarkStyleL==-1 |
| 3765 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3766 | }}}}}} |
| r113 | 3767 | {{{#!if this.DarkStyleL!=-1 |
| 3768 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3769 | }}}}}} | |
| 3770 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3771 | }}} |
| 3772 | }}} | |
| 3773 | }}} | |
| r113 | 3774 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3775 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3776 | }}}{{{#!if this.Blank!=-1 | |
| 3777 | {{{#!if this.Comma != -1 | |
| 3778 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 3779 | }}} |
| 3780 | }}} | |
| r113 | 3781 | {{{#!if this.Comma == -1 |
| 3782 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3783 | }}} |
| r113 | 3784 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3785 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3786 | }}} |
| 3787 | }}} | |
| 3788 | }}} | |
| r113 | 3789 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3790 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3791 | }}}{{{#!if this.Blank==5 | |
| 3792 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3793 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3794 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3795 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3796 | }}} |
| 3797 | }}} | |
| 3798 | }}} | |
| 3799 | }}} | |
| 3800 | }}} | |
| r113 | 3801 | ##### |
| 3802 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3803 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3804 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3805 | }}} |
| r113 | 3806 | {{{#!if this._ParOpen == -1 |
| 3807 | {{{#!if this.Match=true | |
| r95 | 3808 | }}} |
| r113 | 3809 | }}}{{{#!if this._ParOpen != -1 |
| 3810 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3811 | }}} |
| 3812 | }}} | |
| r113 | 3813 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3814 | }}} |
| r113 | 3815 | {{{#!if this._ParOpen == -1 |
| 3816 | {{{#!if this.Match=true | |
| r95 | 3817 | }}} |
| r113 | 3818 | }}}{{{#!if this._ParOpen != -1 |
| 3819 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3820 | }}} |
| 3821 | }}} | |
| r113 | 3822 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3823 | }}} |
| r113 | 3824 | {{{#!if this._ParOpen == -1 |
| 3825 | {{{#!if this.Match=true | |
| r95 | 3826 | }}} |
| r113 | 3827 | }}}{{{#!if this._ParOpen != -1 |
| 3828 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3829 | }}} |
| 3830 | }}} | |
| r113 | 3831 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3832 | }}} |
| r113 | 3833 | {{{#!if this._ParOpen == -1 |
| 3834 | {{{#!if this.Match=true | |
| r95 | 3835 | }}} |
| r113 | 3836 | }}}{{{#!if this._ParOpen != -1 |
| 3837 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3838 | }}} |
| 3839 | }}} | |
| r113 | 3840 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3841 | }}} |
| r113 | 3842 | {{{#!if this._ParOpen == -1 |
| 3843 | {{{#!if this.Match=true | |
| r95 | 3844 | }}} |
| r113 | 3845 | }}}{{{#!if this._ParOpen != -1 |
| 3846 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3847 | }}} |
| 3848 | }}} | |
| r113 | 3849 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3850 | }}} |
| r113 | 3851 | {{{#!if this._ParOpen == -1 |
| 3852 | {{{#!if this.Match=true | |
| r95 | 3853 | }}} |
| r113 | 3854 | }}}{{{#!if this._ParOpen != -1 |
| 3855 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3856 | }}} |
| 3857 | }}} | |
| r113 | 3858 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3859 | }}} |
| r113 | 3860 | {{{#!if this._ParOpen == -1 |
| 3861 | {{{#!if this.Match=true | |
| r95 | 3862 | }}} |
| r113 | 3863 | }}}{{{#!if this._ParOpen != -1 |
| 3864 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3865 | }}} |
| 3866 | }}} | |
| 3867 | }}} | |
| r113 | 3868 | ##### |
| 3869 | {{{#!if this.Match | |
| 3870 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3871 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3872 | }}} |
| 3873 | }}} | |
| r113 | 3874 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3875 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3876 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3877 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3878 | }}} |
| r113 | 3879 | {{{#!if this.DarkStyleL==-1 |
| 3880 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3881 | }}}}}} |
| r113 | 3882 | {{{#!if this.DarkStyleL!=-1 |
| 3883 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3884 | }}}}}} | |
| 3885 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3886 | }}} |
| 3887 | }}} | |
| 3888 | }}} | |
| r113 | 3889 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3890 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3891 | }}}{{{#!if this.Blank!=-1 | |
| 3892 | {{{#!if this.Comma != -1 | |
| 3893 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 3894 | }}} |
| 3895 | }}} | |
| r113 | 3896 | {{{#!if this.Comma == -1 |
| 3897 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3898 | }}} |
| r113 | 3899 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3900 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3901 | }}} |
| 3902 | }}} | |
| 3903 | }}} | |
| r113 | 3904 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3905 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3906 | }}}{{{#!if this.Blank==5 | |
| 3907 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3908 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3909 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3910 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3911 | }}} |
| 3912 | }}} | |
| 3913 | }}} | |
| 3914 | }}} | |
| 3915 | }}} | |
| r113 | 3916 | ##### |
| 3917 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3918 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3919 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3920 | }}} |
| r113 | 3921 | {{{#!if this._ParOpen == -1 |
| 3922 | {{{#!if this.Match=true | |
| r95 | 3923 | }}} |
| r113 | 3924 | }}}{{{#!if this._ParOpen != -1 |
| 3925 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3926 | }}} |
| 3927 | }}} | |
| r113 | 3928 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3929 | }}} |
| r113 | 3930 | {{{#!if this._ParOpen == -1 |
| 3931 | {{{#!if this.Match=true | |
| r95 | 3932 | }}} |
| r113 | 3933 | }}}{{{#!if this._ParOpen != -1 |
| 3934 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3935 | }}} |
| 3936 | }}} | |
| r113 | 3937 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3938 | }}} |
| r113 | 3939 | {{{#!if this._ParOpen == -1 |
| 3940 | {{{#!if this.Match=true | |
| r95 | 3941 | }}} |
| r113 | 3942 | }}}{{{#!if this._ParOpen != -1 |
| 3943 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3944 | }}} |
| 3945 | }}} | |
| r113 | 3946 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3947 | }}} |
| r113 | 3948 | {{{#!if this._ParOpen == -1 |
| 3949 | {{{#!if this.Match=true | |
| r95 | 3950 | }}} |
| r113 | 3951 | }}}{{{#!if this._ParOpen != -1 |
| 3952 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3953 | }}} |
| 3954 | }}} | |
| r113 | 3955 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3956 | }}} |
| r113 | 3957 | {{{#!if this._ParOpen == -1 |
| 3958 | {{{#!if this.Match=true | |
| r95 | 3959 | }}} |
| r113 | 3960 | }}}{{{#!if this._ParOpen != -1 |
| 3961 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3962 | }}} |
| 3963 | }}} | |
| r113 | 3964 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3965 | }}} |
| r113 | 3966 | {{{#!if this._ParOpen == -1 |
| 3967 | {{{#!if this.Match=true | |
| r95 | 3968 | }}} |
| r113 | 3969 | }}}{{{#!if this._ParOpen != -1 |
| 3970 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3971 | }}} |
| 3972 | }}} | |
| r113 | 3973 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3974 | }}} |
| r113 | 3975 | {{{#!if this._ParOpen == -1 |
| 3976 | {{{#!if this.Match=true | |
| r95 | 3977 | }}} |
| r113 | 3978 | }}}{{{#!if this._ParOpen != -1 |
| 3979 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3980 | }}} |
| 3981 | }}} | |
| 3982 | }}} | |
| r113 | 3983 | ##### |
| 3984 | {{{#!if this.Match | |
| 3985 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3986 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3987 | }}} |
| 3988 | }}} | |
| r113 | 3989 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3990 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 3991 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3992 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3993 | }}} |
| r113 | 3994 | {{{#!if this.DarkStyleL==-1 |
| 3995 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3996 | }}}}}} |
| r113 | 3997 | {{{#!if this.DarkStyleL!=-1 |
| 3998 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 3999 | }}}}}} | |
| 4000 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4001 | }}} |
| 4002 | }}} | |
| 4003 | }}} | |
| r113 | 4004 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4005 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4006 | }}}{{{#!if this.Blank!=-1 | |
| 4007 | {{{#!if this.Comma != -1 | |
| 4008 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 4009 | }}} |
| 4010 | }}} | |
| r113 | 4011 | {{{#!if this.Comma == -1 |
| 4012 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4013 | }}} |
| r113 | 4014 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4015 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4016 | }}} |
| 4017 | }}} | |
| 4018 | }}} | |
| r113 | 4019 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4020 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4021 | }}}{{{#!if this.Blank==5 | |
| 4022 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4023 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4024 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4025 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4026 | }}} |
| 4027 | }}} | |
| 4028 | }}} | |
| 4029 | }}} | |
| 4030 | }}} | |
| r113 | 4031 | ##### |
| 4032 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4033 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4034 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4035 | }}} |
| r113 | 4036 | {{{#!if this._ParOpen == -1 |
| 4037 | {{{#!if this.Match=true | |
| r95 | 4038 | }}} |
| r113 | 4039 | }}}{{{#!if this._ParOpen != -1 |
| 4040 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4041 | }}} |
| 4042 | }}} | |
| r113 | 4043 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4044 | }}} |
| r113 | 4045 | {{{#!if this._ParOpen == -1 |
| 4046 | {{{#!if this.Match=true | |
| r95 | 4047 | }}} |
| r113 | 4048 | }}}{{{#!if this._ParOpen != -1 |
| 4049 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4050 | }}} |
| 4051 | }}} | |
| r113 | 4052 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4053 | }}} |
| r113 | 4054 | {{{#!if this._ParOpen == -1 |
| 4055 | {{{#!if this.Match=true | |
| r95 | 4056 | }}} |
| r113 | 4057 | }}}{{{#!if this._ParOpen != -1 |
| 4058 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4059 | }}} |
| 4060 | }}} | |
| r113 | 4061 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4062 | }}} |
| r113 | 4063 | {{{#!if this._ParOpen == -1 |
| 4064 | {{{#!if this.Match=true | |
| r95 | 4065 | }}} |
| r113 | 4066 | }}}{{{#!if this._ParOpen != -1 |
| 4067 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4068 | }}} |
| 4069 | }}} | |
| r113 | 4070 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4071 | }}} |
| r113 | 4072 | {{{#!if this._ParOpen == -1 |
| 4073 | {{{#!if this.Match=true | |
| r95 | 4074 | }}} |
| r113 | 4075 | }}}{{{#!if this._ParOpen != -1 |
| 4076 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4077 | }}} |
| 4078 | }}} | |
| r113 | 4079 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4080 | }}} |
| r113 | 4081 | {{{#!if this._ParOpen == -1 |
| 4082 | {{{#!if this.Match=true | |
| r95 | 4083 | }}} |
| r113 | 4084 | }}}{{{#!if this._ParOpen != -1 |
| 4085 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4086 | }}} |
| 4087 | }}} | |
| r113 | 4088 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4089 | }}} |
| r113 | 4090 | {{{#!if this._ParOpen == -1 |
| 4091 | {{{#!if this.Match=true | |
| r95 | 4092 | }}} |
| r113 | 4093 | }}}{{{#!if this._ParOpen != -1 |
| 4094 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4095 | }}} |
| 4096 | }}} | |
| 4097 | }}} | |
| r113 | 4098 | ##### |
| 4099 | {{{#!if this.Match | |
| 4100 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4101 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4102 | }}} |
| 4103 | }}} | |
| r113 | 4104 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4105 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4106 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4107 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4108 | }}} |
| r113 | 4109 | {{{#!if this.DarkStyleL==-1 |
| 4110 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4111 | }}}}}} |
| r113 | 4112 | {{{#!if this.DarkStyleL!=-1 |
| 4113 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4114 | }}}}}} | |
| 4115 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4116 | }}} |
| 4117 | }}} | |
| 4118 | }}} | |
| r113 | 4119 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4120 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4121 | }}}{{{#!if this.Blank!=-1 | |
| 4122 | {{{#!if this.Comma != -1 | |
| 4123 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 4124 | }}} |
| 4125 | }}} | |
| r113 | 4126 | {{{#!if this.Comma == -1 |
| 4127 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4128 | }}} |
| r113 | 4129 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4130 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4131 | }}} |
| 4132 | }}} | |
| 4133 | }}} | |
| r113 | 4134 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4135 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4136 | }}}{{{#!if this.Blank==5 | |
| 4137 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4138 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4139 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4140 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4141 | }}} |
| 4142 | }}} | |
| 4143 | }}} | |
| 4144 | }}} | |
| 4145 | }}} | |
| r113 | 4146 | ##### |
| 4147 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4148 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4149 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4150 | }}} |
| r113 | 4151 | {{{#!if this._ParOpen == -1 |
| 4152 | {{{#!if this.Match=true | |
| r95 | 4153 | }}} |
| r113 | 4154 | }}}{{{#!if this._ParOpen != -1 |
| 4155 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4156 | }}} |
| 4157 | }}} | |
| r113 | 4158 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4159 | }}} |
| r113 | 4160 | {{{#!if this._ParOpen == -1 |
| 4161 | {{{#!if this.Match=true | |
| r95 | 4162 | }}} |
| r113 | 4163 | }}}{{{#!if this._ParOpen != -1 |
| 4164 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4165 | }}} |
| 4166 | }}} | |
| r113 | 4167 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4168 | }}} |
| r113 | 4169 | {{{#!if this._ParOpen == -1 |
| 4170 | {{{#!if this.Match=true | |
| r95 | 4171 | }}} |
| r113 | 4172 | }}}{{{#!if this._ParOpen != -1 |
| 4173 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4174 | }}} |
| 4175 | }}} | |
| r113 | 4176 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4177 | }}} |
| r113 | 4178 | {{{#!if this._ParOpen == -1 |
| 4179 | {{{#!if this.Match=true | |
| r95 | 4180 | }}} |
| r113 | 4181 | }}}{{{#!if this._ParOpen != -1 |
| 4182 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4183 | }}} |
| 4184 | }}} | |
| r113 | 4185 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4186 | }}} |
| r113 | 4187 | {{{#!if this._ParOpen == -1 |
| 4188 | {{{#!if this.Match=true | |
| r95 | 4189 | }}} |
| r113 | 4190 | }}}{{{#!if this._ParOpen != -1 |
| 4191 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4192 | }}} |
| 4193 | }}} | |
| r113 | 4194 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4195 | }}} |
| r113 | 4196 | {{{#!if this._ParOpen == -1 |
| 4197 | {{{#!if this.Match=true | |
| r95 | 4198 | }}} |
| r113 | 4199 | }}}{{{#!if this._ParOpen != -1 |
| 4200 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4201 | }}} |
| 4202 | }}} | |
| r113 | 4203 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4204 | }}} |
| r113 | 4205 | {{{#!if this._ParOpen == -1 |
| 4206 | {{{#!if this.Match=true | |
| r95 | 4207 | }}} |
| r113 | 4208 | }}}{{{#!if this._ParOpen != -1 |
| 4209 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4210 | }}} |
| 4211 | }}} | |
| 4212 | }}} | |
| r113 | 4213 | ##### |
| 4214 | {{{#!if this.Match | |
| 4215 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4216 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4217 | }}} |
| 4218 | }}} | |
| r113 | 4219 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4220 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4221 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4222 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4223 | }}} |
| r113 | 4224 | {{{#!if this.DarkStyleL==-1 |
| 4225 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4226 | }}}}}} |
| r113 | 4227 | {{{#!if this.DarkStyleL!=-1 |
| 4228 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4229 | }}}}}} | |
| 4230 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4231 | }}} |
| 4232 | }}} | |
| 4233 | }}} | |
| r113 | 4234 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4235 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4236 | }}}{{{#!if this.Blank!=-1 | |
| 4237 | {{{#!if this.Comma != -1 | |
| 4238 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 4239 | }}} |
| 4240 | }}} | |
| r113 | 4241 | {{{#!if this.Comma == -1 |
| 4242 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4243 | }}} |
| r113 | 4244 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4245 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4246 | }}} |
| 4247 | }}} | |
| 4248 | }}} | |
| r113 | 4249 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4250 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4251 | }}}{{{#!if this.Blank==5 | |
| 4252 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4253 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4254 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4255 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4256 | }}} |
| 4257 | }}} | |
| 4258 | }}} | |
| 4259 | }}} | |
| 4260 | }}} | |
| r113 | 4261 | ##### |
| 4262 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4263 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4264 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4265 | }}} |
| r113 | 4266 | {{{#!if this._ParOpen == -1 |
| 4267 | {{{#!if this.Match=true | |
| r95 | 4268 | }}} |
| r113 | 4269 | }}}{{{#!if this._ParOpen != -1 |
| 4270 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4271 | }}} |
| 4272 | }}} | |
| r113 | 4273 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4274 | }}} |
| r113 | 4275 | {{{#!if this._ParOpen == -1 |
| 4276 | {{{#!if this.Match=true | |
| r95 | 4277 | }}} |
| r113 | 4278 | }}}{{{#!if this._ParOpen != -1 |
| 4279 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4280 | }}} |
| 4281 | }}} | |
| r113 | 4282 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4283 | }}} |
| r113 | 4284 | {{{#!if this._ParOpen == -1 |
| 4285 | {{{#!if this.Match=true | |
| r95 | 4286 | }}} |
| r113 | 4287 | }}}{{{#!if this._ParOpen != -1 |
| 4288 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4289 | }}} |
| 4290 | }}} | |
| r113 | 4291 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4292 | }}} |
| r113 | 4293 | {{{#!if this._ParOpen == -1 |
| 4294 | {{{#!if this.Match=true | |
| r95 | 4295 | }}} |
| r113 | 4296 | }}}{{{#!if this._ParOpen != -1 |
| 4297 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4298 | }}} |
| 4299 | }}} | |
| r113 | 4300 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4301 | }}} |
| r113 | 4302 | {{{#!if this._ParOpen == -1 |
| 4303 | {{{#!if this.Match=true | |
| r95 | 4304 | }}} |
| r113 | 4305 | }}}{{{#!if this._ParOpen != -1 |
| 4306 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4307 | }}} |
| 4308 | }}} | |
| r113 | 4309 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4310 | }}} |
| r113 | 4311 | {{{#!if this._ParOpen == -1 |
| 4312 | {{{#!if this.Match=true | |
| r95 | 4313 | }}} |
| r113 | 4314 | }}}{{{#!if this._ParOpen != -1 |
| 4315 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4316 | }}} |
| 4317 | }}} | |
| r113 | 4318 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4319 | }}} |
| r113 | 4320 | {{{#!if this._ParOpen == -1 |
| 4321 | {{{#!if this.Match=true | |
| r95 | 4322 | }}} |
| r113 | 4323 | }}}{{{#!if this._ParOpen != -1 |
| 4324 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4325 | }}} |
| 4326 | }}} | |
| 4327 | }}} | |
| r113 | 4328 | ##### |
| 4329 | {{{#!if this.Match | |
| 4330 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4331 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4332 | }}} |
| 4333 | }}} | |
| r113 | 4334 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4335 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4336 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4337 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4338 | }}} |
| r113 | 4339 | {{{#!if this.DarkStyleL==-1 |
| 4340 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4341 | }}}}}} |
| r113 | 4342 | {{{#!if this.DarkStyleL!=-1 |
| 4343 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4344 | }}}}}} | |
| 4345 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4346 | }}} |
| 4347 | }}} | |
| 4348 | }}} | |
| r113 | 4349 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4350 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4351 | }}}{{{#!if this.Blank!=-1 | |
| 4352 | {{{#!if this.Comma != -1 | |
| 4353 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 4354 | }}} |
| 4355 | }}} | |
| r113 | 4356 | {{{#!if this.Comma == -1 |
| 4357 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4358 | }}} |
| r113 | 4359 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4360 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4361 | }}} |
| 4362 | }}} | |
| 4363 | }}} | |
| r113 | 4364 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4365 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4366 | }}}{{{#!if this.Blank==5 | |
| 4367 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4368 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4369 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4370 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4371 | }}} |
| 4372 | }}} | |
| 4373 | }}} | |
| 4374 | }}} | |
| 4375 | }}} | |
| r113 | 4376 | ##### |
| 4377 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4378 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4379 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4380 | }}} |
| r113 | 4381 | {{{#!if this._ParOpen == -1 |
| 4382 | {{{#!if this.Match=true | |
| r95 | 4383 | }}} |
| r113 | 4384 | }}}{{{#!if this._ParOpen != -1 |
| 4385 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4386 | }}} |
| 4387 | }}} | |
| r113 | 4388 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4389 | }}} |
| r113 | 4390 | {{{#!if this._ParOpen == -1 |
| 4391 | {{{#!if this.Match=true | |
| r95 | 4392 | }}} |
| r113 | 4393 | }}}{{{#!if this._ParOpen != -1 |
| 4394 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4395 | }}} |
| 4396 | }}} | |
| r113 | 4397 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4398 | }}} |
| r113 | 4399 | {{{#!if this._ParOpen == -1 |
| 4400 | {{{#!if this.Match=true | |
| r95 | 4401 | }}} |
| r113 | 4402 | }}}{{{#!if this._ParOpen != -1 |
| 4403 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4404 | }}} |
| 4405 | }}} | |
| r113 | 4406 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4407 | }}} |
| r113 | 4408 | {{{#!if this._ParOpen == -1 |
| 4409 | {{{#!if this.Match=true | |
| r95 | 4410 | }}} |
| r113 | 4411 | }}}{{{#!if this._ParOpen != -1 |
| 4412 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4413 | }}} |
| 4414 | }}} | |
| r113 | 4415 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4416 | }}} |
| r113 | 4417 | {{{#!if this._ParOpen == -1 |
| 4418 | {{{#!if this.Match=true | |
| r95 | 4419 | }}} |
| r113 | 4420 | }}}{{{#!if this._ParOpen != -1 |
| 4421 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4422 | }}} |
| 4423 | }}} | |
| r113 | 4424 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4425 | }}} |
| r113 | 4426 | {{{#!if this._ParOpen == -1 |
| 4427 | {{{#!if this.Match=true | |
| r95 | 4428 | }}} |
| r113 | 4429 | }}}{{{#!if this._ParOpen != -1 |
| 4430 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4431 | }}} |
| 4432 | }}} | |
| r113 | 4433 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4434 | }}} |
| r113 | 4435 | {{{#!if this._ParOpen == -1 |
| 4436 | {{{#!if this.Match=true | |
| r95 | 4437 | }}} |
| r113 | 4438 | }}}{{{#!if this._ParOpen != -1 |
| 4439 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4440 | }}} |
| 4441 | }}} | |
| 4442 | }}} | |
| r113 | 4443 | ##### |
| 4444 | {{{#!if this.Match | |
| 4445 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4446 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4447 | }}} |
| 4448 | }}} | |
| r113 | 4449 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4450 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4451 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4452 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4453 | }}} |
| r113 | 4454 | {{{#!if this.DarkStyleL==-1 |
| 4455 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4456 | }}}}}} |
| r113 | 4457 | {{{#!if this.DarkStyleL!=-1 |
| 4458 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4459 | }}}}}} | |
| 4460 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4461 | }}} |
| 4462 | }}} | |
| 4463 | }}} | |
| r113 | 4464 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4465 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4466 | }}}{{{#!if this.Blank!=-1 | |
| 4467 | {{{#!if this.Comma != -1 | |
| 4468 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 4469 | }}} |
| 4470 | }}} | |
| r113 | 4471 | {{{#!if this.Comma == -1 |
| 4472 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4473 | }}} |
| r113 | 4474 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4475 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4476 | }}} |
| 4477 | }}} | |
| 4478 | }}} | |
| r113 | 4479 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4480 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4481 | }}}{{{#!if this.Blank==5 | |
| 4482 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4483 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4484 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4485 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4486 | }}} |
| 4487 | }}} | |
| 4488 | }}} | |
| 4489 | }}} | |
| 4490 | }}} | |
| r113 | 4491 | ##### |
| 4492 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4493 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4494 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4495 | }}} |
| r113 | 4496 | {{{#!if this._ParOpen == -1 |
| 4497 | {{{#!if this.Match=true | |
| r95 | 4498 | }}} |
| r113 | 4499 | }}}{{{#!if this._ParOpen != -1 |
| 4500 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4501 | }}} |
| 4502 | }}} | |
| r113 | 4503 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4504 | }}} |
| r113 | 4505 | {{{#!if this._ParOpen == -1 |
| 4506 | {{{#!if this.Match=true | |
| r95 | 4507 | }}} |
| r113 | 4508 | }}}{{{#!if this._ParOpen != -1 |
| 4509 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4510 | }}} |
| 4511 | }}} | |
| r113 | 4512 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4513 | }}} |
| r113 | 4514 | {{{#!if this._ParOpen == -1 |
| 4515 | {{{#!if this.Match=true | |
| r95 | 4516 | }}} |
| r113 | 4517 | }}}{{{#!if this._ParOpen != -1 |
| 4518 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4519 | }}} |
| 4520 | }}} | |
| r113 | 4521 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4522 | }}} |
| r113 | 4523 | {{{#!if this._ParOpen == -1 |
| 4524 | {{{#!if this.Match=true | |
| r95 | 4525 | }}} |
| r113 | 4526 | }}}{{{#!if this._ParOpen != -1 |
| 4527 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4528 | }}} |
| 4529 | }}} | |
| r113 | 4530 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4531 | }}} |
| r113 | 4532 | {{{#!if this._ParOpen == -1 |
| 4533 | {{{#!if this.Match=true | |
| r95 | 4534 | }}} |
| r113 | 4535 | }}}{{{#!if this._ParOpen != -1 |
| 4536 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4537 | }}} |
| 4538 | }}} | |
| r113 | 4539 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4540 | }}} |
| r113 | 4541 | {{{#!if this._ParOpen == -1 |
| 4542 | {{{#!if this.Match=true | |
| r95 | 4543 | }}} |
| r113 | 4544 | }}}{{{#!if this._ParOpen != -1 |
| 4545 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4546 | }}} |
| 4547 | }}} | |
| r113 | 4548 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4549 | }}} |
| r113 | 4550 | {{{#!if this._ParOpen == -1 |
| 4551 | {{{#!if this.Match=true | |
| r95 | 4552 | }}} |
| r113 | 4553 | }}}{{{#!if this._ParOpen != -1 |
| 4554 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4555 | }}} |
| 4556 | }}} | |
| 4557 | }}} | |
| r113 | 4558 | ##### |
| 4559 | {{{#!if this.Match | |
| 4560 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4561 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4562 | }}} |
| 4563 | }}} | |
| r113 | 4564 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4565 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4566 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4567 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4568 | }}} |
| r113 | 4569 | {{{#!if this.DarkStyleL==-1 |
| 4570 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4571 | }}}}}} |
| r113 | 4572 | {{{#!if this.DarkStyleL!=-1 |
| 4573 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4574 | }}}}}} | |
| 4575 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4576 | }}} |
| 4577 | }}} | |
| 4578 | }}} | |
| r113 | 4579 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4580 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4581 | }}}{{{#!if this.Blank!=-1 | |
| 4582 | {{{#!if this.Comma != -1 | |
| 4583 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 4584 | }}} |
| 4585 | }}} | |
| r113 | 4586 | {{{#!if this.Comma == -1 |
| 4587 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4588 | }}} |
| r113 | 4589 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4590 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4591 | }}} |
| 4592 | }}} | |
| 4593 | }}} | |
| r113 | 4594 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4595 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4596 | }}}{{{#!if this.Blank==5 | |
| 4597 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4598 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4599 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4600 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4601 | }}} |
| 4602 | }}} | |
| 4603 | }}} | |
| 4604 | }}} | |
| 4605 | }}} | |
| r113 | 4606 | ##### |
| 4607 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4608 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4609 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4610 | }}} |
| r113 | 4611 | {{{#!if this._ParOpen == -1 |
| 4612 | {{{#!if this.Match=true | |
| r95 | 4613 | }}} |
| r113 | 4614 | }}}{{{#!if this._ParOpen != -1 |
| 4615 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4616 | }}} |
| 4617 | }}} | |
| r113 | 4618 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4619 | }}} |
| r113 | 4620 | {{{#!if this._ParOpen == -1 |
| 4621 | {{{#!if this.Match=true | |
| r95 | 4622 | }}} |
| r113 | 4623 | }}}{{{#!if this._ParOpen != -1 |
| 4624 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4625 | }}} |
| 4626 | }}} | |
| r113 | 4627 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4628 | }}} |
| r113 | 4629 | {{{#!if this._ParOpen == -1 |
| 4630 | {{{#!if this.Match=true | |
| r95 | 4631 | }}} |
| r113 | 4632 | }}}{{{#!if this._ParOpen != -1 |
| 4633 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4634 | }}} |
| 4635 | }}} | |
| r113 | 4636 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4637 | }}} |
| r113 | 4638 | {{{#!if this._ParOpen == -1 |
| 4639 | {{{#!if this.Match=true | |
| r95 | 4640 | }}} |
| r113 | 4641 | }}}{{{#!if this._ParOpen != -1 |
| 4642 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4643 | }}} |
| 4644 | }}} | |
| r113 | 4645 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4646 | }}} |
| r113 | 4647 | {{{#!if this._ParOpen == -1 |
| 4648 | {{{#!if this.Match=true | |
| r95 | 4649 | }}} |
| r113 | 4650 | }}}{{{#!if this._ParOpen != -1 |
| 4651 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4652 | }}} |
| 4653 | }}} | |
| r113 | 4654 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4655 | }}} |
| r113 | 4656 | {{{#!if this._ParOpen == -1 |
| 4657 | {{{#!if this.Match=true | |
| r95 | 4658 | }}} |
| r113 | 4659 | }}}{{{#!if this._ParOpen != -1 |
| 4660 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4661 | }}} |
| 4662 | }}} | |
| r113 | 4663 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4664 | }}} |
| r113 | 4665 | {{{#!if this._ParOpen == -1 |
| 4666 | {{{#!if this.Match=true | |
| r95 | 4667 | }}} |
| r113 | 4668 | }}}{{{#!if this._ParOpen != -1 |
| 4669 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4670 | }}} |
| 4671 | }}} | |
| 4672 | }}} | |
| r113 | 4673 | ##### |
| 4674 | {{{#!if this.Match | |
| 4675 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4676 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4677 | }}} |
| 4678 | }}} | |
| r113 | 4679 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4680 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4681 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4682 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4683 | }}} |
| r113 | 4684 | {{{#!if this.DarkStyleL==-1 |
| 4685 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4686 | }}}}}} |
| r113 | 4687 | {{{#!if this.DarkStyleL!=-1 |
| 4688 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4689 | }}}}}} | |
| 4690 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4691 | }}} |
| 4692 | }}} | |
| 4693 | }}} | |
| r113 | 4694 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4695 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4696 | }}}{{{#!if this.Blank!=-1 | |
| 4697 | {{{#!if this.Comma != -1 | |
| 4698 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r95 | 4699 | }}} |
| 4700 | }}} | |
| r113 | 4701 | {{{#!if this.Comma == -1 |
| 4702 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4703 | }}} |
| r113 | 4704 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4705 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4706 | }}} |
| 4707 | }}} | |
| 4708 | }}} | |
| r113 | 4709 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4710 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4711 | }}}{{{#!if this.Blank==5 | |
| 4712 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4713 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4714 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4715 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4716 | }}} |
| 4717 | }}} | |
| 4718 | }}} | |
| 4719 | }}} | |
| 4720 | }}} | |
| r113 | 4721 | ##### |
| 4722 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4723 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4724 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4725 | }}} |
| r113 | 4726 | {{{#!if this._ParOpen == -1 |
| 4727 | {{{#!if this.Match=true | |
| r109 | 4728 | }}} |
| r113 | 4729 | }}}{{{#!if this._ParOpen != -1 |
| 4730 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4731 | }}} |
| 4732 | }}} | |
| r113 | 4733 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4734 | }}} |
| r113 | 4735 | {{{#!if this._ParOpen == -1 |
| 4736 | {{{#!if this.Match=true | |
| r109 | 4737 | }}} |
| r113 | 4738 | }}}{{{#!if this._ParOpen != -1 |
| 4739 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4740 | }}} |
| 4741 | }}} | |
| r113 | 4742 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4743 | }}} |
| r113 | 4744 | {{{#!if this._ParOpen == -1 |
| 4745 | {{{#!if this.Match=true | |
| r109 | 4746 | }}} |
| r113 | 4747 | }}}{{{#!if this._ParOpen != -1 |
| 4748 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4749 | }}} |
| 4750 | }}} | |
| r113 | 4751 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4752 | }}} |
| r113 | 4753 | {{{#!if this._ParOpen == -1 |
| 4754 | {{{#!if this.Match=true | |
| r109 | 4755 | }}} |
| r113 | 4756 | }}}{{{#!if this._ParOpen != -1 |
| 4757 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4758 | }}} |
| 4759 | }}} | |
| r113 | 4760 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4761 | }}} |
| r113 | 4762 | {{{#!if this._ParOpen == -1 |
| 4763 | {{{#!if this.Match=true | |
| r109 | 4764 | }}} |
| r113 | 4765 | }}}{{{#!if this._ParOpen != -1 |
| 4766 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4767 | }}} |
| 4768 | }}} | |
| r113 | 4769 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4770 | }}} |
| r113 | 4771 | {{{#!if this._ParOpen == -1 |
| 4772 | {{{#!if this.Match=true | |
| r109 | 4773 | }}} |
| r113 | 4774 | }}}{{{#!if this._ParOpen != -1 |
| 4775 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4776 | }}} |
| 4777 | }}} | |
| 4778 | }}} | |
| r113 | 4779 | ##### |
| 4780 | {{{#!if this.Match | |
| 4781 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4782 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4783 | }}} |
| 4784 | }}} | |
| r113 | 4785 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4786 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4787 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4788 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4789 | }}} |
| r113 | 4790 | {{{#!if this.DarkStyleL==-1 |
| 4791 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4792 | }}}}}} |
| r113 | 4793 | {{{#!if this.DarkStyleL!=-1 |
| 4794 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4795 | }}}}}} | |
| 4796 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4797 | }}} |
| 4798 | }}} | |
| 4799 | }}} | |
| r113 | 4800 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4801 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4802 | }}}{{{#!if this.Blank!=-1 | |
| 4803 | {{{#!if this.Comma != -1 | |
| 4804 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 4805 | }}} |
| 4806 | }}} | |
| r113 | 4807 | {{{#!if this.Comma == -1 |
| 4808 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 4809 | }}} |
| r113 | 4810 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4811 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4812 | }}} |
| 4813 | }}} | |
| 4814 | }}} | |
| r113 | 4815 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4816 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4817 | }}}{{{#!if this.Blank==5 | |
| 4818 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4819 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4820 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4821 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4822 | }}} |
| 4823 | }}} | |
| 4824 | }}} | |
| 4825 | }}} | |
| 4826 | }}} | |
| r113 | 4827 | ##### |
| 4828 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4829 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4830 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4831 | }}} |
| r113 | 4832 | {{{#!if this._ParOpen == -1 |
| 4833 | {{{#!if this.Match=true | |
| r109 | 4834 | }}} |
| r113 | 4835 | }}}{{{#!if this._ParOpen != -1 |
| 4836 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4837 | }}} |
| 4838 | }}} | |
| r113 | 4839 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4840 | }}} |
| r113 | 4841 | {{{#!if this._ParOpen == -1 |
| 4842 | {{{#!if this.Match=true | |
| r109 | 4843 | }}} |
| r113 | 4844 | }}}{{{#!if this._ParOpen != -1 |
| 4845 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4846 | }}} |
| 4847 | }}} | |
| r113 | 4848 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4849 | }}} |
| r113 | 4850 | {{{#!if this._ParOpen == -1 |
| 4851 | {{{#!if this.Match=true | |
| r109 | 4852 | }}} |
| r113 | 4853 | }}}{{{#!if this._ParOpen != -1 |
| 4854 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4855 | }}} |
| 4856 | }}} | |
| r113 | 4857 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4858 | }}} |
| r113 | 4859 | {{{#!if this._ParOpen == -1 |
| 4860 | {{{#!if this.Match=true | |
| r109 | 4861 | }}} |
| r113 | 4862 | }}}{{{#!if this._ParOpen != -1 |
| 4863 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4864 | }}} |
| 4865 | }}} | |
| r113 | 4866 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4867 | }}} |
| r113 | 4868 | {{{#!if this._ParOpen == -1 |
| 4869 | {{{#!if this.Match=true | |
| r109 | 4870 | }}} |
| r113 | 4871 | }}}{{{#!if this._ParOpen != -1 |
| 4872 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4873 | }}} |
| 4874 | }}} | |
| 4875 | }}} | |
| r113 | 4876 | ##### |
| 4877 | {{{#!if this.Match | |
| 4878 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4879 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4880 | }}} |
| 4881 | }}} | |
| r113 | 4882 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4883 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4884 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4885 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4886 | }}} |
| r113 | 4887 | {{{#!if this.DarkStyleL==-1 |
| 4888 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4889 | }}}}}} |
| r113 | 4890 | {{{#!if this.DarkStyleL!=-1 |
| 4891 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4892 | }}}}}} | |
| 4893 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4894 | }}} |
| 4895 | }}} | |
| 4896 | }}} | |
| r113 | 4897 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4898 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4899 | }}}{{{#!if this.Blank!=-1 | |
| 4900 | {{{#!if this.Comma != -1 | |
| 4901 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 4902 | }}} |
| 4903 | }}} | |
| r113 | 4904 | {{{#!if this.Comma == -1 |
| 4905 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 4906 | }}} |
| r113 | 4907 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4908 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4909 | }}} |
| 4910 | }}} | |
| 4911 | }}} | |
| r113 | 4912 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4913 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4914 | }}}{{{#!if this.Blank==5 | |
| 4915 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4916 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4917 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4918 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4919 | }}} |
| 4920 | }}} | |
| 4921 | }}} | |
| 4922 | }}} | |
| 4923 | }}} | |
| r113 | 4924 | ##### |
| 4925 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4926 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4927 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4928 | }}} |
| r113 | 4929 | {{{#!if this._ParOpen == -1 |
| 4930 | {{{#!if this.Match=true | |
| r109 | 4931 | }}} |
| r113 | 4932 | }}}{{{#!if this._ParOpen != -1 |
| 4933 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4934 | }}} |
| 4935 | }}} | |
| r113 | 4936 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4937 | }}} |
| r113 | 4938 | {{{#!if this._ParOpen == -1 |
| 4939 | {{{#!if this.Match=true | |
| r109 | 4940 | }}} |
| r113 | 4941 | }}}{{{#!if this._ParOpen != -1 |
| 4942 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4943 | }}} |
| 4944 | }}} | |
| r113 | 4945 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4946 | }}} |
| r113 | 4947 | {{{#!if this._ParOpen == -1 |
| 4948 | {{{#!if this.Match=true | |
| r109 | 4949 | }}} |
| r113 | 4950 | }}}{{{#!if this._ParOpen != -1 |
| 4951 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4952 | }}} |
| 4953 | }}} | |
| r113 | 4954 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4955 | }}} |
| r113 | 4956 | {{{#!if this._ParOpen == -1 |
| 4957 | {{{#!if this.Match=true | |
| r109 | 4958 | }}} |
| r113 | 4959 | }}}{{{#!if this._ParOpen != -1 |
| 4960 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4961 | }}} |
| 4962 | }}} | |
| 4963 | }}} | |
| r113 | 4964 | ##### |
| 4965 | {{{#!if this.Match | |
| 4966 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4967 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4968 | }}} |
| 4969 | }}} | |
| r113 | 4970 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4971 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 4972 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4973 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4974 | }}} |
| r113 | 4975 | {{{#!if this.DarkStyleL==-1 |
| 4976 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4977 | }}}}}} |
| r113 | 4978 | {{{#!if this.DarkStyleL!=-1 |
| 4979 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 4980 | }}}}}} | |
| 4981 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4982 | }}} |
| 4983 | }}} | |
| 4984 | }}} | |
| r113 | 4985 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4986 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4987 | }}}{{{#!if this.Blank!=-1 | |
| 4988 | {{{#!if this.Comma != -1 | |
| 4989 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 4990 | }}} |
| 4991 | }}} | |
| r113 | 4992 | {{{#!if this.Comma == -1 |
| 4993 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 4994 | }}} |
| r113 | 4995 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4996 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4997 | }}} |
| 4998 | }}} | |
| 4999 | }}} | |
| r113 | 5000 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5001 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5002 | }}}{{{#!if this.Blank==5 | |
| 5003 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5004 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5005 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5006 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5007 | }}} |
| 5008 | }}} | |
| 5009 | }}} | |
| 5010 | }}} | |
| 5011 | }}} | |
| r113 | 5012 | ##### |
| 5013 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5014 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5015 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 5016 | }}} |
| r113 | 5017 | {{{#!if this._ParOpen == -1 |
| 5018 | {{{#!if this.Match=true | |
| r109 | 5019 | }}} |
| r113 | 5020 | }}}{{{#!if this._ParOpen != -1 |
| 5021 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 5022 | }}} |
| 5023 | }}} | |
| r113 | 5024 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5025 | }}} |
| r113 | 5026 | {{{#!if this._ParOpen == -1 |
| 5027 | {{{#!if this.Match=true | |
| r109 | 5028 | }}} |
| r113 | 5029 | }}}{{{#!if this._ParOpen != -1 |
| 5030 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5031 | }}} |
| 5032 | }}} | |
| r113 | 5033 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5034 | }}} |
| r113 | 5035 | {{{#!if this._ParOpen == -1 |
| 5036 | {{{#!if this.Match=true | |
| r109 | 5037 | }}} |
| r113 | 5038 | }}}{{{#!if this._ParOpen != -1 |
| 5039 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5040 | }}} |
| 5041 | }}} | |
| 5042 | }}} | |
| r113 | 5043 | ##### |
| 5044 | {{{#!if this.Match | |
| 5045 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5046 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5047 | }}} |
| 5048 | }}} | |
| r113 | 5049 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 5050 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 5051 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5052 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 5053 | }}} |
| r113 | 5054 | {{{#!if this.DarkStyleL==-1 |
| 5055 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 5056 | }}}}}} |
| r113 | 5057 | {{{#!if this.DarkStyleL!=-1 |
| 5058 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 5059 | }}}}}} | |
| 5060 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5061 | }}} |
| 5062 | }}} | |
| 5063 | }}} | |
| r113 | 5064 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5065 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5066 | }}}{{{#!if this.Blank!=-1 | |
| 5067 | {{{#!if this.Comma != -1 | |
| 5068 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 5069 | }}} |
| 5070 | }}} | |
| r113 | 5071 | {{{#!if this.Comma == -1 |
| 5072 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5073 | }}} |
| r113 | 5074 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5075 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5076 | }}} |
| 5077 | }}} | |
| 5078 | }}} | |
| r113 | 5079 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5080 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5081 | }}}{{{#!if this.Blank==5 | |
| 5082 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5083 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5084 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5085 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5086 | }}} |
| 5087 | }}} | |
| 5088 | }}} | |
| 5089 | }}} | |
| 5090 | }}} | |
| r113 | 5091 | ##### |
| 5092 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5093 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5094 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 5095 | }}} |
| r113 | 5096 | {{{#!if this._ParOpen == -1 |
| 5097 | {{{#!if this.Match=true | |
| r109 | 5098 | }}} |
| r113 | 5099 | }}}{{{#!if this._ParOpen != -1 |
| 5100 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 5101 | }}} |
| 5102 | }}} | |
| r113 | 5103 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5104 | }}} |
| r113 | 5105 | {{{#!if this._ParOpen == -1 |
| 5106 | {{{#!if this.Match=true | |
| r109 | 5107 | }}} |
| r113 | 5108 | }}}{{{#!if this._ParOpen != -1 |
| 5109 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5110 | }}} |
| 5111 | }}} | |
| 5112 | }}} | |
| r113 | 5113 | ##### |
| 5114 | {{{#!if this.Match | |
| 5115 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5116 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+this.DarkInput.substring(this.ParOpen+9,this.ParClose).trim()+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5117 | }}} |
| 5118 | }}} | |
| r113 | 5119 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 5120 | {{{#!if this.BrL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('style='), this.DarkStyleL=this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf('" dark-style="') | |
| 5121 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5122 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 5123 | }}} |
| r113 | 5124 | {{{#!if this.DarkStyleL==-1 |
| 5125 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 5126 | }}}}}} |
| r113 | 5127 | {{{#!if this.DarkStyleL!=-1 |
| 5128 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.DarkStyleL-this.StyleL)+'; '+this.DarkInput.substr(this.ParOpen+this.DarkStyleL+14,this.BrL-this.DarkStyleL-14) | |
| 5129 | }}}}}} | |
| 5130 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5131 | }}} |
| 5132 | }}} | |
| 5133 | }}} | |
| r113 | 5134 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5135 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5136 | }}}{{{#!if this.Blank!=-1 | |
| 5137 | {{{#!if this.Comma != -1 | |
| 5138 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Comma-3), this.DarkColor=this.DarkInput.substring(this.ParOpen+this.Comma+1,this.ParOpen+this.Blank) | |
| r109 | 5139 | }}} |
| 5140 | }}} | |
| r113 | 5141 | {{{#!if this.Comma == -1 |
| 5142 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5143 | }}} |
| r113 | 5144 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5145 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; color: '+this.DarkColor+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5146 | }}} |
| 5147 | }}} | |
| 5148 | }}} | |
| r113 | 5149 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5150 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5151 | }}}{{{#!if this.Blank==5 | |
| 5152 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5153 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5154 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5155 | }}}{{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div style="display: inline; font-size: '+this.Em+'">'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5156 | }}} |
| 5157 | }}} | |
| 5158 | }}} | |
| 5159 | }}} | |
| 5160 | }}} | |
| r112 | 5161 | }}}{{{#!wiki style="display: block" dark-style="display: none" |
| r104 | 5162 | {{{#!html @input@}}}}}}{{{#!wiki style="display: none" dark-style="display: block" |
| r111 | 5163 | {{{#!html @DarkInput@}}}}}}}}} |