사용자
nyangx3/연습장(r119판 Blame)
| r119 | ||
|---|---|---|
| r94 | 1 | {{{#!if if=='목차' |
| r116 | 2 | {{{#!wiki style="border: 1px solid transparent; background: padding-box linear-gradient(#fff), border-box linear-gradient(75deg, #bfb4b2, #b2b8bf); border-radius: 8px; word-break: keep-all; letter-spacing: -.25px; font: 1em/clamp(1em, 2vw, 1.5em) monospace; font-size: clamp(.75em, 2vw, .9em); font-family: revert" dark-style="background: padding-box linear-gradient(#000), border-box linear-gradient(75deg, #807573, #707780)" |
| 3 | {{{#!wiki style="width: 100%; background: linear-gradient(315deg, transparent 50%, #d61b11 50%), linear-gradient(45deg, transparent 50%, #bd180f 50%); background-size: 21px 26px, 21px 26px; background-position: 90% 0, 90% 0; background-repeat: no-repeat; padding: 6px 10px 9px 2.5px;" | |
| r115 | 4 | {{{#!wiki style="font-size: 1.3em; letter-spacing: -2px; font-weight: 100; text-align: center; margin-bottom: 0px" |
| r94 | 5 | ''CONTENTS''}}}{{{#!wiki style="display:flex; flex-wrap: wrap; justify-content: left" |
| r114 | 6 | {{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" |
| r94 | 7 | {{{#!wiki style="padding: 5px 0 0 20px" |
| r118 | 8 | [[사용자:nyangx3/a#복사 붙여넣기|{{{#!wiki style="display: inline; font-weight: 400" |
| r94 | 9 | 0.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" |
| r114 | 10 | 복사 붙여넣기}}}{{{#!wiki style="padding-left: 15px" |
| r118 | 11 | [[사용자:nyangx3/a#정규식 치환|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 12 | 0.}}}]] 정규식 치환 |
| r118 | 13 | [[사용자:nyangx3/a#Ionicons|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 14 | 1.}}}]] Ionicons |
| 15 | {{{#!wiki style="display: flex" | |
| r94 | 16 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 17 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 |
| 18 | 알트 입력법 | |
| 19 | 폰트}}}}}}}}}}}}}}}{{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" | |
| r94 | 20 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 21 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 22 | 1.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| r114 | 23 | 팁}}}{{{#!wiki style="padding-left: 15px" |
| r94 | 24 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| 25 | 0.}}}]] 단축키 | |
| 26 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| r114 | 27 | 1.}}}]] 문법 |
| r119 | 28 | {{{#!wiki style="display: flex" |
| r94 | 29 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| r119 | 30 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 |
| 31 | 토론 | |
| 32 | 게시판}}}}}}}}}}}}}}}{{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" | |
| r94 | 33 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 34 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 35 | 2.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 36 | 요상한거}}}{{{#!wiki style="padding-left: 15px" | |
| 37 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 38 | 0.}}}]] 계산기 | |
| 39 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| r114 | 40 | 1.}}}]] 나무나무마크 |
| 41 | {{{#!wiki style="display: flex" | |
| 42 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 43 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 | |
| 44 | uuid 판별기 | |
| 45 | 소수 판별기 | |
| 46 | encoder | |
| 47 | rgb to hex}}}}}}}}}}}}}}}{{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" | |
| r94 | 48 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 49 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 50 | 3.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 51 | 예쁜거}}}{{{#!wiki style="padding-left: 15px" | |
| r114 | 52 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| 53 | 0.}}}]] ui(espejo) | |
| 54 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 55 | 1.}}}]] 인별dm | |
| r94 | 56 | {{{#!wiki style="display: flex" |
| 57 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| r114 | 58 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 |
| r94 | 59 | 0.배경 패턴 |
| r114 | 60 | 1.포?스터 |
| 61 | 별자리}}}}}} | |
| r94 | 62 | }}} |
| 63 | }}} | |
| 64 | }}} | |
| 65 | }}} | |
| r114 | 66 | }}} |
| r94 | 67 | }}}}}}{{{#!if if=='문단' |
| r56 | 68 | {{{#!wiki style="margin: 0 0 0 5px" |
| 69 | {{{#!wiki style="display: inline-block" | |
| r59 | 70 | {{{+3 {{{#666 {{{#!html <span style="font-family: Ionicons"></span>}}}}}}{{{#!html }}}{{{#!wiki style="display: inline-block; font-size: 25.63px" |
| 71 | '''[[#@문단번호=0@|@문단번호=0@.]] {{{#373a3c,#ddd @문단명@}}}'''}}}}}}}}}}}}{{{#!wiki style="display: inline-block; font-size: 12px; float: right; margin: -35px 0 0" | |
| 72 | '''[[#@문단번호=0@|[편집\]]]'''}}}{{{#!wiki | |
| r56 | 73 | ---- |
| r93 | 74 | }}}}}}[anchor(0)]{{{#!if if=='계산기' |
| r1 | 75 | {{{#!wiki style="font-weight: 300; font-size: 20px" |
| r61 | 76 | {{{#!if a[0]!=45 |
| r62 | 77 | @a@}}}{{{#!if a[0]==45 |
| 78 | (@a@)}}} {{{#!if f == '+' | |
| r7 | 79 | {{{#!if r =(+a+0.0)+(+b+0.0) |
| r1 | 80 | }}}+}}}{{{#!if f == '-' |
| r7 | 81 | {{{#!if r =(+a+0.0)-(+b+0.0) |
| r1 | 82 | }}}-}}}{{{#!if f == '*' |
| r7 | 83 | {{{#!if r =(+a+0.0)*(+b+0.0) |
| r1 | 84 | }}}×}}}{{{#!if f == '/' |
| r7 | 85 | {{{#!if r =(+a+0.0)/(+b+0.0) |
| r61 | 86 | }}}÷}}} {{{#!if b[0]!=45 |
| 87 | @b@}}}{{{#!if b[0]==45 | |
| 88 | (@b@)}}} = {{{#!if r = r.toString() | |
| r8 | 89 | {{{#!if r.endsWith('0') |
| 90 | {{{#!if r = r.substr(0,r.length-1) | |
| 91 | }}}}}}{{{#!if r.endsWith('0') | |
| 92 | {{{#!if r = r.substr(0,r.length-1) | |
| 93 | }}}}}}{{{#!if r.endsWith('0') | |
| 94 | {{{#!if r = r.substr(0,r.length-1) | |
| 95 | }}}}}}{{{#!if r.endsWith('0') | |
| 96 | {{{#!if r = r.substr(0,r.length-1) | |
| 97 | }}}}}}{{{#!if r.endsWith('0') | |
| 98 | {{{#!if r = r.substr(0,r.length-1) | |
| 99 | }}}}}}{{{#!if r.endsWith('0') | |
| 100 | {{{#!if r = r.substr(0,r.length-1) | |
| r9 | 101 | }}}}}}{{{#!if r.endsWith('.') |
| 102 | {{{#!if r = r.substr(0,r.length-1) | |
| r65 | 103 | }}}}}}}}}{{{#!if r[0]!=45 |
| 104 | @r@}}}{{{#!if r[0]==45 | |
| 105 | (@r@)}}}}}}}}}[anchor(1)]{{{#!if (+if)==4 | |
| r1 | 106 | {{{#!wiki style="margin: 0 0 0 5px" |
| 107 | {{{#!wiki style="display: inline-block" | |
| 108 | {{{+3 {{{#666 {{{#!html <span style="font-family: Ionicons"></span>}}}}}}{{{#!html }}}{{{#!html }}}{{{#!wiki style="display: inline-block; font-size: 25.63px" | |
| 109 | '''[[#1|1.]] {{{#373a3c,#ddd @문단명=가짜 문단@}}}'''}}}}}}}}}}}}{{{#!wiki style="display: inline-block; font-size: 12px; float: right; margin: -35px 0 0" | |
| 110 | '''[[#1|[편집\]]]'''}}}{{{#!wiki | |
| 111 | ---- | |
| 112 | }}}{{{#!wiki | |
| 113 | * '''일반 편집 시 다크 모드 대응 쉽게 하는 법''' | |
| 114 | 최근 화이트 모드 색상만을 지정한 경우 다크 모드에서 적절한 색으로 변경되어 표시되게 바뀌었는데,[[https://board.namu.wiki/b/free/3016057|#]] 이로 인해 표 색상이 의도치 않게 달라져 글자가 보이지 않거나 하는 문제가 발생하기도 한다. 그래서 특정 색상을 그대로 표시되어야만 하는 경우 다크 모드 색상도 지정해 주어야 하는데, 아래는 이를 쉽게 하기 위한 방법이다. 모나코 에디터 단축키에 익숙하다면 쉬울 것이다. | |
| 115 | 1. 편집기에서 Ctrl(Comend)+H 누르면 '찾기/바꾸기' 창이 나오는데, 해당 창의 '찾기' 칸 우측의 '.*' 부분을 클릭하여 활성화한다.([[정규 표현식|정규식]] 모드) | |
| r6 | 116 | 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 | 117 | 1. --하다가 귀찮아져서 프로그램으로 구현하거나 [[나무위키:사용 승인된 봇 계정 목록|봇]]이 편집해주기를 기다린다.(최종점)--}}}[[]] |
| r74 | 118 | * color: var(--espejo-link-color)로 {{{#!wiki style="color: var(--espejo-link-color); display: inline" |
| r75 | 119 | 링크}}} 색을 참조할 수 있다. |
| r82 | 120 | * 편집기에서 문법 하이라이팅 버그가 있을 시, #\#)]를 추가하는 등으로 해결할 수 있다.}}}{{{#!if if='나무나무마크' |
| r77 | 121 | {{{#!wiki style="display: none" |
| r113 | 122 | ################################################################################## 매크로 |
| 123 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 124 | ##)] | |
| 125 | }}}{{{#!if this.MacroOpen!=-1 | |
| 126 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 127 | }}}{{{#!if this.MacroClose!=-1 | |
| 128 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 180 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 181 | }}} | |
| 182 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 183 | {{{#!if this.Comma2 == 0 | |
| 184 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 185 | }}} | |
| 186 | }}} | |
| 187 | {{{#!if this.Comma2 != 0 | |
| 188 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 189 | }}} | |
| 190 | }}} | |
| 191 | }}} | |
| 192 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 193 | }}} | |
| 194 | ||
| 195 | {{{#!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) | |
| 196 | }}} | |
| 197 | }}} | |
| 198 | }}} | |
| 199 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 200 | ##)] | |
| 201 | }}}{{{#!if this.MacroOpen!=-1 | |
| 202 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 203 | }}}{{{#!if this.MacroClose!=-1 | |
| 204 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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 | ||
| 255 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 256 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 257 | }}} | |
| 258 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 259 | {{{#!if this.Comma2 == 0 | |
| 260 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 261 | }}} | |
| 262 | }}} | |
| 263 | {{{#!if this.Comma2 != 0 | |
| 264 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 265 | }}} | |
| 266 | }}} | |
| 267 | }}} | |
| 268 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 269 | }}} | |
| 270 | {{{#!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) | |
| 271 | }}} | |
| 272 | }}} | |
| 273 | }}} | |
| 274 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 275 | ##)] | |
| 276 | }}}{{{#!if this.MacroOpen!=-1 | |
| 277 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 278 | }}}{{{#!if this.MacroClose!=-1 | |
| 279 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 331 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 332 | }}} | |
| 333 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 334 | {{{#!if this.Comma2 == 0 | |
| 335 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 336 | }}} | |
| 337 | }}} | |
| 338 | {{{#!if this.Comma2 != 0 | |
| 339 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 340 | }}} | |
| 341 | }}} | |
| 342 | }}} | |
| 343 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 344 | }}} | |
| 345 | ||
| 346 | {{{#!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) | |
| 347 | }}} | |
| 348 | }}} | |
| 349 | }}} | |
| 350 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 351 | ##)] | |
| 352 | }}}{{{#!if this.MacroOpen!=-1 | |
| 353 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 354 | }}}{{{#!if this.MacroClose!=-1 | |
| 355 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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 | ||
| 406 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 407 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 408 | }}} | |
| 409 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 410 | {{{#!if this.Comma2 == 0 | |
| 411 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 412 | }}} | |
| 413 | }}} | |
| 414 | {{{#!if this.Comma2 != 0 | |
| 415 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 416 | }}} | |
| 417 | }}} | |
| 418 | }}} | |
| 419 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 420 | }}} | |
| 421 | {{{#!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) | |
| 422 | }}} | |
| 423 | }}} | |
| 424 | }}} | |
| 425 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 426 | ##)] | |
| 427 | }}}{{{#!if this.MacroOpen!=-1 | |
| 428 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 429 | }}}{{{#!if this.MacroClose!=-1 | |
| 430 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 482 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 483 | }}} | |
| 484 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 485 | {{{#!if this.Comma2 == 0 | |
| 486 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 487 | }}} | |
| 488 | }}} | |
| 489 | {{{#!if this.Comma2 != 0 | |
| 490 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 491 | }}} | |
| 492 | }}} | |
| 493 | }}} | |
| 494 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 495 | }}} | |
| 496 | ||
| 497 | {{{#!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) | |
| 498 | }}} | |
| 499 | }}} | |
| 500 | }}} | |
| 501 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 502 | ##)] | |
| 503 | }}}{{{#!if this.MacroOpen!=-1 | |
| 504 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 505 | }}}{{{#!if this.MacroClose!=-1 | |
| 506 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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 | ||
| 557 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 558 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 559 | }}} | |
| 560 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 561 | {{{#!if this.Comma2 == 0 | |
| 562 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 563 | }}} | |
| 564 | }}} | |
| 565 | {{{#!if this.Comma2 != 0 | |
| 566 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 567 | }}} | |
| 568 | }}} | |
| 569 | }}} | |
| 570 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 571 | }}} | |
| 572 | {{{#!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) | |
| 573 | }}} | |
| 574 | }}} | |
| 575 | }}} | |
| 576 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 577 | ##)] | |
| 578 | }}}{{{#!if this.MacroOpen!=-1 | |
| 579 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 580 | }}}{{{#!if this.MacroClose!=-1 | |
| 581 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 633 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 634 | }}} | |
| 635 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 636 | {{{#!if this.Comma2 == 0 | |
| 637 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 638 | }}} | |
| 639 | }}} | |
| 640 | {{{#!if this.Comma2 != 0 | |
| 641 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 642 | }}} | |
| 643 | }}} | |
| 644 | }}} | |
| 645 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 646 | }}} | |
| 647 | ||
| 648 | {{{#!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) | |
| 649 | }}} | |
| 650 | }}} | |
| 651 | }}} | |
| 652 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 653 | ##)] | |
| 654 | }}}{{{#!if this.MacroOpen!=-1 | |
| 655 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 656 | }}}{{{#!if this.MacroClose!=-1 | |
| 657 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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 | ||
| 708 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 709 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 710 | }}} | |
| 711 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 712 | {{{#!if this.Comma2 == 0 | |
| 713 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 714 | }}} | |
| 715 | }}} | |
| 716 | {{{#!if this.Comma2 != 0 | |
| 717 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 718 | }}} | |
| 719 | }}} | |
| 720 | }}} | |
| 721 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 722 | }}} | |
| 723 | {{{#!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) | |
| 724 | }}} | |
| 725 | }}} | |
| 726 | }}} | |
| 727 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 728 | ##)] | |
| 729 | }}}{{{#!if this.MacroOpen!=-1 | |
| 730 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 731 | }}}{{{#!if this.MacroClose!=-1 | |
| 732 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 784 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 785 | }}} | |
| 786 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 787 | {{{#!if this.Comma2 == 0 | |
| 788 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 789 | }}} | |
| 790 | }}} | |
| 791 | {{{#!if this.Comma2 != 0 | |
| 792 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 793 | }}} | |
| 794 | }}} | |
| 795 | }}} | |
| 796 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 797 | }}} | |
| 798 | ||
| 799 | {{{#!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) | |
| 800 | }}} | |
| 801 | }}} | |
| 802 | }}} | |
| 803 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 804 | ##)] | |
| 805 | }}}{{{#!if this.MacroOpen!=-1 | |
| 806 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 807 | }}}{{{#!if this.MacroClose!=-1 | |
| 808 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 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 | ||
| 859 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 860 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 861 | }}} | |
| 862 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 863 | {{{#!if this.Comma2 == 0 | |
| 864 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 865 | }}} | |
| 866 | }}} | |
| 867 | {{{#!if this.Comma2 != 0 | |
| 868 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 869 | }}} | |
| 870 | }}} | |
| 871 | }}} | |
| 872 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 873 | }}} | |
| 874 | {{{#!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) | |
| 875 | }}} | |
| 876 | }}} | |
| 877 | }}} | |
| 878 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 879 | }}}{{{#!if this.Macro!=-1 | |
| 880 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 881 | }}}}}} | |
| 882 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 883 | }}}{{{#!if this.Macro!=-1 | |
| 884 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 885 | }}}}}} | |
| 886 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 887 | ##)] | |
| 888 | }}}{{{#!if this.MacroOpen!=-1 | |
| 889 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 890 | }}}{{{#!if this.MacroClose!=-1 | |
| 891 | {{{#!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) | |
| 892 | }}}{{{#!if this.Comma2==-1 | |
| 893 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 894 | }}} | |
| 895 | }}}{{{#!if this.Comma2!=-1 | |
| 896 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 897 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 898 | }}} | |
| 899 | }}} | |
| 900 | {{{#!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) | |
| 901 | }}} | |
| 902 | }}} | |
| 903 | }}} | |
| 904 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 905 | }}}{{{#!if this.Open!=-1 | |
| 906 | {{{#!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) | |
| 907 | }}} | |
| 908 | }}} | |
| 909 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 910 | }}}{{{#!if this.Open!=-1 | |
| 911 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 912 | }}}{{{#!if this.Close!=-1 | |
| 913 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 914 | }}}}}} |
| 915 | }}} | |
| r113 | 916 | ##### |
| 917 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 918 | }}}{{{#!if this.Macro!=-1 | |
| 919 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 920 | }}}}}} | |
| 921 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 922 | }}}{{{#!if this.Macro!=-1 | |
| 923 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 924 | }}}}}} | |
| 925 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 926 | ##)] | |
| 927 | }}}{{{#!if this.MacroOpen!=-1 | |
| 928 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 929 | }}}{{{#!if this.MacroClose!=-1 | |
| 930 | {{{#!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) | |
| 931 | }}}{{{#!if this.Comma2==-1 | |
| 932 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 933 | }}} | |
| 934 | }}}{{{#!if this.Comma2!=-1 | |
| 935 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 936 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 937 | }}} | |
| 938 | }}} | |
| 939 | {{{#!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) | |
| 940 | }}} | |
| 941 | }}} | |
| 942 | }}} | |
| 943 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 944 | }}}{{{#!if this.Open!=-1 | |
| 945 | {{{#!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) | |
| 946 | }}} | |
| 947 | }}} | |
| 948 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 949 | }}}{{{#!if this.Open!=-1 | |
| 950 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 951 | }}}{{{#!if this.Close!=-1 | |
| 952 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 953 | }}}}}} |
| 954 | }}} | |
| r113 | 955 | ##### |
| 956 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 957 | }}}{{{#!if this.Macro!=-1 | |
| 958 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 959 | }}}}}} | |
| 960 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 961 | }}}{{{#!if this.Macro!=-1 | |
| 962 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 963 | }}}}}} | |
| 964 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 965 | ##)] | |
| 966 | }}}{{{#!if this.MacroOpen!=-1 | |
| 967 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 968 | }}}{{{#!if this.MacroClose!=-1 | |
| 969 | {{{#!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) | |
| 970 | }}}{{{#!if this.Comma2==-1 | |
| 971 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 972 | }}} | |
| 973 | }}}{{{#!if this.Comma2!=-1 | |
| 974 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 975 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 976 | }}} | |
| 977 | }}} | |
| 978 | {{{#!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) | |
| 979 | }}} | |
| 980 | }}} | |
| 981 | }}} | |
| 982 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 983 | }}}{{{#!if this.Open!=-1 | |
| 984 | {{{#!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) | |
| 985 | }}} | |
| 986 | }}} | |
| 987 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 988 | }}}{{{#!if this.Open!=-1 | |
| 989 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 990 | }}}{{{#!if this.Close!=-1 | |
| 991 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 992 | }}}}}} |
| 993 | }}} | |
| r113 | 994 | ##### |
| 995 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 996 | }}}{{{#!if this.Macro!=-1 | |
| 997 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 998 | }}}}}} | |
| 999 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1000 | }}}{{{#!if this.Macro!=-1 | |
| 1001 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1002 | }}}}}} | |
| 1003 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1004 | ##)] | |
| 1005 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1006 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1007 | }}}{{{#!if this.MacroClose!=-1 | |
| 1008 | {{{#!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) | |
| 1009 | }}}{{{#!if this.Comma2==-1 | |
| 1010 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1011 | }}} | |
| 1012 | }}}{{{#!if this.Comma2!=-1 | |
| 1013 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1014 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1015 | }}} | |
| 1016 | }}} | |
| 1017 | {{{#!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) | |
| 1018 | }}} | |
| 1019 | }}} | |
| 1020 | }}} | |
| 1021 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1022 | }}}{{{#!if this.Open!=-1 | |
| 1023 | {{{#!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) | |
| 1024 | }}} | |
| 1025 | }}} | |
| 1026 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1027 | }}}{{{#!if this.Open!=-1 | |
| 1028 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1029 | }}}{{{#!if this.Close!=-1 | |
| 1030 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1031 | }}}}}} |
| 1032 | }}} | |
| r113 | 1033 | ##### |
| 1034 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1035 | }}}{{{#!if this.Macro!=-1 | |
| 1036 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1037 | }}}}}} | |
| 1038 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1039 | }}}{{{#!if this.Macro!=-1 | |
| 1040 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1041 | }}}}}} | |
| 1042 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1043 | ##)] | |
| 1044 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1045 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1046 | }}}{{{#!if this.MacroClose!=-1 | |
| 1047 | {{{#!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) | |
| 1048 | }}}{{{#!if this.Comma2==-1 | |
| 1049 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1050 | }}} | |
| 1051 | }}}{{{#!if this.Comma2!=-1 | |
| 1052 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1053 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1054 | }}} | |
| 1055 | }}} | |
| 1056 | {{{#!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) | |
| 1057 | }}} | |
| 1058 | }}} | |
| 1059 | }}} | |
| 1060 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1061 | }}}{{{#!if this.Open!=-1 | |
| 1062 | {{{#!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) | |
| 1063 | }}} | |
| 1064 | }}} | |
| 1065 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1066 | }}}{{{#!if this.Open!=-1 | |
| 1067 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1068 | }}}{{{#!if this.Close!=-1 | |
| 1069 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1070 | }}}}}} |
| 1071 | }}} | |
| r113 | 1072 | ##### |
| 1073 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1074 | }}}{{{#!if this.Macro!=-1 | |
| 1075 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1076 | }}}}}} | |
| 1077 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1078 | }}}{{{#!if this.Macro!=-1 | |
| 1079 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1080 | }}}}}} | |
| 1081 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1082 | ##)] | |
| 1083 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1084 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1085 | }}}{{{#!if this.MacroClose!=-1 | |
| 1086 | {{{#!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) | |
| 1087 | }}}{{{#!if this.Comma2==-1 | |
| 1088 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1089 | }}} | |
| 1090 | }}}{{{#!if this.Comma2!=-1 | |
| 1091 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1092 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1093 | }}} | |
| 1094 | }}} | |
| 1095 | {{{#!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) | |
| 1096 | }}} | |
| 1097 | }}} | |
| 1098 | }}} | |
| 1099 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1100 | }}}{{{#!if this.Open!=-1 | |
| 1101 | {{{#!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) | |
| 1102 | }}} | |
| 1103 | }}} | |
| 1104 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1105 | }}}{{{#!if this.Open!=-1 | |
| 1106 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1107 | }}}{{{#!if this.Close!=-1 | |
| 1108 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1109 | }}}}}} |
| 1110 | }}} | |
| r113 | 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+3).indexOf("'''") | |
| 1139 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1140 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1141 | }}}}}} | |
| 1142 | }}} | |
| 1143 | ##### | |
| 1144 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1145 | }}}{{{#!if this.Open!=-1 | |
| 1146 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1147 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1148 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 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)+'<em>'+this.Text.trim()+'</em>'+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)+'<em>'+this.Text.trim()+'</em>'+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)+'<del>'+this.Text.trim()+'</del>'+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)+'<del>'+this.Text.trim()+'</del>'+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)+'<u>'+this.Text.trim()+'</u>'+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)+'<u>'+this.Text.trim()+'</u>'+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)+'<sub>'+this.Text.trim()+'</sub>'+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)+'<sub>'+this.Text.trim()+'</sub>'+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 | }}} | |
| 1335 | ##### | |
| 1336 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1337 | }}}{{{#!if this.Open!=-1 | |
| 1338 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1339 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1340 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1341 | }}}}}} | |
| 1342 | }}} | |
| 1343 | ##### | |
| 1344 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1345 | }}}{{{#!if this.Open!=-1 | |
| 1346 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1347 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1348 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1349 | }}}}}} | |
| 1350 | }}} | |
| r105 | 1351 | ################################################################################## 링크 |
| r113 | 1352 | {{{#!if this.DarkInput=this.input |
| r105 | 1353 | }}} |
| r113 | 1354 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' |
| 1355 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1356 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1357 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1358 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1359 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1360 | }}}{{{#!if this.divider == -1 | |
| r96 | 1361 | ##[[링크]] |
| r113 | 1362 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1363 | }}} |
| r113 | 1364 | }}}{{{#!if this.divider != -1 |
| 1365 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1366 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1367 | ##[[|]] > 출력 x |
| 1368 | }}} | |
| 1369 | }}} | |
| r113 | 1370 | {{{#!if (this.divider == 2) && !this.break |
| 1371 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1372 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1373 | }}} | |
| 1374 | }}} | |
| r113 | 1375 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1376 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1377 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1378 | }}} |
| 1379 | }}} | |
| r113 | 1380 | {{{#!if !this.break |
| 1381 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1382 | }}} |
| 1383 | }}} | |
| 1384 | }}} | |
| r113 | 1385 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1386 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1387 | }}} |
| r113 | 1388 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1389 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1390 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1391 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1392 | }}} |
| r113 | 1393 | }}}{{{#!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) |
| 1394 | }}}{{{#!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 | 1395 | }}} |
| 1396 | }}} | |
| r113 | 1397 | ##### |
| 1398 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1399 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1400 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1401 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1402 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1403 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1404 | }}}{{{#!if this.divider == -1 | |
| r96 | 1405 | ##[[링크]] |
| r113 | 1406 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1407 | }}} |
| r113 | 1408 | }}}{{{#!if this.divider != -1 |
| 1409 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1410 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1411 | ##[[|]] > 출력 x |
| 1412 | }}} | |
| 1413 | }}} | |
| r113 | 1414 | {{{#!if (this.divider == 2) && !this.break |
| 1415 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1416 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1417 | }}} | |
| 1418 | }}} | |
| r113 | 1419 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1420 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1421 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1422 | }}} |
| 1423 | }}} | |
| r113 | 1424 | {{{#!if !this.break |
| 1425 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1426 | }}} |
| 1427 | }}} | |
| 1428 | }}} | |
| r113 | 1429 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1430 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1431 | }}} |
| r113 | 1432 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1433 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1434 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1435 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1436 | }}} |
| r113 | 1437 | }}}{{{#!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) |
| 1438 | }}}{{{#!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 | 1439 | }}} |
| 1440 | }}} | |
| r113 | 1441 | ##### |
| 1442 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1443 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1444 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1445 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1446 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1447 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1448 | }}}{{{#!if this.divider == -1 | |
| r96 | 1449 | ##[[링크]] |
| r113 | 1450 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1451 | }}} |
| r113 | 1452 | }}}{{{#!if this.divider != -1 |
| 1453 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1454 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1455 | ##[[|]] > 출력 x |
| 1456 | }}} | |
| 1457 | }}} | |
| r113 | 1458 | {{{#!if (this.divider == 2) && !this.break |
| 1459 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1460 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1461 | }}} | |
| 1462 | }}} | |
| r113 | 1463 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1464 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1465 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1466 | }}} |
| 1467 | }}} | |
| r113 | 1468 | {{{#!if !this.break |
| 1469 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1470 | }}} |
| 1471 | }}} | |
| 1472 | }}} | |
| r113 | 1473 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1474 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1475 | }}} |
| r113 | 1476 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1477 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1478 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1479 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1480 | }}} |
| r113 | 1481 | }}}{{{#!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) |
| 1482 | }}}{{{#!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 | 1483 | }}} |
| 1484 | }}} | |
| r113 | 1485 | ##### |
| 1486 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1487 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1488 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1489 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1490 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1491 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1492 | }}}{{{#!if this.divider == -1 | |
| r96 | 1493 | ##[[링크]] |
| r113 | 1494 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1495 | }}} |
| r113 | 1496 | }}}{{{#!if this.divider != -1 |
| 1497 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1498 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1499 | ##[[|]] > 출력 x |
| 1500 | }}} | |
| 1501 | }}} | |
| r113 | 1502 | {{{#!if (this.divider == 2) && !this.break |
| 1503 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1504 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1505 | }}} | |
| 1506 | }}} | |
| r113 | 1507 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1508 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1509 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1510 | }}} |
| 1511 | }}} | |
| r113 | 1512 | {{{#!if !this.break |
| 1513 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1514 | }}} |
| 1515 | }}} | |
| 1516 | }}} | |
| r113 | 1517 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1518 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1519 | }}} |
| r113 | 1520 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1521 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1522 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1523 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1524 | }}} |
| r113 | 1525 | }}}{{{#!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) |
| 1526 | }}}{{{#!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 | 1527 | }}} |
| 1528 | }}} | |
| r113 | 1529 | ##### |
| 1530 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1531 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1532 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1533 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1534 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1535 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1536 | }}}{{{#!if this.divider == -1 | |
| r96 | 1537 | ##[[링크]] |
| r113 | 1538 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1539 | }}} |
| r113 | 1540 | }}}{{{#!if this.divider != -1 |
| 1541 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1542 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1543 | ##[[|]] > 출력 x |
| 1544 | }}} | |
| 1545 | }}} | |
| r113 | 1546 | {{{#!if (this.divider == 2) && !this.break |
| 1547 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1548 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1549 | }}} | |
| 1550 | }}} | |
| r113 | 1551 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1552 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1553 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1554 | }}} |
| 1555 | }}} | |
| r113 | 1556 | {{{#!if !this.break |
| 1557 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1558 | }}} |
| 1559 | }}} | |
| 1560 | }}} | |
| r113 | 1561 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1562 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1563 | }}} |
| r113 | 1564 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1565 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1566 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1567 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1568 | }}} |
| r113 | 1569 | }}}{{{#!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) |
| 1570 | }}}{{{#!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 | 1571 | }}} |
| 1572 | }}} | |
| r113 | 1573 | {{{#!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 | 1574 | }}} |
| r113 | 1575 | ####################################################################################################################################### 중괄호사용 |
| 1576 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1577 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1578 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 1579 | }}} |
| r113 | 1580 | {{{#!if this._ParOpen == -1 |
| 1581 | {{{#!if this.Match=true | |
| r77 | 1582 | }}} |
| r113 | 1583 | }}}{{{#!if this._ParOpen != -1 |
| 1584 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 1585 | }}} |
| 1586 | }}} | |
| r113 | 1587 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1588 | }}} |
| r113 | 1589 | {{{#!if this._ParOpen == -1 |
| 1590 | {{{#!if this.Match=true | |
| r77 | 1591 | }}} |
| r113 | 1592 | }}}{{{#!if this._ParOpen != -1 |
| 1593 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1594 | }}} |
| 1595 | }}} | |
| r113 | 1596 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1597 | }}} |
| r113 | 1598 | {{{#!if this._ParOpen == -1 |
| 1599 | {{{#!if this.Match=true | |
| r77 | 1600 | }}} |
| r113 | 1601 | }}}{{{#!if this._ParOpen != -1 |
| 1602 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1603 | }}} |
| 1604 | }}} | |
| r113 | 1605 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1606 | }}} |
| r113 | 1607 | {{{#!if this._ParOpen == -1 |
| 1608 | {{{#!if this.Match=true | |
| r85 | 1609 | }}} |
| r113 | 1610 | }}}{{{#!if this._ParOpen != -1 |
| 1611 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1612 | }}} |
| 1613 | }}} | |
| r113 | 1614 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1615 | }}} |
| r113 | 1616 | {{{#!if this._ParOpen == -1 |
| 1617 | {{{#!if this.Match=true | |
| r85 | 1618 | }}} |
| r113 | 1619 | }}}{{{#!if this._ParOpen != -1 |
| 1620 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1621 | }}} |
| 1622 | }}} | |
| r113 | 1623 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1624 | }}} |
| r113 | 1625 | {{{#!if this._ParOpen == -1 |
| 1626 | {{{#!if this.Match=true | |
| r85 | 1627 | }}} |
| r113 | 1628 | }}}{{{#!if this._ParOpen != -1 |
| 1629 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1630 | }}} |
| 1631 | }}} | |
| r113 | 1632 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1633 | }}} |
| r113 | 1634 | {{{#!if this._ParOpen == -1 |
| 1635 | {{{#!if this.Match=true | |
| r85 | 1636 | }}} |
| r113 | 1637 | }}}{{{#!if this._ParOpen != -1 |
| 1638 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1639 | }}} |
| 1640 | }}} | |
| 1641 | }}} | |
| r113 | 1642 | ##### |
| 1643 | {{{#!if this.Match | |
| 1644 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1645 | {{{#!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 | 1646 | }}} |
| 1647 | }}} | |
| r113 | 1648 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1649 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1650 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1651 | {{{#!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) | |
| 1652 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1653 | }}} |
| 1654 | }}} | |
| 1655 | }}} | |
| r113 | 1656 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1657 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1658 | }}}{{{#!if this.Blank!=-1 | |
| 1659 | {{{#!if this.Comma != -1 | |
| 1660 | {{{#!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 | 1661 | }}} |
| 1662 | }}} | |
| r113 | 1663 | {{{#!if this.Comma == -1 |
| 1664 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 1665 | }}} |
| r113 | 1666 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1667 | }}}{{{#!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 | 1668 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 1669 | }}} |
| 1670 | }}} | |
| 1671 | }}} | |
| r113 | 1672 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1673 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1674 | }}}{{{#!if this.Blank==5 | |
| 1675 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1676 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1677 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1678 | }}}{{{#!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 | 1679 | }}} |
| 1680 | }}} | |
| 1681 | }}} | |
| 1682 | }}} | |
| 1683 | }}} | |
| r113 | 1684 | ##### |
| 1685 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1686 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1687 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 1688 | }}} |
| r113 | 1689 | {{{#!if this._ParOpen == -1 |
| 1690 | {{{#!if this.Match=true | |
| r95 | 1691 | }}} |
| r113 | 1692 | }}}{{{#!if this._ParOpen != -1 |
| 1693 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 1694 | }}} |
| 1695 | }}} | |
| r113 | 1696 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1697 | }}} |
| r113 | 1698 | {{{#!if this._ParOpen == -1 |
| 1699 | {{{#!if this.Match=true | |
| r95 | 1700 | }}} |
| r113 | 1701 | }}}{{{#!if this._ParOpen != -1 |
| 1702 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1703 | }}} |
| 1704 | }}} | |
| r113 | 1705 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1706 | }}} |
| r113 | 1707 | {{{#!if this._ParOpen == -1 |
| 1708 | {{{#!if this.Match=true | |
| r95 | 1709 | }}} |
| r113 | 1710 | }}}{{{#!if this._ParOpen != -1 |
| 1711 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1712 | }}} |
| 1713 | }}} | |
| r113 | 1714 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1715 | }}} |
| r113 | 1716 | {{{#!if this._ParOpen == -1 |
| 1717 | {{{#!if this.Match=true | |
| r95 | 1718 | }}} |
| r113 | 1719 | }}}{{{#!if this._ParOpen != -1 |
| 1720 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1721 | }}} |
| 1722 | }}} | |
| r113 | 1723 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1724 | }}} |
| r113 | 1725 | {{{#!if this._ParOpen == -1 |
| 1726 | {{{#!if this.Match=true | |
| r95 | 1727 | }}} |
| r113 | 1728 | }}}{{{#!if this._ParOpen != -1 |
| 1729 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1730 | }}} |
| 1731 | }}} | |
| r113 | 1732 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1733 | }}} |
| r113 | 1734 | {{{#!if this._ParOpen == -1 |
| 1735 | {{{#!if this.Match=true | |
| r95 | 1736 | }}} |
| r113 | 1737 | }}}{{{#!if this._ParOpen != -1 |
| 1738 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1739 | }}} |
| 1740 | }}} | |
| r113 | 1741 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1742 | }}} |
| r113 | 1743 | {{{#!if this._ParOpen == -1 |
| 1744 | {{{#!if this.Match=true | |
| r95 | 1745 | }}} |
| r113 | 1746 | }}}{{{#!if this._ParOpen != -1 |
| 1747 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1748 | }}} |
| 1749 | }}} | |
| 1750 | }}} | |
| r113 | 1751 | ##### |
| 1752 | {{{#!if this.Match | |
| 1753 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1754 | {{{#!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 | 1755 | }}} |
| r95 | 1756 | }}} |
| r113 | 1757 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1758 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1759 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1760 | {{{#!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) | |
| 1761 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1762 | }}} |
| 1763 | }}} | |
| 1764 | }}} | |
| r113 | 1765 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1766 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1767 | }}}{{{#!if this.Blank!=-1 | |
| 1768 | {{{#!if this.Comma != -1 | |
| 1769 | {{{#!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 | 1770 | }}} |
| 1771 | }}} | |
| r113 | 1772 | {{{#!if this.Comma == -1 |
| 1773 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 1774 | }}} |
| r113 | 1775 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1776 | }}}{{{#!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 | 1777 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1778 | }}} | |
| 1779 | }}} | |
| 1780 | }}} | |
| r113 | 1781 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1782 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1783 | }}}{{{#!if this.Blank==5 | |
| 1784 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1785 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1786 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1787 | }}}{{{#!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 | 1788 | }}} |
| 1789 | }}} | |
| 1790 | }}} | |
| 1791 | }}} | |
| r85 | 1792 | }}} |
| r113 | 1793 | ##### |
| 1794 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1795 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1796 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 1797 | }}} |
| r113 | 1798 | {{{#!if this._ParOpen == -1 |
| 1799 | {{{#!if this.Match=true | |
| r77 | 1800 | }}} |
| r113 | 1801 | }}}{{{#!if this._ParOpen != -1 |
| 1802 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 1803 | }}} |
| 1804 | }}} | |
| r113 | 1805 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1806 | }}} |
| r113 | 1807 | {{{#!if this._ParOpen == -1 |
| 1808 | {{{#!if this.Match=true | |
| r77 | 1809 | }}} |
| r113 | 1810 | }}}{{{#!if this._ParOpen != -1 |
| 1811 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1812 | }}} |
| 1813 | }}} | |
| r113 | 1814 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1815 | }}} |
| r113 | 1816 | {{{#!if this._ParOpen == -1 |
| 1817 | {{{#!if this.Match=true | |
| r77 | 1818 | }}} |
| r113 | 1819 | }}}{{{#!if this._ParOpen != -1 |
| 1820 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1821 | }}} |
| 1822 | }}} | |
| r113 | 1823 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1824 | }}} |
| r113 | 1825 | {{{#!if this._ParOpen == -1 |
| 1826 | {{{#!if this.Match=true | |
| r85 | 1827 | }}} |
| r113 | 1828 | }}}{{{#!if this._ParOpen != -1 |
| 1829 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1830 | }}} |
| 1831 | }}} | |
| r113 | 1832 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1833 | }}} |
| r113 | 1834 | {{{#!if this._ParOpen == -1 |
| 1835 | {{{#!if this.Match=true | |
| r85 | 1836 | }}} |
| r113 | 1837 | }}}{{{#!if this._ParOpen != -1 |
| 1838 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1839 | }}} |
| 1840 | }}} | |
| r113 | 1841 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1842 | }}} |
| r113 | 1843 | {{{#!if this._ParOpen == -1 |
| 1844 | {{{#!if this.Match=true | |
| r85 | 1845 | }}} |
| r113 | 1846 | }}}{{{#!if this._ParOpen != -1 |
| 1847 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1848 | }}} |
| 1849 | }}} | |
| r113 | 1850 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1851 | }}} |
| r113 | 1852 | {{{#!if this._ParOpen == -1 |
| 1853 | {{{#!if this.Match=true | |
| r85 | 1854 | }}} |
| r113 | 1855 | }}}{{{#!if this._ParOpen != -1 |
| 1856 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1857 | }}} |
| 1858 | }}} | |
| 1859 | }}} | |
| r113 | 1860 | ##### |
| 1861 | {{{#!if this.Match | |
| 1862 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1863 | {{{#!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 | 1864 | }}} |
| 1865 | }}} | |
| r113 | 1866 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1867 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1868 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1869 | {{{#!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) | |
| 1870 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1871 | }}} |
| 1872 | }}} | |
| 1873 | }}} | |
| r113 | 1874 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1875 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1876 | }}}{{{#!if this.Blank!=-1 | |
| 1877 | {{{#!if this.Comma != -1 | |
| 1878 | {{{#!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 | 1879 | }}} |
| 1880 | }}} | |
| r113 | 1881 | {{{#!if this.Comma == -1 |
| 1882 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 1883 | }}} |
| r113 | 1884 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1885 | }}}{{{#!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 | 1886 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 1887 | }}} |
| 1888 | }}} | |
| 1889 | }}} | |
| r113 | 1890 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1891 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1892 | }}}{{{#!if this.Blank==5 | |
| 1893 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1894 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1895 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1896 | }}}{{{#!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 | 1897 | }}} |
| 1898 | }}} | |
| 1899 | }}} | |
| 1900 | }}} | |
| 1901 | }}} | |
| r113 | 1902 | ##### |
| 1903 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1904 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1905 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 1906 | }}} |
| r113 | 1907 | {{{#!if this._ParOpen == -1 |
| 1908 | {{{#!if this.Match=true | |
| r95 | 1909 | }}} |
| r113 | 1910 | }}}{{{#!if this._ParOpen != -1 |
| 1911 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 1912 | }}} |
| 1913 | }}} | |
| r113 | 1914 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1915 | }}} |
| r113 | 1916 | {{{#!if this._ParOpen == -1 |
| 1917 | {{{#!if this.Match=true | |
| r95 | 1918 | }}} |
| r113 | 1919 | }}}{{{#!if this._ParOpen != -1 |
| 1920 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1921 | }}} |
| 1922 | }}} | |
| r113 | 1923 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1924 | }}} |
| r113 | 1925 | {{{#!if this._ParOpen == -1 |
| 1926 | {{{#!if this.Match=true | |
| r95 | 1927 | }}} |
| r113 | 1928 | }}}{{{#!if this._ParOpen != -1 |
| 1929 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1930 | }}} |
| 1931 | }}} | |
| r113 | 1932 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1933 | }}} |
| r113 | 1934 | {{{#!if this._ParOpen == -1 |
| 1935 | {{{#!if this.Match=true | |
| r95 | 1936 | }}} |
| r113 | 1937 | }}}{{{#!if this._ParOpen != -1 |
| 1938 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1939 | }}} |
| 1940 | }}} | |
| r113 | 1941 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1942 | }}} |
| r113 | 1943 | {{{#!if this._ParOpen == -1 |
| 1944 | {{{#!if this.Match=true | |
| r95 | 1945 | }}} |
| r113 | 1946 | }}}{{{#!if this._ParOpen != -1 |
| 1947 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1948 | }}} |
| 1949 | }}} | |
| r113 | 1950 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1951 | }}} |
| r113 | 1952 | {{{#!if this._ParOpen == -1 |
| 1953 | {{{#!if this.Match=true | |
| r95 | 1954 | }}} |
| r113 | 1955 | }}}{{{#!if this._ParOpen != -1 |
| 1956 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1957 | }}} |
| 1958 | }}} | |
| r113 | 1959 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1960 | }}} |
| r113 | 1961 | {{{#!if this._ParOpen == -1 |
| 1962 | {{{#!if this.Match=true | |
| r95 | 1963 | }}} |
| r113 | 1964 | }}}{{{#!if this._ParOpen != -1 |
| 1965 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1966 | }}} |
| 1967 | }}} | |
| 1968 | }}} | |
| r113 | 1969 | ##### |
| 1970 | {{{#!if this.Match | |
| 1971 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1972 | {{{#!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 | 1973 | }}} |
| r95 | 1974 | }}} |
| r113 | 1975 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1976 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1977 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1978 | {{{#!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) | |
| 1979 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1980 | }}} |
| 1981 | }}} | |
| 1982 | }}} | |
| r113 | 1983 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1984 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1985 | }}}{{{#!if this.Blank!=-1 | |
| 1986 | {{{#!if this.Comma != -1 | |
| 1987 | {{{#!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 | 1988 | }}} |
| 1989 | }}} | |
| r113 | 1990 | {{{#!if this.Comma == -1 |
| 1991 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 1992 | }}} |
| r113 | 1993 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1994 | }}}{{{#!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 | 1995 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1996 | }}} | |
| 1997 | }}} | |
| 1998 | }}} | |
| r113 | 1999 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2000 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2001 | }}}{{{#!if this.Blank==5 | |
| 2002 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2003 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2004 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2005 | }}}{{{#!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 | 2006 | }}} |
| 2007 | }}} | |
| 2008 | }}} | |
| 2009 | }}} | |
| r85 | 2010 | }}} |
| r113 | 2011 | ##### |
| 2012 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2013 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2014 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2015 | }}} |
| r113 | 2016 | {{{#!if this._ParOpen == -1 |
| 2017 | {{{#!if this.Match=true | |
| r77 | 2018 | }}} |
| r113 | 2019 | }}}{{{#!if this._ParOpen != -1 |
| 2020 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2021 | }}} |
| 2022 | }}} | |
| r113 | 2023 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2024 | }}} |
| r113 | 2025 | {{{#!if this._ParOpen == -1 |
| 2026 | {{{#!if this.Match=true | |
| r77 | 2027 | }}} |
| r113 | 2028 | }}}{{{#!if this._ParOpen != -1 |
| 2029 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2030 | }}} |
| 2031 | }}} | |
| r113 | 2032 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2033 | }}} |
| r113 | 2034 | {{{#!if this._ParOpen == -1 |
| 2035 | {{{#!if this.Match=true | |
| r77 | 2036 | }}} |
| r113 | 2037 | }}}{{{#!if this._ParOpen != -1 |
| 2038 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2039 | }}} |
| 2040 | }}} | |
| r113 | 2041 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2042 | }}} |
| r113 | 2043 | {{{#!if this._ParOpen == -1 |
| 2044 | {{{#!if this.Match=true | |
| r85 | 2045 | }}} |
| r113 | 2046 | }}}{{{#!if this._ParOpen != -1 |
| 2047 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2048 | }}} |
| 2049 | }}} | |
| r113 | 2050 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2051 | }}} |
| r113 | 2052 | {{{#!if this._ParOpen == -1 |
| 2053 | {{{#!if this.Match=true | |
| r85 | 2054 | }}} |
| r113 | 2055 | }}}{{{#!if this._ParOpen != -1 |
| 2056 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2057 | }}} |
| 2058 | }}} | |
| r113 | 2059 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2060 | }}} |
| r113 | 2061 | {{{#!if this._ParOpen == -1 |
| 2062 | {{{#!if this.Match=true | |
| r85 | 2063 | }}} |
| r113 | 2064 | }}}{{{#!if this._ParOpen != -1 |
| 2065 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2066 | }}} |
| 2067 | }}} | |
| r113 | 2068 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2069 | }}} |
| r113 | 2070 | {{{#!if this._ParOpen == -1 |
| 2071 | {{{#!if this.Match=true | |
| r85 | 2072 | }}} |
| r113 | 2073 | }}}{{{#!if this._ParOpen != -1 |
| 2074 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2075 | }}} |
| 2076 | }}} | |
| 2077 | }}} | |
| r113 | 2078 | ##### |
| 2079 | {{{#!if this.Match | |
| 2080 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2081 | {{{#!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 | 2082 | }}} |
| 2083 | }}} | |
| r113 | 2084 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2085 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2086 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2087 | {{{#!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) | |
| 2088 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2089 | }}} |
| 2090 | }}} | |
| 2091 | }}} | |
| r113 | 2092 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2093 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2094 | }}}{{{#!if this.Blank!=-1 | |
| 2095 | {{{#!if this.Comma != -1 | |
| 2096 | {{{#!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 | 2097 | }}} |
| 2098 | }}} | |
| r113 | 2099 | {{{#!if this.Comma == -1 |
| 2100 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2101 | }}} |
| r113 | 2102 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2103 | }}}{{{#!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 | 2104 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2105 | }}} |
| 2106 | }}} | |
| 2107 | }}} | |
| r113 | 2108 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2109 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2110 | }}}{{{#!if this.Blank==5 | |
| 2111 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2112 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2113 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2114 | }}}{{{#!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 | 2115 | }}} |
| 2116 | }}} | |
| 2117 | }}} | |
| 2118 | }}} | |
| 2119 | }}} | |
| r113 | 2120 | ##### |
| 2121 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2122 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2123 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 2124 | }}} |
| r113 | 2125 | {{{#!if this._ParOpen == -1 |
| 2126 | {{{#!if this.Match=true | |
| r95 | 2127 | }}} |
| r113 | 2128 | }}}{{{#!if this._ParOpen != -1 |
| 2129 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 2130 | }}} |
| 2131 | }}} | |
| r113 | 2132 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2133 | }}} |
| r113 | 2134 | {{{#!if this._ParOpen == -1 |
| 2135 | {{{#!if this.Match=true | |
| r95 | 2136 | }}} |
| r113 | 2137 | }}}{{{#!if this._ParOpen != -1 |
| 2138 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2139 | }}} |
| 2140 | }}} | |
| r113 | 2141 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2142 | }}} |
| r113 | 2143 | {{{#!if this._ParOpen == -1 |
| 2144 | {{{#!if this.Match=true | |
| r95 | 2145 | }}} |
| r113 | 2146 | }}}{{{#!if this._ParOpen != -1 |
| 2147 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2148 | }}} |
| 2149 | }}} | |
| r113 | 2150 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2151 | }}} |
| r113 | 2152 | {{{#!if this._ParOpen == -1 |
| 2153 | {{{#!if this.Match=true | |
| r95 | 2154 | }}} |
| r113 | 2155 | }}}{{{#!if this._ParOpen != -1 |
| 2156 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2157 | }}} |
| 2158 | }}} | |
| r113 | 2159 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2160 | }}} |
| r113 | 2161 | {{{#!if this._ParOpen == -1 |
| 2162 | {{{#!if this.Match=true | |
| r95 | 2163 | }}} |
| r113 | 2164 | }}}{{{#!if this._ParOpen != -1 |
| 2165 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2166 | }}} |
| 2167 | }}} | |
| r113 | 2168 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2169 | }}} |
| r113 | 2170 | {{{#!if this._ParOpen == -1 |
| 2171 | {{{#!if this.Match=true | |
| r95 | 2172 | }}} |
| r113 | 2173 | }}}{{{#!if this._ParOpen != -1 |
| 2174 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2175 | }}} |
| 2176 | }}} | |
| r113 | 2177 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2178 | }}} |
| r113 | 2179 | {{{#!if this._ParOpen == -1 |
| 2180 | {{{#!if this.Match=true | |
| r95 | 2181 | }}} |
| r113 | 2182 | }}}{{{#!if this._ParOpen != -1 |
| 2183 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2184 | }}} |
| 2185 | }}} | |
| 2186 | }}} | |
| r113 | 2187 | ##### |
| 2188 | {{{#!if this.Match | |
| 2189 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2190 | {{{#!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 | 2191 | }}} |
| r95 | 2192 | }}} |
| r113 | 2193 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2194 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2195 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2196 | {{{#!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) | |
| 2197 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 2198 | }}} |
| 2199 | }}} | |
| 2200 | }}} | |
| r113 | 2201 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2202 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2203 | }}}{{{#!if this.Blank!=-1 | |
| 2204 | {{{#!if this.Comma != -1 | |
| 2205 | {{{#!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 | 2206 | }}} |
| 2207 | }}} | |
| r113 | 2208 | {{{#!if this.Comma == -1 |
| 2209 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 2210 | }}} |
| r113 | 2211 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2212 | }}}{{{#!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 | 2213 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2214 | }}} | |
| 2215 | }}} | |
| 2216 | }}} | |
| r113 | 2217 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2218 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2219 | }}}{{{#!if this.Blank==5 | |
| 2220 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2221 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2222 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2223 | }}}{{{#!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 | 2224 | }}} |
| 2225 | }}} | |
| 2226 | }}} | |
| 2227 | }}} | |
| r85 | 2228 | }}} |
| r113 | 2229 | ##### |
| 2230 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2231 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2232 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2233 | }}} |
| r113 | 2234 | {{{#!if this._ParOpen == -1 |
| 2235 | {{{#!if this.Match=true | |
| r77 | 2236 | }}} |
| r113 | 2237 | }}}{{{#!if this._ParOpen != -1 |
| 2238 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2239 | }}} |
| 2240 | }}} | |
| r113 | 2241 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2242 | }}} |
| r113 | 2243 | {{{#!if this._ParOpen == -1 |
| 2244 | {{{#!if this.Match=true | |
| r77 | 2245 | }}} |
| r113 | 2246 | }}}{{{#!if this._ParOpen != -1 |
| 2247 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2248 | }}} |
| 2249 | }}} | |
| r113 | 2250 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2251 | }}} |
| r113 | 2252 | {{{#!if this._ParOpen == -1 |
| 2253 | {{{#!if this.Match=true | |
| r77 | 2254 | }}} |
| r113 | 2255 | }}}{{{#!if this._ParOpen != -1 |
| 2256 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2257 | }}} |
| 2258 | }}} | |
| r113 | 2259 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2260 | }}} |
| r113 | 2261 | {{{#!if this._ParOpen == -1 |
| 2262 | {{{#!if this.Match=true | |
| r85 | 2263 | }}} |
| r113 | 2264 | }}}{{{#!if this._ParOpen != -1 |
| 2265 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2266 | }}} |
| 2267 | }}} | |
| r113 | 2268 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2269 | }}} |
| r113 | 2270 | {{{#!if this._ParOpen == -1 |
| 2271 | {{{#!if this.Match=true | |
| r85 | 2272 | }}} |
| r113 | 2273 | }}}{{{#!if this._ParOpen != -1 |
| 2274 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2275 | }}} |
| 2276 | }}} | |
| r113 | 2277 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2278 | }}} |
| r113 | 2279 | {{{#!if this._ParOpen == -1 |
| 2280 | {{{#!if this.Match=true | |
| r85 | 2281 | }}} |
| r113 | 2282 | }}}{{{#!if this._ParOpen != -1 |
| 2283 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2284 | }}} |
| 2285 | }}} | |
| r113 | 2286 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2287 | }}} |
| r113 | 2288 | {{{#!if this._ParOpen == -1 |
| 2289 | {{{#!if this.Match=true | |
| r85 | 2290 | }}} |
| r113 | 2291 | }}}{{{#!if this._ParOpen != -1 |
| 2292 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2293 | }}} |
| 2294 | }}} | |
| 2295 | }}} | |
| r113 | 2296 | ##### |
| 2297 | {{{#!if this.Match | |
| 2298 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2299 | {{{#!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 | 2300 | }}} |
| 2301 | }}} | |
| r113 | 2302 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2303 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2304 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2305 | {{{#!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) | |
| 2306 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2307 | }}} |
| 2308 | }}} | |
| 2309 | }}} | |
| r113 | 2310 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2311 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2312 | }}}{{{#!if this.Blank!=-1 | |
| 2313 | {{{#!if this.Comma != -1 | |
| 2314 | {{{#!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 | 2315 | }}} |
| 2316 | }}} | |
| r113 | 2317 | {{{#!if this.Comma == -1 |
| 2318 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2319 | }}} |
| r113 | 2320 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2321 | }}}{{{#!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 | 2322 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2323 | }}} |
| 2324 | }}} | |
| 2325 | }}} | |
| r113 | 2326 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2327 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2328 | }}}{{{#!if this.Blank==5 | |
| 2329 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2330 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2331 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2332 | }}}{{{#!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 | 2333 | }}} |
| 2334 | }}} | |
| 2335 | }}} | |
| 2336 | }}} | |
| r85 | 2337 | }}} |
| r113 | 2338 | ##### |
| 2339 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2340 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2341 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2342 | }}} |
| r113 | 2343 | {{{#!if this._ParOpen == -1 |
| 2344 | {{{#!if this.Match=true | |
| r77 | 2345 | }}} |
| r113 | 2346 | }}}{{{#!if this._ParOpen != -1 |
| 2347 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2348 | }}} |
| 2349 | }}} | |
| r113 | 2350 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2351 | }}} |
| r113 | 2352 | {{{#!if this._ParOpen == -1 |
| 2353 | {{{#!if this.Match=true | |
| r77 | 2354 | }}} |
| r113 | 2355 | }}}{{{#!if this._ParOpen != -1 |
| 2356 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2357 | }}} |
| 2358 | }}} | |
| r113 | 2359 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2360 | }}} |
| r113 | 2361 | {{{#!if this._ParOpen == -1 |
| 2362 | {{{#!if this.Match=true | |
| r77 | 2363 | }}} |
| r113 | 2364 | }}}{{{#!if this._ParOpen != -1 |
| 2365 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2366 | }}} |
| 2367 | }}} | |
| r113 | 2368 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2369 | }}} |
| r113 | 2370 | {{{#!if this._ParOpen == -1 |
| 2371 | {{{#!if this.Match=true | |
| r85 | 2372 | }}} |
| r113 | 2373 | }}}{{{#!if this._ParOpen != -1 |
| 2374 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2375 | }}} |
| 2376 | }}} | |
| r113 | 2377 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2378 | }}} |
| r113 | 2379 | {{{#!if this._ParOpen == -1 |
| 2380 | {{{#!if this.Match=true | |
| r85 | 2381 | }}} |
| r113 | 2382 | }}}{{{#!if this._ParOpen != -1 |
| 2383 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2384 | }}} |
| 2385 | }}} | |
| r113 | 2386 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2387 | }}} |
| r113 | 2388 | {{{#!if this._ParOpen == -1 |
| 2389 | {{{#!if this.Match=true | |
| r85 | 2390 | }}} |
| r113 | 2391 | }}}{{{#!if this._ParOpen != -1 |
| 2392 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2393 | }}} |
| 2394 | }}} | |
| r113 | 2395 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2396 | }}} |
| r113 | 2397 | {{{#!if this._ParOpen == -1 |
| 2398 | {{{#!if this.Match=true | |
| r85 | 2399 | }}} |
| r113 | 2400 | }}}{{{#!if this._ParOpen != -1 |
| 2401 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2402 | }}} |
| 2403 | }}} | |
| 2404 | }}} | |
| r113 | 2405 | ##### |
| 2406 | {{{#!if this.Match | |
| 2407 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2408 | {{{#!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 | 2409 | }}} |
| 2410 | }}} | |
| r113 | 2411 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2412 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2413 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2414 | {{{#!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) | |
| 2415 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2416 | }}} |
| 2417 | }}} | |
| 2418 | }}} | |
| r113 | 2419 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2420 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2421 | }}}{{{#!if this.Blank!=-1 | |
| 2422 | {{{#!if this.Comma != -1 | |
| 2423 | {{{#!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 | 2424 | }}} |
| 2425 | }}} | |
| r113 | 2426 | {{{#!if this.Comma == -1 |
| 2427 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2428 | }}} |
| r113 | 2429 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2430 | }}}{{{#!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 | 2431 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2432 | }}} |
| 2433 | }}} | |
| 2434 | }}} | |
| r113 | 2435 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2436 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2437 | }}}{{{#!if this.Blank==5 | |
| 2438 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2439 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2440 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2441 | }}}{{{#!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 | 2442 | }}} |
| 2443 | }}} | |
| 2444 | }}} | |
| 2445 | }}} | |
| r85 | 2446 | }}} |
| r113 | 2447 | ##### |
| 2448 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2449 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2450 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2451 | }}} |
| r113 | 2452 | {{{#!if this._ParOpen == -1 |
| 2453 | {{{#!if this.Match=true | |
| r77 | 2454 | }}} |
| r113 | 2455 | }}}{{{#!if this._ParOpen != -1 |
| 2456 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2457 | }}} |
| 2458 | }}} | |
| r113 | 2459 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2460 | }}} |
| r113 | 2461 | {{{#!if this._ParOpen == -1 |
| 2462 | {{{#!if this.Match=true | |
| r77 | 2463 | }}} |
| r113 | 2464 | }}}{{{#!if this._ParOpen != -1 |
| 2465 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2466 | }}} |
| 2467 | }}} | |
| r113 | 2468 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2469 | }}} |
| r113 | 2470 | {{{#!if this._ParOpen == -1 |
| 2471 | {{{#!if this.Match=true | |
| r77 | 2472 | }}} |
| r113 | 2473 | }}}{{{#!if this._ParOpen != -1 |
| 2474 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2475 | }}} |
| 2476 | }}} | |
| r113 | 2477 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2478 | }}} |
| r113 | 2479 | {{{#!if this._ParOpen == -1 |
| 2480 | {{{#!if this.Match=true | |
| r85 | 2481 | }}} |
| r113 | 2482 | }}}{{{#!if this._ParOpen != -1 |
| 2483 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2484 | }}} |
| 2485 | }}} | |
| r113 | 2486 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2487 | }}} |
| r113 | 2488 | {{{#!if this._ParOpen == -1 |
| 2489 | {{{#!if this.Match=true | |
| r85 | 2490 | }}} |
| r113 | 2491 | }}}{{{#!if this._ParOpen != -1 |
| 2492 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2493 | }}} |
| 2494 | }}} | |
| r113 | 2495 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2496 | }}} |
| r113 | 2497 | {{{#!if this._ParOpen == -1 |
| 2498 | {{{#!if this.Match=true | |
| r85 | 2499 | }}} |
| r113 | 2500 | }}}{{{#!if this._ParOpen != -1 |
| 2501 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2502 | }}} |
| 2503 | }}} | |
| r113 | 2504 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2505 | }}} |
| r113 | 2506 | {{{#!if this._ParOpen == -1 |
| 2507 | {{{#!if this.Match=true | |
| r85 | 2508 | }}} |
| r113 | 2509 | }}}{{{#!if this._ParOpen != -1 |
| 2510 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2511 | }}} |
| 2512 | }}} | |
| 2513 | }}} | |
| r113 | 2514 | ##### |
| 2515 | {{{#!if this.Match | |
| 2516 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2517 | {{{#!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 | 2518 | }}} |
| 2519 | }}} | |
| r113 | 2520 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2521 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2522 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2523 | {{{#!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) | |
| 2524 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2525 | }}} |
| 2526 | }}} | |
| 2527 | }}} | |
| r113 | 2528 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2529 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2530 | }}}{{{#!if this.Blank!=-1 | |
| 2531 | {{{#!if this.Comma != -1 | |
| 2532 | {{{#!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 | 2533 | }}} |
| 2534 | }}} | |
| r113 | 2535 | {{{#!if this.Comma == -1 |
| 2536 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2537 | }}} |
| r113 | 2538 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2539 | }}}{{{#!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 | 2540 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2541 | }}} |
| 2542 | }}} | |
| 2543 | }}} | |
| r113 | 2544 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2545 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2546 | }}}{{{#!if this.Blank==5 | |
| 2547 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2548 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2549 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2550 | }}}{{{#!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 | 2551 | }}} |
| 2552 | }}} | |
| 2553 | }}} | |
| 2554 | }}} | |
| r85 | 2555 | }}} |
| r113 | 2556 | ##### |
| 2557 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2558 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2559 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2560 | }}} |
| r113 | 2561 | {{{#!if this._ParOpen == -1 |
| 2562 | {{{#!if this.Match=true | |
| r77 | 2563 | }}} |
| r113 | 2564 | }}}{{{#!if this._ParOpen != -1 |
| 2565 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2566 | }}} |
| 2567 | }}} | |
| r113 | 2568 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2569 | }}} |
| r113 | 2570 | {{{#!if this._ParOpen == -1 |
| 2571 | {{{#!if this.Match=true | |
| r77 | 2572 | }}} |
| r113 | 2573 | }}}{{{#!if this._ParOpen != -1 |
| 2574 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2575 | }}} |
| 2576 | }}} | |
| r113 | 2577 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2578 | }}} |
| r113 | 2579 | {{{#!if this._ParOpen == -1 |
| 2580 | {{{#!if this.Match=true | |
| r77 | 2581 | }}} |
| r113 | 2582 | }}}{{{#!if this._ParOpen != -1 |
| 2583 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2584 | }}} |
| 2585 | }}} | |
| r113 | 2586 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2587 | }}} |
| r113 | 2588 | {{{#!if this._ParOpen == -1 |
| 2589 | {{{#!if this.Match=true | |
| r85 | 2590 | }}} |
| r113 | 2591 | }}}{{{#!if this._ParOpen != -1 |
| 2592 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2593 | }}} |
| 2594 | }}} | |
| r113 | 2595 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2596 | }}} |
| r113 | 2597 | {{{#!if this._ParOpen == -1 |
| 2598 | {{{#!if this.Match=true | |
| r85 | 2599 | }}} |
| r113 | 2600 | }}}{{{#!if this._ParOpen != -1 |
| 2601 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2602 | }}} |
| 2603 | }}} | |
| r113 | 2604 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2605 | }}} |
| r113 | 2606 | {{{#!if this._ParOpen == -1 |
| 2607 | {{{#!if this.Match=true | |
| r85 | 2608 | }}} |
| r113 | 2609 | }}}{{{#!if this._ParOpen != -1 |
| 2610 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2611 | }}} |
| 2612 | }}} | |
| r113 | 2613 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2614 | }}} |
| r113 | 2615 | {{{#!if this._ParOpen == -1 |
| 2616 | {{{#!if this.Match=true | |
| r85 | 2617 | }}} |
| r113 | 2618 | }}}{{{#!if this._ParOpen != -1 |
| 2619 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2620 | }}} |
| 2621 | }}} | |
| 2622 | }}} | |
| r113 | 2623 | ##### |
| 2624 | {{{#!if this.Match | |
| 2625 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2626 | {{{#!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 | 2627 | }}} |
| 2628 | }}} | |
| r113 | 2629 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2630 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2631 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2632 | {{{#!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) | |
| 2633 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2634 | }}} |
| 2635 | }}} | |
| 2636 | }}} | |
| r113 | 2637 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2638 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2639 | }}}{{{#!if this.Blank!=-1 | |
| 2640 | {{{#!if this.Comma != -1 | |
| 2641 | {{{#!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 | 2642 | }}} |
| 2643 | }}} | |
| r113 | 2644 | {{{#!if this.Comma == -1 |
| 2645 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2646 | }}} |
| r113 | 2647 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2648 | }}}{{{#!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 | 2649 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2650 | }}} |
| 2651 | }}} | |
| 2652 | }}} | |
| r113 | 2653 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2654 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2655 | }}}{{{#!if this.Blank==5 | |
| 2656 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2657 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2658 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2659 | }}}{{{#!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 | 2660 | }}} |
| 2661 | }}} | |
| 2662 | }}} | |
| 2663 | }}} | |
| r85 | 2664 | }}} |
| r113 | 2665 | ##### |
| 2666 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2667 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2668 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2669 | }}} |
| r113 | 2670 | {{{#!if this._ParOpen == -1 |
| 2671 | {{{#!if this.Match=true | |
| r77 | 2672 | }}} |
| r113 | 2673 | }}}{{{#!if this._ParOpen != -1 |
| 2674 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2675 | }}} |
| 2676 | }}} | |
| r113 | 2677 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2678 | }}} |
| r113 | 2679 | {{{#!if this._ParOpen == -1 |
| 2680 | {{{#!if this.Match=true | |
| r77 | 2681 | }}} |
| r113 | 2682 | }}}{{{#!if this._ParOpen != -1 |
| 2683 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2684 | }}} |
| 2685 | }}} | |
| r113 | 2686 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2687 | }}} |
| r113 | 2688 | {{{#!if this._ParOpen == -1 |
| 2689 | {{{#!if this.Match=true | |
| r77 | 2690 | }}} |
| r113 | 2691 | }}}{{{#!if this._ParOpen != -1 |
| 2692 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2693 | }}} |
| 2694 | }}} | |
| r113 | 2695 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2696 | }}} |
| r113 | 2697 | {{{#!if this._ParOpen == -1 |
| 2698 | {{{#!if this.Match=true | |
| r85 | 2699 | }}} |
| r113 | 2700 | }}}{{{#!if this._ParOpen != -1 |
| 2701 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2702 | }}} |
| 2703 | }}} | |
| r113 | 2704 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2705 | }}} |
| r113 | 2706 | {{{#!if this._ParOpen == -1 |
| 2707 | {{{#!if this.Match=true | |
| r85 | 2708 | }}} |
| r113 | 2709 | }}}{{{#!if this._ParOpen != -1 |
| 2710 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2711 | }}} |
| 2712 | }}} | |
| r113 | 2713 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2714 | }}} |
| r113 | 2715 | {{{#!if this._ParOpen == -1 |
| 2716 | {{{#!if this.Match=true | |
| r85 | 2717 | }}} |
| r113 | 2718 | }}}{{{#!if this._ParOpen != -1 |
| 2719 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2720 | }}} |
| 2721 | }}} | |
| r113 | 2722 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2723 | }}} |
| r113 | 2724 | {{{#!if this._ParOpen == -1 |
| 2725 | {{{#!if this.Match=true | |
| r85 | 2726 | }}} |
| r113 | 2727 | }}}{{{#!if this._ParOpen != -1 |
| 2728 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2729 | }}} |
| 2730 | }}} | |
| 2731 | }}} | |
| r113 | 2732 | ##### |
| 2733 | {{{#!if this.Match | |
| 2734 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2735 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 2736 | }}} | |
| 2737 | }}} | |
| 2738 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2739 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2740 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2741 | {{{#!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) | |
| 2742 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2743 | }}} | |
| 2744 | }}} | |
| 2745 | }}} | |
| 2746 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2747 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2748 | }}}{{{#!if this.Blank!=-1 | |
| 2749 | {{{#!if this.Comma != -1 | |
| 2750 | {{{#!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) | |
| 2751 | }}} | |
| 2752 | }}} | |
| 2753 | {{{#!if this.Comma == -1 | |
| 2754 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2755 | }}} | |
| 2756 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2757 | }}}{{{#!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) | |
| 2758 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 2759 | }}} | |
| 2760 | }}} | |
| 2761 | }}} | |
| 2762 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2763 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2764 | }}}{{{#!if this.Blank==5 | |
| 2765 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2766 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2767 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2768 | }}}{{{#!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) | |
| 2769 | }}} | |
| 2770 | }}} | |
| r92 | 2771 | }}} |
| r113 | 2772 | }}} |
| 2773 | }}} | |
| 2774 | ##### | |
| 2775 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2776 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2777 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2778 | }}} | |
| 2779 | {{{#!if this._ParOpen == -1 | |
| 2780 | {{{#!if this.Match=true | |
| r92 | 2781 | }}} |
| r113 | 2782 | }}}{{{#!if this._ParOpen != -1 |
| 2783 | {{{#!if this.ParOpen=this._ParOpen | |
| r92 | 2784 | }}} |
| 2785 | }}} | |
| r113 | 2786 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r92 | 2787 | }}} |
| r113 | 2788 | {{{#!if this._ParOpen == -1 |
| 2789 | {{{#!if this.Match=true | |
| 2790 | }}} | |
| 2791 | }}}{{{#!if this._ParOpen != -1 | |
| 2792 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2793 | }}} | |
| 2794 | }}} | |
| 2795 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2796 | }}} | |
| 2797 | {{{#!if this._ParOpen == -1 | |
| 2798 | {{{#!if this.Match=true | |
| 2799 | }}} | |
| 2800 | }}}{{{#!if this._ParOpen != -1 | |
| 2801 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2802 | }}} | |
| 2803 | }}} | |
| 2804 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2805 | }}} | |
| 2806 | {{{#!if this._ParOpen == -1 | |
| 2807 | {{{#!if this.Match=true | |
| 2808 | }}} | |
| 2809 | }}}{{{#!if this._ParOpen != -1 | |
| 2810 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2811 | }}} | |
| 2812 | }}} | |
| 2813 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2814 | }}} | |
| 2815 | {{{#!if this._ParOpen == -1 | |
| 2816 | {{{#!if this.Match=true | |
| 2817 | }}} | |
| 2818 | }}}{{{#!if this._ParOpen != -1 | |
| 2819 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2820 | }}} | |
| 2821 | }}} | |
| 2822 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2823 | }}} | |
| 2824 | {{{#!if this._ParOpen == -1 | |
| 2825 | {{{#!if this.Match=true | |
| 2826 | }}} | |
| 2827 | }}}{{{#!if this._ParOpen != -1 | |
| 2828 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2829 | }}} | |
| 2830 | }}} | |
| 2831 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2832 | }}} | |
| 2833 | {{{#!if this._ParOpen == -1 | |
| 2834 | {{{#!if this.Match=true | |
| 2835 | }}} | |
| 2836 | }}}{{{#!if this._ParOpen != -1 | |
| 2837 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2838 | }}} | |
| 2839 | }}} | |
| 2840 | }}} | |
| 2841 | ##### | |
| 2842 | {{{#!if this.Match | |
| 2843 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2844 | {{{#!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 | 2845 | }}} |
| 2846 | }}} | |
| r113 | 2847 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2848 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2849 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2850 | {{{#!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) | |
| 2851 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r92 | 2852 | }}} |
| 2853 | }}} | |
| 2854 | }}} | |
| r113 | 2855 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2856 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2857 | }}}{{{#!if this.Blank!=-1 | |
| 2858 | {{{#!if this.Comma != -1 | |
| 2859 | {{{#!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 | 2860 | }}} |
| 2861 | }}} | |
| r113 | 2862 | {{{#!if this.Comma == -1 |
| 2863 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r92 | 2864 | }}} |
| r113 | 2865 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2866 | }}}{{{#!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 | 2867 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2868 | }}} | |
| 2869 | }}} | |
| 2870 | }}} | |
| r113 | 2871 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2872 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2873 | }}}{{{#!if this.Blank==5 | |
| 2874 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2875 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2876 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2877 | }}}{{{#!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 | 2878 | }}} |
| 2879 | }}} | |
| 2880 | }}} | |
| 2881 | }}} | |
| 2882 | }}} | |
| r113 | 2883 | ##### |
| 2884 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2885 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2886 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 2887 | }}} |
| r113 | 2888 | {{{#!if this._ParOpen == -1 |
| 2889 | {{{#!if this.Match=true | |
| r109 | 2890 | }}} |
| r113 | 2891 | }}}{{{#!if this._ParOpen != -1 |
| 2892 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 2893 | }}} |
| 2894 | }}} | |
| r113 | 2895 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2896 | }}} |
| r113 | 2897 | {{{#!if this._ParOpen == -1 |
| 2898 | {{{#!if this.Match=true | |
| r109 | 2899 | }}} |
| r113 | 2900 | }}}{{{#!if this._ParOpen != -1 |
| 2901 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2902 | }}} |
| 2903 | }}} | |
| r113 | 2904 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2905 | }}} |
| r113 | 2906 | {{{#!if this._ParOpen == -1 |
| 2907 | {{{#!if this.Match=true | |
| r109 | 2908 | }}} |
| r113 | 2909 | }}}{{{#!if this._ParOpen != -1 |
| 2910 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2911 | }}} |
| 2912 | }}} | |
| r113 | 2913 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2914 | }}} |
| r113 | 2915 | {{{#!if this._ParOpen == -1 |
| 2916 | {{{#!if this.Match=true | |
| r109 | 2917 | }}} |
| r113 | 2918 | }}}{{{#!if this._ParOpen != -1 |
| 2919 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2920 | }}} |
| 2921 | }}} | |
| r113 | 2922 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2923 | }}} |
| r113 | 2924 | {{{#!if this._ParOpen == -1 |
| 2925 | {{{#!if this.Match=true | |
| r109 | 2926 | }}} |
| r113 | 2927 | }}}{{{#!if this._ParOpen != -1 |
| 2928 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2929 | }}} |
| 2930 | }}} | |
| r113 | 2931 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2932 | }}} |
| r113 | 2933 | {{{#!if this._ParOpen == -1 |
| 2934 | {{{#!if this.Match=true | |
| r109 | 2935 | }}} |
| r113 | 2936 | }}}{{{#!if this._ParOpen != -1 |
| 2937 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2938 | }}} |
| 2939 | }}} | |
| 2940 | }}} | |
| r113 | 2941 | ##### |
| 2942 | {{{#!if this.Match | |
| 2943 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2944 | {{{#!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 | 2945 | }}} |
| 2946 | }}} | |
| r113 | 2947 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2948 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2949 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2950 | {{{#!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) | |
| 2951 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 2952 | }}} |
| 2953 | }}} | |
| 2954 | }}} | |
| r113 | 2955 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2956 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2957 | }}}{{{#!if this.Blank!=-1 | |
| 2958 | {{{#!if this.Comma != -1 | |
| 2959 | {{{#!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 | 2960 | }}} |
| 2961 | }}} | |
| r113 | 2962 | {{{#!if this.Comma == -1 |
| 2963 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 2964 | }}} |
| r113 | 2965 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2966 | }}}{{{#!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 | 2967 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2968 | }}} | |
| 2969 | }}} | |
| 2970 | }}} | |
| r113 | 2971 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2972 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2973 | }}}{{{#!if this.Blank==5 | |
| 2974 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2975 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2976 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2977 | }}}{{{#!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 | 2978 | }}} |
| 2979 | }}} | |
| 2980 | }}} | |
| 2981 | }}} | |
| 2982 | }}} | |
| r113 | 2983 | ##### |
| 2984 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2985 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2986 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 2987 | }}} |
| r113 | 2988 | {{{#!if this._ParOpen == -1 |
| 2989 | {{{#!if this.Match=true | |
| r109 | 2990 | }}} |
| r113 | 2991 | }}}{{{#!if this._ParOpen != -1 |
| 2992 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 2993 | }}} |
| 2994 | }}} | |
| r113 | 2995 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2996 | }}} |
| r113 | 2997 | {{{#!if this._ParOpen == -1 |
| 2998 | {{{#!if this.Match=true | |
| r109 | 2999 | }}} |
| r113 | 3000 | }}}{{{#!if this._ParOpen != -1 |
| 3001 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3002 | }}} |
| 3003 | }}} | |
| r113 | 3004 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3005 | }}} |
| r113 | 3006 | {{{#!if this._ParOpen == -1 |
| 3007 | {{{#!if this.Match=true | |
| r109 | 3008 | }}} |
| r113 | 3009 | }}}{{{#!if this._ParOpen != -1 |
| 3010 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3011 | }}} |
| 3012 | }}} | |
| r113 | 3013 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3014 | }}} |
| r113 | 3015 | {{{#!if this._ParOpen == -1 |
| 3016 | {{{#!if this.Match=true | |
| r109 | 3017 | }}} |
| r113 | 3018 | }}}{{{#!if this._ParOpen != -1 |
| 3019 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3020 | }}} |
| 3021 | }}} | |
| r113 | 3022 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3023 | }}} |
| r113 | 3024 | {{{#!if this._ParOpen == -1 |
| 3025 | {{{#!if this.Match=true | |
| r109 | 3026 | }}} |
| r113 | 3027 | }}}{{{#!if this._ParOpen != -1 |
| 3028 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3029 | }}} |
| 3030 | }}} | |
| 3031 | }}} | |
| r113 | 3032 | ##### |
| 3033 | {{{#!if this.Match | |
| 3034 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3035 | {{{#!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 | 3036 | }}} |
| 3037 | }}} | |
| r113 | 3038 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3039 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3040 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3041 | {{{#!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) | |
| 3042 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3043 | }}} |
| 3044 | }}} | |
| 3045 | }}} | |
| r113 | 3046 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3047 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3048 | }}}{{{#!if this.Blank!=-1 | |
| 3049 | {{{#!if this.Comma != -1 | |
| 3050 | {{{#!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 | 3051 | }}} |
| 3052 | }}} | |
| r113 | 3053 | {{{#!if this.Comma == -1 |
| 3054 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3055 | }}} |
| r113 | 3056 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3057 | }}}{{{#!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 | 3058 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3059 | }}} | |
| 3060 | }}} | |
| 3061 | }}} | |
| r113 | 3062 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3063 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3064 | }}}{{{#!if this.Blank==5 | |
| 3065 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3066 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3067 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3068 | }}}{{{#!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 | 3069 | }}} |
| 3070 | }}} | |
| 3071 | }}} | |
| 3072 | }}} | |
| 3073 | }}} | |
| r113 | 3074 | ##### |
| 3075 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3076 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3077 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3078 | }}} |
| r113 | 3079 | {{{#!if this._ParOpen == -1 |
| 3080 | {{{#!if this.Match=true | |
| r109 | 3081 | }}} |
| r113 | 3082 | }}}{{{#!if this._ParOpen != -1 |
| 3083 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3084 | }}} |
| 3085 | }}} | |
| r113 | 3086 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3087 | }}} |
| r113 | 3088 | {{{#!if this._ParOpen == -1 |
| 3089 | {{{#!if this.Match=true | |
| r109 | 3090 | }}} |
| r113 | 3091 | }}}{{{#!if this._ParOpen != -1 |
| 3092 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3093 | }}} |
| 3094 | }}} | |
| r113 | 3095 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3096 | }}} |
| r113 | 3097 | {{{#!if this._ParOpen == -1 |
| 3098 | {{{#!if this.Match=true | |
| r109 | 3099 | }}} |
| r113 | 3100 | }}}{{{#!if this._ParOpen != -1 |
| 3101 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3102 | }}} |
| 3103 | }}} | |
| r113 | 3104 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3105 | }}} |
| r113 | 3106 | {{{#!if this._ParOpen == -1 |
| 3107 | {{{#!if this.Match=true | |
| r109 | 3108 | }}} |
| r113 | 3109 | }}}{{{#!if this._ParOpen != -1 |
| 3110 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3111 | }}} |
| 3112 | }}} | |
| 3113 | }}} | |
| r113 | 3114 | ##### |
| 3115 | {{{#!if this.Match | |
| 3116 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3117 | {{{#!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 | 3118 | }}} |
| 3119 | }}} | |
| r113 | 3120 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3121 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3122 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3123 | {{{#!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) | |
| 3124 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3125 | }}} |
| 3126 | }}} | |
| 3127 | }}} | |
| r113 | 3128 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3129 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3130 | }}}{{{#!if this.Blank!=-1 | |
| 3131 | {{{#!if this.Comma != -1 | |
| 3132 | {{{#!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 | 3133 | }}} |
| 3134 | }}} | |
| r113 | 3135 | {{{#!if this.Comma == -1 |
| 3136 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3137 | }}} |
| r113 | 3138 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3139 | }}}{{{#!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 | 3140 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3141 | }}} | |
| 3142 | }}} | |
| 3143 | }}} | |
| r113 | 3144 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3145 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3146 | }}}{{{#!if this.Blank==5 | |
| 3147 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3148 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3149 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3150 | }}}{{{#!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 | 3151 | }}} |
| 3152 | }}} | |
| 3153 | }}} | |
| 3154 | }}} | |
| 3155 | }}} | |
| r113 | 3156 | ##### |
| 3157 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3158 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3159 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3160 | }}} |
| r113 | 3161 | {{{#!if this._ParOpen == -1 |
| 3162 | {{{#!if this.Match=true | |
| r109 | 3163 | }}} |
| r113 | 3164 | }}}{{{#!if this._ParOpen != -1 |
| 3165 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3166 | }}} |
| 3167 | }}} | |
| r113 | 3168 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3169 | }}} |
| r113 | 3170 | {{{#!if this._ParOpen == -1 |
| 3171 | {{{#!if this.Match=true | |
| r109 | 3172 | }}} |
| r113 | 3173 | }}}{{{#!if this._ParOpen != -1 |
| 3174 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3175 | }}} |
| 3176 | }}} | |
| r113 | 3177 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3178 | }}} |
| r113 | 3179 | {{{#!if this._ParOpen == -1 |
| 3180 | {{{#!if this.Match=true | |
| r109 | 3181 | }}} |
| r113 | 3182 | }}}{{{#!if this._ParOpen != -1 |
| 3183 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3184 | }}} |
| 3185 | }}} | |
| 3186 | }}} | |
| r113 | 3187 | ##### |
| 3188 | {{{#!if this.Match | |
| 3189 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3190 | {{{#!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 | 3191 | }}} |
| 3192 | }}} | |
| r113 | 3193 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3194 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3195 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3196 | {{{#!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) | |
| 3197 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3198 | }}} |
| 3199 | }}} | |
| 3200 | }}} | |
| r113 | 3201 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3202 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3203 | }}}{{{#!if this.Blank!=-1 | |
| 3204 | {{{#!if this.Comma != -1 | |
| 3205 | {{{#!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 | 3206 | }}} |
| 3207 | }}} | |
| r113 | 3208 | {{{#!if this.Comma == -1 |
| 3209 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3210 | }}} |
| r113 | 3211 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3212 | }}}{{{#!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 | 3213 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3214 | }}} | |
| 3215 | }}} | |
| 3216 | }}} | |
| r113 | 3217 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3218 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3219 | }}}{{{#!if this.Blank==5 | |
| 3220 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3221 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3222 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3223 | }}}{{{#!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 | 3224 | }}} |
| 3225 | }}} | |
| 3226 | }}} | |
| 3227 | }}} | |
| 3228 | }}} | |
| r113 | 3229 | ##### |
| 3230 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3231 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3232 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3233 | }}} |
| r113 | 3234 | {{{#!if this._ParOpen == -1 |
| 3235 | {{{#!if this.Match=true | |
| r109 | 3236 | }}} |
| r113 | 3237 | }}}{{{#!if this._ParOpen != -1 |
| 3238 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3239 | }}} |
| 3240 | }}} | |
| r113 | 3241 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3242 | }}} |
| r113 | 3243 | {{{#!if this._ParOpen == -1 |
| 3244 | {{{#!if this.Match=true | |
| r109 | 3245 | }}} |
| r113 | 3246 | }}}{{{#!if this._ParOpen != -1 |
| 3247 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3248 | }}} |
| 3249 | }}} | |
| 3250 | }}} | |
| r113 | 3251 | ##### |
| 3252 | {{{#!if this.Match | |
| 3253 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3254 | {{{#!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 | 3255 | }}} |
| 3256 | }}} | |
| r113 | 3257 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3258 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3259 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3260 | {{{#!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) | |
| 3261 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3262 | }}} |
| 3263 | }}} | |
| 3264 | }}} | |
| r113 | 3265 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3266 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3267 | }}}{{{#!if this.Blank!=-1 | |
| 3268 | {{{#!if this.Comma != -1 | |
| 3269 | {{{#!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 | 3270 | }}} |
| 3271 | }}} | |
| r113 | 3272 | {{{#!if this.Comma == -1 |
| 3273 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3274 | }}} |
| r113 | 3275 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3276 | }}}{{{#!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 | 3277 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3278 | }}} | |
| 3279 | }}} | |
| 3280 | }}} | |
| r113 | 3281 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3282 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3283 | }}}{{{#!if this.Blank==5 | |
| 3284 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3285 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3286 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3287 | }}}{{{#!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 | 3288 | }}} |
| 3289 | }}} | |
| 3290 | }}} | |
| 3291 | }}} | |
| 3292 | }}} | |
| r113 | 3293 | ##### |
| 3294 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3295 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3296 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3297 | }}} |
| r113 | 3298 | {{{#!if this._ParOpen == -1 |
| 3299 | {{{#!if this.Match=true | |
| r109 | 3300 | }}} |
| r113 | 3301 | }}}{{{#!if this._ParOpen != -1 |
| 3302 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3303 | }}} |
| 3304 | }}} | |
| r113 | 3305 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3306 | }}} |
| r113 | 3307 | {{{#!if this._ParOpen == -1 |
| 3308 | {{{#!if this.Match=true | |
| r109 | 3309 | }}} |
| r113 | 3310 | }}}{{{#!if this._ParOpen != -1 |
| 3311 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3312 | }}} |
| 3313 | }}} | |
| 3314 | }}} | |
| r113 | 3315 | ##### |
| 3316 | {{{#!if this.Match | |
| 3317 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3318 | {{{#!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 | 3319 | }}} |
| 3320 | }}} | |
| r113 | 3321 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3322 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3323 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3324 | {{{#!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) | |
| 3325 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3326 | }}} |
| 3327 | }}} | |
| 3328 | }}} | |
| r113 | 3329 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3330 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3331 | }}}{{{#!if this.Blank!=-1 | |
| 3332 | {{{#!if this.Comma != -1 | |
| 3333 | {{{#!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 | 3334 | }}} |
| 3335 | }}} | |
| r113 | 3336 | {{{#!if this.Comma == -1 |
| 3337 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3338 | }}} |
| r113 | 3339 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3340 | }}}{{{#!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 | 3341 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3342 | }}} | |
| 3343 | }}} | |
| 3344 | }}} | |
| r113 | 3345 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3346 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3347 | }}}{{{#!if this.Blank==5 | |
| 3348 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3349 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3350 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3351 | }}}{{{#!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 | 3352 | }}} |
| 3353 | }}} | |
| 3354 | }}} | |
| 3355 | }}} | |
| 3356 | }}} | |
| r113 | 3357 | ################################################################################################################################################################################################################################################################################################################################################################################################################################################################## 다크 |
| 3358 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3359 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3360 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3361 | }}} |
| r113 | 3362 | {{{#!if this._ParOpen == -1 |
| 3363 | {{{#!if this.Match=true | |
| r95 | 3364 | }}} |
| r113 | 3365 | }}}{{{#!if this._ParOpen != -1 |
| 3366 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3367 | }}} |
| 3368 | }}} | |
| r113 | 3369 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3370 | }}} |
| r113 | 3371 | {{{#!if this._ParOpen == -1 |
| 3372 | {{{#!if this.Match=true | |
| r95 | 3373 | }}} |
| r113 | 3374 | }}}{{{#!if this._ParOpen != -1 |
| 3375 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3376 | }}} |
| 3377 | }}} | |
| r113 | 3378 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3379 | }}} |
| r113 | 3380 | {{{#!if this._ParOpen == -1 |
| 3381 | {{{#!if this.Match=true | |
| r95 | 3382 | }}} |
| r113 | 3383 | }}}{{{#!if this._ParOpen != -1 |
| 3384 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3385 | }}} |
| 3386 | }}} | |
| r113 | 3387 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3388 | }}} |
| r113 | 3389 | {{{#!if this._ParOpen == -1 |
| 3390 | {{{#!if this.Match=true | |
| r95 | 3391 | }}} |
| r113 | 3392 | }}}{{{#!if this._ParOpen != -1 |
| 3393 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3394 | }}} |
| 3395 | }}} | |
| r113 | 3396 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3397 | }}} |
| r113 | 3398 | {{{#!if this._ParOpen == -1 |
| 3399 | {{{#!if this.Match=true | |
| r95 | 3400 | }}} |
| r113 | 3401 | }}}{{{#!if this._ParOpen != -1 |
| 3402 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3403 | }}} |
| 3404 | }}} | |
| r113 | 3405 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3406 | }}} |
| r113 | 3407 | {{{#!if this._ParOpen == -1 |
| 3408 | {{{#!if this.Match=true | |
| r95 | 3409 | }}} |
| r113 | 3410 | }}}{{{#!if this._ParOpen != -1 |
| 3411 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3412 | }}} |
| 3413 | }}} | |
| r113 | 3414 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3415 | }}} |
| r113 | 3416 | {{{#!if this._ParOpen == -1 |
| 3417 | {{{#!if this.Match=true | |
| r95 | 3418 | }}} |
| r113 | 3419 | }}}{{{#!if this._ParOpen != -1 |
| 3420 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3421 | }}} |
| 3422 | }}} | |
| 3423 | }}} | |
| r113 | 3424 | ##### |
| 3425 | {{{#!if this.Match | |
| 3426 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3427 | {{{#!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 | 3428 | }}} |
| r95 | 3429 | }}} |
| r113 | 3430 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3431 | {{{#!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="') | |
| 3432 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3433 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3434 | }}} |
| r113 | 3435 | {{{#!if this.DarkStyleL==-1 |
| 3436 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r92 | 3437 | }}}}}} |
| r113 | 3438 | {{{#!if this.DarkStyleL!=-1 |
| 3439 | {{{#!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) | |
| 3440 | }}}}}} | |
| 3441 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3442 | }}} |
| 3443 | }}} | |
| r92 | 3444 | }}} |
| r113 | 3445 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3446 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3447 | }}}{{{#!if this.Blank!=-1 | |
| 3448 | {{{#!if this.Comma != -1 | |
| 3449 | {{{#!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 | 3450 | }}} |
| 3451 | }}} | |
| r113 | 3452 | {{{#!if this.Comma == -1 |
| 3453 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3454 | }}} |
| r113 | 3455 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3456 | }}}{{{#!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 | 3457 | }}} |
| 3458 | }}} | |
| 3459 | }}} | |
| r113 | 3460 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3461 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3462 | }}}{{{#!if this.Blank==5 | |
| 3463 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3464 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3465 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3466 | }}}{{{#!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 | 3467 | }}} |
| 3468 | }}} | |
| r92 | 3469 | }}} |
| 3470 | }}} | |
| 3471 | }}} | |
| r113 | 3472 | ##### |
| 3473 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3474 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3475 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3476 | }}} |
| r113 | 3477 | {{{#!if this._ParOpen == -1 |
| 3478 | {{{#!if this.Match=true | |
| r95 | 3479 | }}} |
| r113 | 3480 | }}}{{{#!if this._ParOpen != -1 |
| 3481 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3482 | }}} |
| 3483 | }}} | |
| r113 | 3484 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3485 | }}} |
| r113 | 3486 | {{{#!if this._ParOpen == -1 |
| 3487 | {{{#!if this.Match=true | |
| r95 | 3488 | }}} |
| r113 | 3489 | }}}{{{#!if this._ParOpen != -1 |
| 3490 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3491 | }}} |
| 3492 | }}} | |
| r113 | 3493 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3494 | }}} |
| r113 | 3495 | {{{#!if this._ParOpen == -1 |
| 3496 | {{{#!if this.Match=true | |
| r95 | 3497 | }}} |
| r113 | 3498 | }}}{{{#!if this._ParOpen != -1 |
| 3499 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3500 | }}} |
| 3501 | }}} | |
| r113 | 3502 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3503 | }}} |
| r113 | 3504 | {{{#!if this._ParOpen == -1 |
| 3505 | {{{#!if this.Match=true | |
| r95 | 3506 | }}} |
| r113 | 3507 | }}}{{{#!if this._ParOpen != -1 |
| 3508 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3509 | }}} |
| 3510 | }}} | |
| r113 | 3511 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3512 | }}} |
| r113 | 3513 | {{{#!if this._ParOpen == -1 |
| 3514 | {{{#!if this.Match=true | |
| r95 | 3515 | }}} |
| r113 | 3516 | }}}{{{#!if this._ParOpen != -1 |
| 3517 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3518 | }}} |
| 3519 | }}} | |
| r113 | 3520 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3521 | }}} |
| r113 | 3522 | {{{#!if this._ParOpen == -1 |
| 3523 | {{{#!if this.Match=true | |
| r95 | 3524 | }}} |
| r113 | 3525 | }}}{{{#!if this._ParOpen != -1 |
| 3526 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3527 | }}} |
| 3528 | }}} | |
| r113 | 3529 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3530 | }}} |
| r113 | 3531 | {{{#!if this._ParOpen == -1 |
| 3532 | {{{#!if this.Match=true | |
| r95 | 3533 | }}} |
| r113 | 3534 | }}}{{{#!if this._ParOpen != -1 |
| 3535 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3536 | }}} |
| 3537 | }}} | |
| 3538 | }}} | |
| r113 | 3539 | ##### |
| 3540 | {{{#!if this.Match | |
| 3541 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3542 | {{{#!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 | 3543 | }}} |
| 3544 | }}} | |
| r113 | 3545 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3546 | {{{#!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="') | |
| 3547 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3548 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3549 | }}} |
| r113 | 3550 | {{{#!if this.DarkStyleL==-1 |
| 3551 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3552 | }}}}}} |
| r113 | 3553 | {{{#!if this.DarkStyleL!=-1 |
| 3554 | {{{#!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) | |
| 3555 | }}}}}} | |
| 3556 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3557 | }}} |
| 3558 | }}} | |
| 3559 | }}} | |
| r113 | 3560 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3561 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3562 | }}}{{{#!if this.Blank!=-1 | |
| 3563 | {{{#!if this.Comma != -1 | |
| 3564 | {{{#!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 | 3565 | }}} |
| 3566 | }}} | |
| r113 | 3567 | {{{#!if this.Comma == -1 |
| 3568 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3569 | }}} |
| r113 | 3570 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3571 | }}}{{{#!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 | 3572 | }}} |
| 3573 | }}} | |
| 3574 | }}} | |
| r113 | 3575 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3576 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3577 | }}}{{{#!if this.Blank==5 | |
| 3578 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3579 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3580 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3581 | }}}{{{#!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 | 3582 | }}} |
| 3583 | }}} | |
| 3584 | }}} | |
| 3585 | }}} | |
| 3586 | }}} | |
| r113 | 3587 | ##### |
| 3588 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3589 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3590 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3591 | }}} |
| r113 | 3592 | {{{#!if this._ParOpen == -1 |
| 3593 | {{{#!if this.Match=true | |
| r95 | 3594 | }}} |
| r113 | 3595 | }}}{{{#!if this._ParOpen != -1 |
| 3596 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3597 | }}} |
| 3598 | }}} | |
| r113 | 3599 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3600 | }}} |
| r113 | 3601 | {{{#!if this._ParOpen == -1 |
| 3602 | {{{#!if this.Match=true | |
| r95 | 3603 | }}} |
| r113 | 3604 | }}}{{{#!if this._ParOpen != -1 |
| 3605 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3606 | }}} |
| 3607 | }}} | |
| r113 | 3608 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3609 | }}} |
| r113 | 3610 | {{{#!if this._ParOpen == -1 |
| 3611 | {{{#!if this.Match=true | |
| r95 | 3612 | }}} |
| r113 | 3613 | }}}{{{#!if this._ParOpen != -1 |
| 3614 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3615 | }}} |
| 3616 | }}} | |
| r113 | 3617 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3618 | }}} |
| r113 | 3619 | {{{#!if this._ParOpen == -1 |
| 3620 | {{{#!if this.Match=true | |
| r95 | 3621 | }}} |
| r113 | 3622 | }}}{{{#!if this._ParOpen != -1 |
| 3623 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3624 | }}} |
| 3625 | }}} | |
| r113 | 3626 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3627 | }}} |
| r113 | 3628 | {{{#!if this._ParOpen == -1 |
| 3629 | {{{#!if this.Match=true | |
| r95 | 3630 | }}} |
| r113 | 3631 | }}}{{{#!if this._ParOpen != -1 |
| 3632 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3633 | }}} |
| 3634 | }}} | |
| r113 | 3635 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3636 | }}} |
| r113 | 3637 | {{{#!if this._ParOpen == -1 |
| 3638 | {{{#!if this.Match=true | |
| r95 | 3639 | }}} |
| r113 | 3640 | }}}{{{#!if this._ParOpen != -1 |
| 3641 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3642 | }}} |
| 3643 | }}} | |
| r113 | 3644 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3645 | }}} |
| r113 | 3646 | {{{#!if this._ParOpen == -1 |
| 3647 | {{{#!if this.Match=true | |
| r95 | 3648 | }}} |
| r113 | 3649 | }}}{{{#!if this._ParOpen != -1 |
| 3650 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3651 | }}} |
| 3652 | }}} | |
| 3653 | }}} | |
| r113 | 3654 | ##### |
| 3655 | {{{#!if this.Match | |
| 3656 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3657 | {{{#!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 | 3658 | }}} |
| 3659 | }}} | |
| r113 | 3660 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3661 | {{{#!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="') | |
| 3662 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3663 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3664 | }}} |
| r113 | 3665 | {{{#!if this.DarkStyleL==-1 |
| 3666 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3667 | }}}}}} |
| r113 | 3668 | {{{#!if this.DarkStyleL!=-1 |
| 3669 | {{{#!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) | |
| 3670 | }}}}}} | |
| 3671 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3672 | }}} |
| 3673 | }}} | |
| 3674 | }}} | |
| r113 | 3675 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3676 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3677 | }}}{{{#!if this.Blank!=-1 | |
| 3678 | {{{#!if this.Comma != -1 | |
| 3679 | {{{#!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 | 3680 | }}} |
| 3681 | }}} | |
| r113 | 3682 | {{{#!if this.Comma == -1 |
| 3683 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3684 | }}} |
| r113 | 3685 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3686 | }}}{{{#!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 | 3687 | }}} |
| 3688 | }}} | |
| 3689 | }}} | |
| r113 | 3690 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3691 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3692 | }}}{{{#!if this.Blank==5 | |
| 3693 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3694 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3695 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3696 | }}}{{{#!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 | 3697 | }}} |
| 3698 | }}} | |
| 3699 | }}} | |
| 3700 | }}} | |
| 3701 | }}} | |
| r113 | 3702 | ##### |
| 3703 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3704 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3705 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3706 | }}} |
| r113 | 3707 | {{{#!if this._ParOpen == -1 |
| 3708 | {{{#!if this.Match=true | |
| r95 | 3709 | }}} |
| r113 | 3710 | }}}{{{#!if this._ParOpen != -1 |
| 3711 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3712 | }}} |
| 3713 | }}} | |
| r113 | 3714 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3715 | }}} |
| r113 | 3716 | {{{#!if this._ParOpen == -1 |
| 3717 | {{{#!if this.Match=true | |
| r95 | 3718 | }}} |
| r113 | 3719 | }}}{{{#!if this._ParOpen != -1 |
| 3720 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3721 | }}} |
| 3722 | }}} | |
| r113 | 3723 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3724 | }}} |
| r113 | 3725 | {{{#!if this._ParOpen == -1 |
| 3726 | {{{#!if this.Match=true | |
| r95 | 3727 | }}} |
| r113 | 3728 | }}}{{{#!if this._ParOpen != -1 |
| 3729 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3730 | }}} |
| 3731 | }}} | |
| r113 | 3732 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3733 | }}} |
| r113 | 3734 | {{{#!if this._ParOpen == -1 |
| 3735 | {{{#!if this.Match=true | |
| r95 | 3736 | }}} |
| r113 | 3737 | }}}{{{#!if this._ParOpen != -1 |
| 3738 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3739 | }}} |
| 3740 | }}} | |
| r113 | 3741 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3742 | }}} |
| r113 | 3743 | {{{#!if this._ParOpen == -1 |
| 3744 | {{{#!if this.Match=true | |
| r95 | 3745 | }}} |
| r113 | 3746 | }}}{{{#!if this._ParOpen != -1 |
| 3747 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3748 | }}} |
| 3749 | }}} | |
| r113 | 3750 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3751 | }}} |
| r113 | 3752 | {{{#!if this._ParOpen == -1 |
| 3753 | {{{#!if this.Match=true | |
| r95 | 3754 | }}} |
| r113 | 3755 | }}}{{{#!if this._ParOpen != -1 |
| 3756 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3757 | }}} |
| 3758 | }}} | |
| r113 | 3759 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3760 | }}} |
| r113 | 3761 | {{{#!if this._ParOpen == -1 |
| 3762 | {{{#!if this.Match=true | |
| r95 | 3763 | }}} |
| r113 | 3764 | }}}{{{#!if this._ParOpen != -1 |
| 3765 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3766 | }}} |
| 3767 | }}} | |
| 3768 | }}} | |
| r113 | 3769 | ##### |
| 3770 | {{{#!if this.Match | |
| 3771 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3772 | {{{#!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 | 3773 | }}} |
| 3774 | }}} | |
| r113 | 3775 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3776 | {{{#!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="') | |
| 3777 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3778 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3779 | }}} |
| r113 | 3780 | {{{#!if this.DarkStyleL==-1 |
| 3781 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3782 | }}}}}} |
| r113 | 3783 | {{{#!if this.DarkStyleL!=-1 |
| 3784 | {{{#!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) | |
| 3785 | }}}}}} | |
| 3786 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3787 | }}} |
| 3788 | }}} | |
| 3789 | }}} | |
| r113 | 3790 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3791 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3792 | }}}{{{#!if this.Blank!=-1 | |
| 3793 | {{{#!if this.Comma != -1 | |
| 3794 | {{{#!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 | 3795 | }}} |
| 3796 | }}} | |
| r113 | 3797 | {{{#!if this.Comma == -1 |
| 3798 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3799 | }}} |
| r113 | 3800 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3801 | }}}{{{#!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 | 3802 | }}} |
| 3803 | }}} | |
| 3804 | }}} | |
| r113 | 3805 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3806 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3807 | }}}{{{#!if this.Blank==5 | |
| 3808 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3809 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3810 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3811 | }}}{{{#!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 | 3812 | }}} |
| 3813 | }}} | |
| 3814 | }}} | |
| 3815 | }}} | |
| 3816 | }}} | |
| r113 | 3817 | ##### |
| 3818 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3819 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3820 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3821 | }}} |
| r113 | 3822 | {{{#!if this._ParOpen == -1 |
| 3823 | {{{#!if this.Match=true | |
| r95 | 3824 | }}} |
| r113 | 3825 | }}}{{{#!if this._ParOpen != -1 |
| 3826 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3827 | }}} |
| 3828 | }}} | |
| r113 | 3829 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3830 | }}} |
| r113 | 3831 | {{{#!if this._ParOpen == -1 |
| 3832 | {{{#!if this.Match=true | |
| r95 | 3833 | }}} |
| r113 | 3834 | }}}{{{#!if this._ParOpen != -1 |
| 3835 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3836 | }}} |
| 3837 | }}} | |
| r113 | 3838 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3839 | }}} |
| r113 | 3840 | {{{#!if this._ParOpen == -1 |
| 3841 | {{{#!if this.Match=true | |
| r95 | 3842 | }}} |
| r113 | 3843 | }}}{{{#!if this._ParOpen != -1 |
| 3844 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3845 | }}} |
| 3846 | }}} | |
| r113 | 3847 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3848 | }}} |
| r113 | 3849 | {{{#!if this._ParOpen == -1 |
| 3850 | {{{#!if this.Match=true | |
| r95 | 3851 | }}} |
| r113 | 3852 | }}}{{{#!if this._ParOpen != -1 |
| 3853 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3854 | }}} |
| 3855 | }}} | |
| r113 | 3856 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3857 | }}} |
| r113 | 3858 | {{{#!if this._ParOpen == -1 |
| 3859 | {{{#!if this.Match=true | |
| r95 | 3860 | }}} |
| r113 | 3861 | }}}{{{#!if this._ParOpen != -1 |
| 3862 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3863 | }}} |
| 3864 | }}} | |
| r113 | 3865 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3866 | }}} |
| r113 | 3867 | {{{#!if this._ParOpen == -1 |
| 3868 | {{{#!if this.Match=true | |
| r95 | 3869 | }}} |
| r113 | 3870 | }}}{{{#!if this._ParOpen != -1 |
| 3871 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3872 | }}} |
| 3873 | }}} | |
| r113 | 3874 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3875 | }}} |
| r113 | 3876 | {{{#!if this._ParOpen == -1 |
| 3877 | {{{#!if this.Match=true | |
| r95 | 3878 | }}} |
| r113 | 3879 | }}}{{{#!if this._ParOpen != -1 |
| 3880 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3881 | }}} |
| 3882 | }}} | |
| 3883 | }}} | |
| r113 | 3884 | ##### |
| 3885 | {{{#!if this.Match | |
| 3886 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3887 | {{{#!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 | 3888 | }}} |
| 3889 | }}} | |
| r113 | 3890 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3891 | {{{#!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="') | |
| 3892 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3893 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3894 | }}} |
| r113 | 3895 | {{{#!if this.DarkStyleL==-1 |
| 3896 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3897 | }}}}}} |
| r113 | 3898 | {{{#!if this.DarkStyleL!=-1 |
| 3899 | {{{#!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) | |
| 3900 | }}}}}} | |
| 3901 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3902 | }}} |
| 3903 | }}} | |
| 3904 | }}} | |
| r113 | 3905 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3906 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3907 | }}}{{{#!if this.Blank!=-1 | |
| 3908 | {{{#!if this.Comma != -1 | |
| 3909 | {{{#!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 | 3910 | }}} |
| 3911 | }}} | |
| r113 | 3912 | {{{#!if this.Comma == -1 |
| 3913 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3914 | }}} |
| r113 | 3915 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3916 | }}}{{{#!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 | 3917 | }}} |
| 3918 | }}} | |
| 3919 | }}} | |
| r113 | 3920 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3921 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3922 | }}}{{{#!if this.Blank==5 | |
| 3923 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3924 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3925 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3926 | }}}{{{#!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 | 3927 | }}} |
| 3928 | }}} | |
| 3929 | }}} | |
| 3930 | }}} | |
| 3931 | }}} | |
| r113 | 3932 | ##### |
| 3933 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3934 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3935 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3936 | }}} |
| r113 | 3937 | {{{#!if this._ParOpen == -1 |
| 3938 | {{{#!if this.Match=true | |
| r95 | 3939 | }}} |
| r113 | 3940 | }}}{{{#!if this._ParOpen != -1 |
| 3941 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3942 | }}} |
| 3943 | }}} | |
| r113 | 3944 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3945 | }}} |
| r113 | 3946 | {{{#!if this._ParOpen == -1 |
| 3947 | {{{#!if this.Match=true | |
| r95 | 3948 | }}} |
| r113 | 3949 | }}}{{{#!if this._ParOpen != -1 |
| 3950 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3951 | }}} |
| 3952 | }}} | |
| r113 | 3953 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3954 | }}} |
| r113 | 3955 | {{{#!if this._ParOpen == -1 |
| 3956 | {{{#!if this.Match=true | |
| r95 | 3957 | }}} |
| r113 | 3958 | }}}{{{#!if this._ParOpen != -1 |
| 3959 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3960 | }}} |
| 3961 | }}} | |
| r113 | 3962 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3963 | }}} |
| r113 | 3964 | {{{#!if this._ParOpen == -1 |
| 3965 | {{{#!if this.Match=true | |
| r95 | 3966 | }}} |
| r113 | 3967 | }}}{{{#!if this._ParOpen != -1 |
| 3968 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3969 | }}} |
| 3970 | }}} | |
| r113 | 3971 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3972 | }}} |
| r113 | 3973 | {{{#!if this._ParOpen == -1 |
| 3974 | {{{#!if this.Match=true | |
| r95 | 3975 | }}} |
| r113 | 3976 | }}}{{{#!if this._ParOpen != -1 |
| 3977 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3978 | }}} |
| 3979 | }}} | |
| r113 | 3980 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3981 | }}} |
| r113 | 3982 | {{{#!if this._ParOpen == -1 |
| 3983 | {{{#!if this.Match=true | |
| r95 | 3984 | }}} |
| r113 | 3985 | }}}{{{#!if this._ParOpen != -1 |
| 3986 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3987 | }}} |
| 3988 | }}} | |
| r113 | 3989 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3990 | }}} |
| r113 | 3991 | {{{#!if this._ParOpen == -1 |
| 3992 | {{{#!if this.Match=true | |
| r95 | 3993 | }}} |
| r113 | 3994 | }}}{{{#!if this._ParOpen != -1 |
| 3995 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3996 | }}} |
| 3997 | }}} | |
| 3998 | }}} | |
| r113 | 3999 | ##### |
| 4000 | {{{#!if this.Match | |
| 4001 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4002 | {{{#!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 | 4003 | }}} |
| 4004 | }}} | |
| r113 | 4005 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4006 | {{{#!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="') | |
| 4007 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4008 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4009 | }}} |
| r113 | 4010 | {{{#!if this.DarkStyleL==-1 |
| 4011 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4012 | }}}}}} |
| r113 | 4013 | {{{#!if this.DarkStyleL!=-1 |
| 4014 | {{{#!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) | |
| 4015 | }}}}}} | |
| 4016 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4017 | }}} |
| 4018 | }}} | |
| 4019 | }}} | |
| r113 | 4020 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4021 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4022 | }}}{{{#!if this.Blank!=-1 | |
| 4023 | {{{#!if this.Comma != -1 | |
| 4024 | {{{#!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 | 4025 | }}} |
| 4026 | }}} | |
| r113 | 4027 | {{{#!if this.Comma == -1 |
| 4028 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4029 | }}} |
| r113 | 4030 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4031 | }}}{{{#!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 | 4032 | }}} |
| 4033 | }}} | |
| 4034 | }}} | |
| r113 | 4035 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4036 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4037 | }}}{{{#!if this.Blank==5 | |
| 4038 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4039 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4040 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4041 | }}}{{{#!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 | 4042 | }}} |
| 4043 | }}} | |
| 4044 | }}} | |
| 4045 | }}} | |
| 4046 | }}} | |
| r113 | 4047 | ##### |
| 4048 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4049 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4050 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4051 | }}} |
| r113 | 4052 | {{{#!if this._ParOpen == -1 |
| 4053 | {{{#!if this.Match=true | |
| r95 | 4054 | }}} |
| r113 | 4055 | }}}{{{#!if this._ParOpen != -1 |
| 4056 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4057 | }}} |
| 4058 | }}} | |
| r113 | 4059 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4060 | }}} |
| r113 | 4061 | {{{#!if this._ParOpen == -1 |
| 4062 | {{{#!if this.Match=true | |
| r95 | 4063 | }}} |
| r113 | 4064 | }}}{{{#!if this._ParOpen != -1 |
| 4065 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4066 | }}} |
| 4067 | }}} | |
| r113 | 4068 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4069 | }}} |
| r113 | 4070 | {{{#!if this._ParOpen == -1 |
| 4071 | {{{#!if this.Match=true | |
| r95 | 4072 | }}} |
| r113 | 4073 | }}}{{{#!if this._ParOpen != -1 |
| 4074 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4075 | }}} |
| 4076 | }}} | |
| r113 | 4077 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4078 | }}} |
| r113 | 4079 | {{{#!if this._ParOpen == -1 |
| 4080 | {{{#!if this.Match=true | |
| r95 | 4081 | }}} |
| r113 | 4082 | }}}{{{#!if this._ParOpen != -1 |
| 4083 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4084 | }}} |
| 4085 | }}} | |
| r113 | 4086 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4087 | }}} |
| r113 | 4088 | {{{#!if this._ParOpen == -1 |
| 4089 | {{{#!if this.Match=true | |
| r95 | 4090 | }}} |
| r113 | 4091 | }}}{{{#!if this._ParOpen != -1 |
| 4092 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4093 | }}} |
| 4094 | }}} | |
| r113 | 4095 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4096 | }}} |
| r113 | 4097 | {{{#!if this._ParOpen == -1 |
| 4098 | {{{#!if this.Match=true | |
| r95 | 4099 | }}} |
| r113 | 4100 | }}}{{{#!if this._ParOpen != -1 |
| 4101 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4102 | }}} |
| 4103 | }}} | |
| r113 | 4104 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4105 | }}} |
| r113 | 4106 | {{{#!if this._ParOpen == -1 |
| 4107 | {{{#!if this.Match=true | |
| r95 | 4108 | }}} |
| r113 | 4109 | }}}{{{#!if this._ParOpen != -1 |
| 4110 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4111 | }}} |
| 4112 | }}} | |
| 4113 | }}} | |
| r113 | 4114 | ##### |
| 4115 | {{{#!if this.Match | |
| 4116 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4117 | {{{#!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 | 4118 | }}} |
| 4119 | }}} | |
| r113 | 4120 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4121 | {{{#!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="') | |
| 4122 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4123 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4124 | }}} |
| r113 | 4125 | {{{#!if this.DarkStyleL==-1 |
| 4126 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4127 | }}}}}} |
| r113 | 4128 | {{{#!if this.DarkStyleL!=-1 |
| 4129 | {{{#!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) | |
| 4130 | }}}}}} | |
| 4131 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4132 | }}} |
| 4133 | }}} | |
| 4134 | }}} | |
| r113 | 4135 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4136 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4137 | }}}{{{#!if this.Blank!=-1 | |
| 4138 | {{{#!if this.Comma != -1 | |
| 4139 | {{{#!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 | 4140 | }}} |
| 4141 | }}} | |
| r113 | 4142 | {{{#!if this.Comma == -1 |
| 4143 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4144 | }}} |
| r113 | 4145 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4146 | }}}{{{#!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 | 4147 | }}} |
| 4148 | }}} | |
| 4149 | }}} | |
| r113 | 4150 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4151 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4152 | }}}{{{#!if this.Blank==5 | |
| 4153 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4154 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4155 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4156 | }}}{{{#!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 | 4157 | }}} |
| 4158 | }}} | |
| 4159 | }}} | |
| 4160 | }}} | |
| 4161 | }}} | |
| r113 | 4162 | ##### |
| 4163 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4164 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4165 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4166 | }}} |
| r113 | 4167 | {{{#!if this._ParOpen == -1 |
| 4168 | {{{#!if this.Match=true | |
| r95 | 4169 | }}} |
| r113 | 4170 | }}}{{{#!if this._ParOpen != -1 |
| 4171 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4172 | }}} |
| 4173 | }}} | |
| r113 | 4174 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4175 | }}} |
| r113 | 4176 | {{{#!if this._ParOpen == -1 |
| 4177 | {{{#!if this.Match=true | |
| r95 | 4178 | }}} |
| r113 | 4179 | }}}{{{#!if this._ParOpen != -1 |
| 4180 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4181 | }}} |
| 4182 | }}} | |
| r113 | 4183 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4184 | }}} |
| r113 | 4185 | {{{#!if this._ParOpen == -1 |
| 4186 | {{{#!if this.Match=true | |
| r95 | 4187 | }}} |
| r113 | 4188 | }}}{{{#!if this._ParOpen != -1 |
| 4189 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4190 | }}} |
| 4191 | }}} | |
| r113 | 4192 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4193 | }}} |
| r113 | 4194 | {{{#!if this._ParOpen == -1 |
| 4195 | {{{#!if this.Match=true | |
| r95 | 4196 | }}} |
| r113 | 4197 | }}}{{{#!if this._ParOpen != -1 |
| 4198 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4199 | }}} |
| 4200 | }}} | |
| r113 | 4201 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4202 | }}} |
| r113 | 4203 | {{{#!if this._ParOpen == -1 |
| 4204 | {{{#!if this.Match=true | |
| r95 | 4205 | }}} |
| r113 | 4206 | }}}{{{#!if this._ParOpen != -1 |
| 4207 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4208 | }}} |
| 4209 | }}} | |
| r113 | 4210 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4211 | }}} |
| r113 | 4212 | {{{#!if this._ParOpen == -1 |
| 4213 | {{{#!if this.Match=true | |
| r95 | 4214 | }}} |
| r113 | 4215 | }}}{{{#!if this._ParOpen != -1 |
| 4216 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4217 | }}} |
| 4218 | }}} | |
| r113 | 4219 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4220 | }}} |
| r113 | 4221 | {{{#!if this._ParOpen == -1 |
| 4222 | {{{#!if this.Match=true | |
| r95 | 4223 | }}} |
| r113 | 4224 | }}}{{{#!if this._ParOpen != -1 |
| 4225 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4226 | }}} |
| 4227 | }}} | |
| 4228 | }}} | |
| r113 | 4229 | ##### |
| 4230 | {{{#!if this.Match | |
| 4231 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4232 | {{{#!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 | 4233 | }}} |
| 4234 | }}} | |
| r113 | 4235 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4236 | {{{#!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="') | |
| 4237 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4238 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4239 | }}} |
| r113 | 4240 | {{{#!if this.DarkStyleL==-1 |
| 4241 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4242 | }}}}}} |
| r113 | 4243 | {{{#!if this.DarkStyleL!=-1 |
| 4244 | {{{#!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) | |
| 4245 | }}}}}} | |
| 4246 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4247 | }}} |
| 4248 | }}} | |
| 4249 | }}} | |
| r113 | 4250 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4251 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4252 | }}}{{{#!if this.Blank!=-1 | |
| 4253 | {{{#!if this.Comma != -1 | |
| 4254 | {{{#!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 | 4255 | }}} |
| 4256 | }}} | |
| r113 | 4257 | {{{#!if this.Comma == -1 |
| 4258 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4259 | }}} |
| r113 | 4260 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4261 | }}}{{{#!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 | 4262 | }}} |
| 4263 | }}} | |
| 4264 | }}} | |
| r113 | 4265 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4266 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4267 | }}}{{{#!if this.Blank==5 | |
| 4268 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4269 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4270 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4271 | }}}{{{#!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 | 4272 | }}} |
| 4273 | }}} | |
| 4274 | }}} | |
| 4275 | }}} | |
| 4276 | }}} | |
| r113 | 4277 | ##### |
| 4278 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4279 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4280 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4281 | }}} |
| r113 | 4282 | {{{#!if this._ParOpen == -1 |
| 4283 | {{{#!if this.Match=true | |
| r95 | 4284 | }}} |
| r113 | 4285 | }}}{{{#!if this._ParOpen != -1 |
| 4286 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4287 | }}} |
| 4288 | }}} | |
| r113 | 4289 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4290 | }}} |
| r113 | 4291 | {{{#!if this._ParOpen == -1 |
| 4292 | {{{#!if this.Match=true | |
| r95 | 4293 | }}} |
| r113 | 4294 | }}}{{{#!if this._ParOpen != -1 |
| 4295 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4296 | }}} |
| 4297 | }}} | |
| r113 | 4298 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4299 | }}} |
| r113 | 4300 | {{{#!if this._ParOpen == -1 |
| 4301 | {{{#!if this.Match=true | |
| r95 | 4302 | }}} |
| r113 | 4303 | }}}{{{#!if this._ParOpen != -1 |
| 4304 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4305 | }}} |
| 4306 | }}} | |
| r113 | 4307 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4308 | }}} |
| r113 | 4309 | {{{#!if this._ParOpen == -1 |
| 4310 | {{{#!if this.Match=true | |
| r95 | 4311 | }}} |
| r113 | 4312 | }}}{{{#!if this._ParOpen != -1 |
| 4313 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4314 | }}} |
| 4315 | }}} | |
| r113 | 4316 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4317 | }}} |
| r113 | 4318 | {{{#!if this._ParOpen == -1 |
| 4319 | {{{#!if this.Match=true | |
| r95 | 4320 | }}} |
| r113 | 4321 | }}}{{{#!if this._ParOpen != -1 |
| 4322 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4323 | }}} |
| 4324 | }}} | |
| r113 | 4325 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4326 | }}} |
| r113 | 4327 | {{{#!if this._ParOpen == -1 |
| 4328 | {{{#!if this.Match=true | |
| r95 | 4329 | }}} |
| r113 | 4330 | }}}{{{#!if this._ParOpen != -1 |
| 4331 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4332 | }}} |
| 4333 | }}} | |
| r113 | 4334 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4335 | }}} |
| r113 | 4336 | {{{#!if this._ParOpen == -1 |
| 4337 | {{{#!if this.Match=true | |
| r95 | 4338 | }}} |
| r113 | 4339 | }}}{{{#!if this._ParOpen != -1 |
| 4340 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4341 | }}} |
| 4342 | }}} | |
| 4343 | }}} | |
| r113 | 4344 | ##### |
| 4345 | {{{#!if this.Match | |
| 4346 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4347 | {{{#!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 | 4348 | }}} |
| 4349 | }}} | |
| r113 | 4350 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4351 | {{{#!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="') | |
| 4352 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4353 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4354 | }}} |
| r113 | 4355 | {{{#!if this.DarkStyleL==-1 |
| 4356 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4357 | }}}}}} |
| r113 | 4358 | {{{#!if this.DarkStyleL!=-1 |
| 4359 | {{{#!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) | |
| 4360 | }}}}}} | |
| 4361 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4362 | }}} |
| 4363 | }}} | |
| 4364 | }}} | |
| r113 | 4365 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4366 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4367 | }}}{{{#!if this.Blank!=-1 | |
| 4368 | {{{#!if this.Comma != -1 | |
| 4369 | {{{#!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 | 4370 | }}} |
| 4371 | }}} | |
| r113 | 4372 | {{{#!if this.Comma == -1 |
| 4373 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4374 | }}} |
| r113 | 4375 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4376 | }}}{{{#!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 | 4377 | }}} |
| 4378 | }}} | |
| 4379 | }}} | |
| r113 | 4380 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4381 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4382 | }}}{{{#!if this.Blank==5 | |
| 4383 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4384 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4385 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4386 | }}}{{{#!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 | 4387 | }}} |
| 4388 | }}} | |
| 4389 | }}} | |
| 4390 | }}} | |
| 4391 | }}} | |
| r113 | 4392 | ##### |
| 4393 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4394 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4395 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4396 | }}} |
| r113 | 4397 | {{{#!if this._ParOpen == -1 |
| 4398 | {{{#!if this.Match=true | |
| r95 | 4399 | }}} |
| r113 | 4400 | }}}{{{#!if this._ParOpen != -1 |
| 4401 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4402 | }}} |
| 4403 | }}} | |
| r113 | 4404 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4405 | }}} |
| r113 | 4406 | {{{#!if this._ParOpen == -1 |
| 4407 | {{{#!if this.Match=true | |
| r95 | 4408 | }}} |
| r113 | 4409 | }}}{{{#!if this._ParOpen != -1 |
| 4410 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4411 | }}} |
| 4412 | }}} | |
| r113 | 4413 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4414 | }}} |
| r113 | 4415 | {{{#!if this._ParOpen == -1 |
| 4416 | {{{#!if this.Match=true | |
| r95 | 4417 | }}} |
| r113 | 4418 | }}}{{{#!if this._ParOpen != -1 |
| 4419 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4420 | }}} |
| 4421 | }}} | |
| r113 | 4422 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4423 | }}} |
| r113 | 4424 | {{{#!if this._ParOpen == -1 |
| 4425 | {{{#!if this.Match=true | |
| r95 | 4426 | }}} |
| r113 | 4427 | }}}{{{#!if this._ParOpen != -1 |
| 4428 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4429 | }}} |
| 4430 | }}} | |
| r113 | 4431 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4432 | }}} |
| r113 | 4433 | {{{#!if this._ParOpen == -1 |
| 4434 | {{{#!if this.Match=true | |
| r95 | 4435 | }}} |
| r113 | 4436 | }}}{{{#!if this._ParOpen != -1 |
| 4437 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4438 | }}} |
| 4439 | }}} | |
| r113 | 4440 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4441 | }}} |
| r113 | 4442 | {{{#!if this._ParOpen == -1 |
| 4443 | {{{#!if this.Match=true | |
| r95 | 4444 | }}} |
| r113 | 4445 | }}}{{{#!if this._ParOpen != -1 |
| 4446 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4447 | }}} |
| 4448 | }}} | |
| r113 | 4449 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4450 | }}} |
| r113 | 4451 | {{{#!if this._ParOpen == -1 |
| 4452 | {{{#!if this.Match=true | |
| r95 | 4453 | }}} |
| r113 | 4454 | }}}{{{#!if this._ParOpen != -1 |
| 4455 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4456 | }}} |
| 4457 | }}} | |
| 4458 | }}} | |
| r113 | 4459 | ##### |
| 4460 | {{{#!if this.Match | |
| 4461 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4462 | {{{#!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 | 4463 | }}} |
| 4464 | }}} | |
| r113 | 4465 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4466 | {{{#!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="') | |
| 4467 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4468 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4469 | }}} |
| r113 | 4470 | {{{#!if this.DarkStyleL==-1 |
| 4471 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4472 | }}}}}} |
| r113 | 4473 | {{{#!if this.DarkStyleL!=-1 |
| 4474 | {{{#!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) | |
| 4475 | }}}}}} | |
| 4476 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4477 | }}} |
| 4478 | }}} | |
| 4479 | }}} | |
| r113 | 4480 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4481 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4482 | }}}{{{#!if this.Blank!=-1 | |
| 4483 | {{{#!if this.Comma != -1 | |
| 4484 | {{{#!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 | 4485 | }}} |
| 4486 | }}} | |
| r113 | 4487 | {{{#!if this.Comma == -1 |
| 4488 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4489 | }}} |
| r113 | 4490 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4491 | }}}{{{#!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 | 4492 | }}} |
| 4493 | }}} | |
| 4494 | }}} | |
| r113 | 4495 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4496 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4497 | }}}{{{#!if this.Blank==5 | |
| 4498 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4499 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4500 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4501 | }}}{{{#!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 | 4502 | }}} |
| 4503 | }}} | |
| 4504 | }}} | |
| 4505 | }}} | |
| 4506 | }}} | |
| r113 | 4507 | ##### |
| 4508 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4509 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4510 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4511 | }}} |
| r113 | 4512 | {{{#!if this._ParOpen == -1 |
| 4513 | {{{#!if this.Match=true | |
| r95 | 4514 | }}} |
| r113 | 4515 | }}}{{{#!if this._ParOpen != -1 |
| 4516 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4517 | }}} |
| 4518 | }}} | |
| r113 | 4519 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4520 | }}} |
| r113 | 4521 | {{{#!if this._ParOpen == -1 |
| 4522 | {{{#!if this.Match=true | |
| r95 | 4523 | }}} |
| r113 | 4524 | }}}{{{#!if this._ParOpen != -1 |
| 4525 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4526 | }}} |
| 4527 | }}} | |
| r113 | 4528 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4529 | }}} |
| r113 | 4530 | {{{#!if this._ParOpen == -1 |
| 4531 | {{{#!if this.Match=true | |
| r95 | 4532 | }}} |
| r113 | 4533 | }}}{{{#!if this._ParOpen != -1 |
| 4534 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4535 | }}} |
| 4536 | }}} | |
| r113 | 4537 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4538 | }}} |
| r113 | 4539 | {{{#!if this._ParOpen == -1 |
| 4540 | {{{#!if this.Match=true | |
| r95 | 4541 | }}} |
| r113 | 4542 | }}}{{{#!if this._ParOpen != -1 |
| 4543 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4544 | }}} |
| 4545 | }}} | |
| r113 | 4546 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4547 | }}} |
| r113 | 4548 | {{{#!if this._ParOpen == -1 |
| 4549 | {{{#!if this.Match=true | |
| r95 | 4550 | }}} |
| r113 | 4551 | }}}{{{#!if this._ParOpen != -1 |
| 4552 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4553 | }}} |
| 4554 | }}} | |
| r113 | 4555 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4556 | }}} |
| r113 | 4557 | {{{#!if this._ParOpen == -1 |
| 4558 | {{{#!if this.Match=true | |
| r95 | 4559 | }}} |
| r113 | 4560 | }}}{{{#!if this._ParOpen != -1 |
| 4561 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4562 | }}} |
| 4563 | }}} | |
| r113 | 4564 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4565 | }}} |
| r113 | 4566 | {{{#!if this._ParOpen == -1 |
| 4567 | {{{#!if this.Match=true | |
| r95 | 4568 | }}} |
| r113 | 4569 | }}}{{{#!if this._ParOpen != -1 |
| 4570 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4571 | }}} |
| 4572 | }}} | |
| 4573 | }}} | |
| r113 | 4574 | ##### |
| 4575 | {{{#!if this.Match | |
| 4576 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4577 | {{{#!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 | 4578 | }}} |
| 4579 | }}} | |
| r113 | 4580 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4581 | {{{#!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="') | |
| 4582 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4583 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4584 | }}} |
| r113 | 4585 | {{{#!if this.DarkStyleL==-1 |
| 4586 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4587 | }}}}}} |
| r113 | 4588 | {{{#!if this.DarkStyleL!=-1 |
| 4589 | {{{#!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) | |
| 4590 | }}}}}} | |
| 4591 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4592 | }}} |
| 4593 | }}} | |
| 4594 | }}} | |
| r113 | 4595 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4596 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4597 | }}}{{{#!if this.Blank!=-1 | |
| 4598 | {{{#!if this.Comma != -1 | |
| 4599 | {{{#!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 | 4600 | }}} |
| 4601 | }}} | |
| r113 | 4602 | {{{#!if this.Comma == -1 |
| 4603 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4604 | }}} |
| r113 | 4605 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4606 | }}}{{{#!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 | 4607 | }}} |
| 4608 | }}} | |
| 4609 | }}} | |
| r113 | 4610 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4611 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4612 | }}}{{{#!if this.Blank==5 | |
| 4613 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4614 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4615 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4616 | }}}{{{#!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 | 4617 | }}} |
| 4618 | }}} | |
| 4619 | }}} | |
| 4620 | }}} | |
| 4621 | }}} | |
| r113 | 4622 | ##### |
| 4623 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4624 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4625 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4626 | }}} |
| r113 | 4627 | {{{#!if this._ParOpen == -1 |
| 4628 | {{{#!if this.Match=true | |
| r95 | 4629 | }}} |
| r113 | 4630 | }}}{{{#!if this._ParOpen != -1 |
| 4631 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4632 | }}} |
| 4633 | }}} | |
| r113 | 4634 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4635 | }}} |
| r113 | 4636 | {{{#!if this._ParOpen == -1 |
| 4637 | {{{#!if this.Match=true | |
| r95 | 4638 | }}} |
| r113 | 4639 | }}}{{{#!if this._ParOpen != -1 |
| 4640 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4641 | }}} |
| 4642 | }}} | |
| r113 | 4643 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4644 | }}} |
| r113 | 4645 | {{{#!if this._ParOpen == -1 |
| 4646 | {{{#!if this.Match=true | |
| r95 | 4647 | }}} |
| r113 | 4648 | }}}{{{#!if this._ParOpen != -1 |
| 4649 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4650 | }}} |
| 4651 | }}} | |
| r113 | 4652 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4653 | }}} |
| r113 | 4654 | {{{#!if this._ParOpen == -1 |
| 4655 | {{{#!if this.Match=true | |
| r95 | 4656 | }}} |
| r113 | 4657 | }}}{{{#!if this._ParOpen != -1 |
| 4658 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4659 | }}} |
| 4660 | }}} | |
| r113 | 4661 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4662 | }}} |
| r113 | 4663 | {{{#!if this._ParOpen == -1 |
| 4664 | {{{#!if this.Match=true | |
| r95 | 4665 | }}} |
| r113 | 4666 | }}}{{{#!if this._ParOpen != -1 |
| 4667 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4668 | }}} |
| 4669 | }}} | |
| r113 | 4670 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4671 | }}} |
| r113 | 4672 | {{{#!if this._ParOpen == -1 |
| 4673 | {{{#!if this.Match=true | |
| r95 | 4674 | }}} |
| r113 | 4675 | }}}{{{#!if this._ParOpen != -1 |
| 4676 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4677 | }}} |
| 4678 | }}} | |
| r113 | 4679 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4680 | }}} |
| r113 | 4681 | {{{#!if this._ParOpen == -1 |
| 4682 | {{{#!if this.Match=true | |
| r95 | 4683 | }}} |
| r113 | 4684 | }}}{{{#!if this._ParOpen != -1 |
| 4685 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4686 | }}} |
| 4687 | }}} | |
| 4688 | }}} | |
| r113 | 4689 | ##### |
| 4690 | {{{#!if this.Match | |
| 4691 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4692 | {{{#!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 | 4693 | }}} |
| 4694 | }}} | |
| r113 | 4695 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4696 | {{{#!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="') | |
| 4697 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4698 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4699 | }}} |
| r113 | 4700 | {{{#!if this.DarkStyleL==-1 |
| 4701 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4702 | }}}}}} |
| r113 | 4703 | {{{#!if this.DarkStyleL!=-1 |
| 4704 | {{{#!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) | |
| 4705 | }}}}}} | |
| 4706 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4707 | }}} |
| 4708 | }}} | |
| 4709 | }}} | |
| r113 | 4710 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4711 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4712 | }}}{{{#!if this.Blank!=-1 | |
| 4713 | {{{#!if this.Comma != -1 | |
| 4714 | {{{#!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 | 4715 | }}} |
| 4716 | }}} | |
| r113 | 4717 | {{{#!if this.Comma == -1 |
| 4718 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4719 | }}} |
| r113 | 4720 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4721 | }}}{{{#!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 | 4722 | }}} |
| 4723 | }}} | |
| 4724 | }}} | |
| r113 | 4725 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4726 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4727 | }}}{{{#!if this.Blank==5 | |
| 4728 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4729 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4730 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4731 | }}}{{{#!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 | 4732 | }}} |
| 4733 | }}} | |
| 4734 | }}} | |
| 4735 | }}} | |
| 4736 | }}} | |
| r113 | 4737 | ##### |
| 4738 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4739 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4740 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4741 | }}} |
| r113 | 4742 | {{{#!if this._ParOpen == -1 |
| 4743 | {{{#!if this.Match=true | |
| r109 | 4744 | }}} |
| r113 | 4745 | }}}{{{#!if this._ParOpen != -1 |
| 4746 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4747 | }}} |
| 4748 | }}} | |
| r113 | 4749 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4750 | }}} |
| r113 | 4751 | {{{#!if this._ParOpen == -1 |
| 4752 | {{{#!if this.Match=true | |
| r109 | 4753 | }}} |
| r113 | 4754 | }}}{{{#!if this._ParOpen != -1 |
| 4755 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4756 | }}} |
| 4757 | }}} | |
| r113 | 4758 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4759 | }}} |
| r113 | 4760 | {{{#!if this._ParOpen == -1 |
| 4761 | {{{#!if this.Match=true | |
| r109 | 4762 | }}} |
| r113 | 4763 | }}}{{{#!if this._ParOpen != -1 |
| 4764 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4765 | }}} |
| 4766 | }}} | |
| r113 | 4767 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4768 | }}} |
| r113 | 4769 | {{{#!if this._ParOpen == -1 |
| 4770 | {{{#!if this.Match=true | |
| r109 | 4771 | }}} |
| r113 | 4772 | }}}{{{#!if this._ParOpen != -1 |
| 4773 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4774 | }}} |
| 4775 | }}} | |
| r113 | 4776 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4777 | }}} |
| r113 | 4778 | {{{#!if this._ParOpen == -1 |
| 4779 | {{{#!if this.Match=true | |
| r109 | 4780 | }}} |
| r113 | 4781 | }}}{{{#!if this._ParOpen != -1 |
| 4782 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4783 | }}} |
| 4784 | }}} | |
| r113 | 4785 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4786 | }}} |
| r113 | 4787 | {{{#!if this._ParOpen == -1 |
| 4788 | {{{#!if this.Match=true | |
| r109 | 4789 | }}} |
| r113 | 4790 | }}}{{{#!if this._ParOpen != -1 |
| 4791 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4792 | }}} |
| 4793 | }}} | |
| 4794 | }}} | |
| r113 | 4795 | ##### |
| 4796 | {{{#!if this.Match | |
| 4797 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4798 | {{{#!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 | 4799 | }}} |
| 4800 | }}} | |
| r113 | 4801 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4802 | {{{#!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="') | |
| 4803 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4804 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4805 | }}} |
| r113 | 4806 | {{{#!if this.DarkStyleL==-1 |
| 4807 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4808 | }}}}}} |
| r113 | 4809 | {{{#!if this.DarkStyleL!=-1 |
| 4810 | {{{#!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) | |
| 4811 | }}}}}} | |
| 4812 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4813 | }}} |
| 4814 | }}} | |
| 4815 | }}} | |
| r113 | 4816 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4817 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4818 | }}}{{{#!if this.Blank!=-1 | |
| 4819 | {{{#!if this.Comma != -1 | |
| 4820 | {{{#!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 | 4821 | }}} |
| 4822 | }}} | |
| r113 | 4823 | {{{#!if this.Comma == -1 |
| 4824 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 4825 | }}} |
| r113 | 4826 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4827 | }}}{{{#!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 | 4828 | }}} |
| 4829 | }}} | |
| 4830 | }}} | |
| r113 | 4831 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4832 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4833 | }}}{{{#!if this.Blank==5 | |
| 4834 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4835 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4836 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4837 | }}}{{{#!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 | 4838 | }}} |
| 4839 | }}} | |
| 4840 | }}} | |
| 4841 | }}} | |
| 4842 | }}} | |
| r113 | 4843 | ##### |
| 4844 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4845 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4846 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4847 | }}} |
| r113 | 4848 | {{{#!if this._ParOpen == -1 |
| 4849 | {{{#!if this.Match=true | |
| r109 | 4850 | }}} |
| r113 | 4851 | }}}{{{#!if this._ParOpen != -1 |
| 4852 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4853 | }}} |
| 4854 | }}} | |
| r113 | 4855 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4856 | }}} |
| r113 | 4857 | {{{#!if this._ParOpen == -1 |
| 4858 | {{{#!if this.Match=true | |
| r109 | 4859 | }}} |
| r113 | 4860 | }}}{{{#!if this._ParOpen != -1 |
| 4861 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4862 | }}} |
| 4863 | }}} | |
| r113 | 4864 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4865 | }}} |
| r113 | 4866 | {{{#!if this._ParOpen == -1 |
| 4867 | {{{#!if this.Match=true | |
| r109 | 4868 | }}} |
| r113 | 4869 | }}}{{{#!if this._ParOpen != -1 |
| 4870 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4871 | }}} |
| 4872 | }}} | |
| r113 | 4873 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4874 | }}} |
| r113 | 4875 | {{{#!if this._ParOpen == -1 |
| 4876 | {{{#!if this.Match=true | |
| r109 | 4877 | }}} |
| r113 | 4878 | }}}{{{#!if this._ParOpen != -1 |
| 4879 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4880 | }}} |
| 4881 | }}} | |
| r113 | 4882 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4883 | }}} |
| r113 | 4884 | {{{#!if this._ParOpen == -1 |
| 4885 | {{{#!if this.Match=true | |
| r109 | 4886 | }}} |
| r113 | 4887 | }}}{{{#!if this._ParOpen != -1 |
| 4888 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4889 | }}} |
| 4890 | }}} | |
| 4891 | }}} | |
| r113 | 4892 | ##### |
| 4893 | {{{#!if this.Match | |
| 4894 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4895 | {{{#!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 | 4896 | }}} |
| 4897 | }}} | |
| r113 | 4898 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4899 | {{{#!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="') | |
| 4900 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4901 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4902 | }}} |
| r113 | 4903 | {{{#!if this.DarkStyleL==-1 |
| 4904 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4905 | }}}}}} |
| r113 | 4906 | {{{#!if this.DarkStyleL!=-1 |
| 4907 | {{{#!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) | |
| 4908 | }}}}}} | |
| 4909 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4910 | }}} |
| 4911 | }}} | |
| 4912 | }}} | |
| r113 | 4913 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4914 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4915 | }}}{{{#!if this.Blank!=-1 | |
| 4916 | {{{#!if this.Comma != -1 | |
| 4917 | {{{#!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 | 4918 | }}} |
| 4919 | }}} | |
| r113 | 4920 | {{{#!if this.Comma == -1 |
| 4921 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 4922 | }}} |
| r113 | 4923 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4924 | }}}{{{#!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 | 4925 | }}} |
| 4926 | }}} | |
| 4927 | }}} | |
| r113 | 4928 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4929 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4930 | }}}{{{#!if this.Blank==5 | |
| 4931 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4932 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4933 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4934 | }}}{{{#!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 | 4935 | }}} |
| 4936 | }}} | |
| 4937 | }}} | |
| 4938 | }}} | |
| 4939 | }}} | |
| r113 | 4940 | ##### |
| 4941 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4942 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4943 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4944 | }}} |
| r113 | 4945 | {{{#!if this._ParOpen == -1 |
| 4946 | {{{#!if this.Match=true | |
| r109 | 4947 | }}} |
| r113 | 4948 | }}}{{{#!if this._ParOpen != -1 |
| 4949 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4950 | }}} |
| 4951 | }}} | |
| r113 | 4952 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4953 | }}} |
| r113 | 4954 | {{{#!if this._ParOpen == -1 |
| 4955 | {{{#!if this.Match=true | |
| r109 | 4956 | }}} |
| r113 | 4957 | }}}{{{#!if this._ParOpen != -1 |
| 4958 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4959 | }}} |
| 4960 | }}} | |
| r113 | 4961 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4962 | }}} |
| r113 | 4963 | {{{#!if this._ParOpen == -1 |
| 4964 | {{{#!if this.Match=true | |
| r109 | 4965 | }}} |
| r113 | 4966 | }}}{{{#!if this._ParOpen != -1 |
| 4967 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4968 | }}} |
| 4969 | }}} | |
| r113 | 4970 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4971 | }}} |
| r113 | 4972 | {{{#!if this._ParOpen == -1 |
| 4973 | {{{#!if this.Match=true | |
| r109 | 4974 | }}} |
| r113 | 4975 | }}}{{{#!if this._ParOpen != -1 |
| 4976 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4977 | }}} |
| 4978 | }}} | |
| 4979 | }}} | |
| r113 | 4980 | ##### |
| 4981 | {{{#!if this.Match | |
| 4982 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4983 | {{{#!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 | 4984 | }}} |
| 4985 | }}} | |
| r113 | 4986 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4987 | {{{#!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="') | |
| 4988 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4989 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4990 | }}} |
| r113 | 4991 | {{{#!if this.DarkStyleL==-1 |
| 4992 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4993 | }}}}}} |
| r113 | 4994 | {{{#!if this.DarkStyleL!=-1 |
| 4995 | {{{#!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) | |
| 4996 | }}}}}} | |
| 4997 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4998 | }}} |
| 4999 | }}} | |
| 5000 | }}} | |
| r113 | 5001 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5002 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5003 | }}}{{{#!if this.Blank!=-1 | |
| 5004 | {{{#!if this.Comma != -1 | |
| 5005 | {{{#!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 | 5006 | }}} |
| 5007 | }}} | |
| r113 | 5008 | {{{#!if this.Comma == -1 |
| 5009 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5010 | }}} |
| r113 | 5011 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5012 | }}}{{{#!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 | 5013 | }}} |
| 5014 | }}} | |
| 5015 | }}} | |
| r113 | 5016 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5017 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5018 | }}}{{{#!if this.Blank==5 | |
| 5019 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5020 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5021 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5022 | }}}{{{#!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 | 5023 | }}} |
| 5024 | }}} | |
| 5025 | }}} | |
| 5026 | }}} | |
| 5027 | }}} | |
| r113 | 5028 | ##### |
| 5029 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5030 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5031 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 5032 | }}} |
| r113 | 5033 | {{{#!if this._ParOpen == -1 |
| 5034 | {{{#!if this.Match=true | |
| r109 | 5035 | }}} |
| r113 | 5036 | }}}{{{#!if this._ParOpen != -1 |
| 5037 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 5038 | }}} |
| 5039 | }}} | |
| r113 | 5040 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5041 | }}} |
| r113 | 5042 | {{{#!if this._ParOpen == -1 |
| 5043 | {{{#!if this.Match=true | |
| r109 | 5044 | }}} |
| r113 | 5045 | }}}{{{#!if this._ParOpen != -1 |
| 5046 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5047 | }}} |
| 5048 | }}} | |
| r113 | 5049 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5050 | }}} |
| r113 | 5051 | {{{#!if this._ParOpen == -1 |
| 5052 | {{{#!if this.Match=true | |
| r109 | 5053 | }}} |
| r113 | 5054 | }}}{{{#!if this._ParOpen != -1 |
| 5055 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5056 | }}} |
| 5057 | }}} | |
| 5058 | }}} | |
| r113 | 5059 | ##### |
| 5060 | {{{#!if this.Match | |
| 5061 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5062 | {{{#!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 | 5063 | }}} |
| 5064 | }}} | |
| r113 | 5065 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 5066 | {{{#!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="') | |
| 5067 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5068 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 5069 | }}} |
| r113 | 5070 | {{{#!if this.DarkStyleL==-1 |
| 5071 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 5072 | }}}}}} |
| r113 | 5073 | {{{#!if this.DarkStyleL!=-1 |
| 5074 | {{{#!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) | |
| 5075 | }}}}}} | |
| 5076 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5077 | }}} |
| 5078 | }}} | |
| 5079 | }}} | |
| r113 | 5080 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5081 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5082 | }}}{{{#!if this.Blank!=-1 | |
| 5083 | {{{#!if this.Comma != -1 | |
| 5084 | {{{#!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 | 5085 | }}} |
| 5086 | }}} | |
| r113 | 5087 | {{{#!if this.Comma == -1 |
| 5088 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5089 | }}} |
| r113 | 5090 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5091 | }}}{{{#!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 | 5092 | }}} |
| 5093 | }}} | |
| 5094 | }}} | |
| r113 | 5095 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5096 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5097 | }}}{{{#!if this.Blank==5 | |
| 5098 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5099 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5100 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5101 | }}}{{{#!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 | 5102 | }}} |
| 5103 | }}} | |
| 5104 | }}} | |
| 5105 | }}} | |
| 5106 | }}} | |
| r113 | 5107 | ##### |
| 5108 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5109 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5110 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 5111 | }}} |
| r113 | 5112 | {{{#!if this._ParOpen == -1 |
| 5113 | {{{#!if this.Match=true | |
| r109 | 5114 | }}} |
| r113 | 5115 | }}}{{{#!if this._ParOpen != -1 |
| 5116 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 5117 | }}} |
| 5118 | }}} | |
| r113 | 5119 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5120 | }}} |
| r113 | 5121 | {{{#!if this._ParOpen == -1 |
| 5122 | {{{#!if this.Match=true | |
| r109 | 5123 | }}} |
| r113 | 5124 | }}}{{{#!if this._ParOpen != -1 |
| 5125 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5126 | }}} |
| 5127 | }}} | |
| 5128 | }}} | |
| r113 | 5129 | ##### |
| 5130 | {{{#!if this.Match | |
| 5131 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5132 | {{{#!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 | 5133 | }}} |
| 5134 | }}} | |
| r113 | 5135 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 5136 | {{{#!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="') | |
| 5137 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5138 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 5139 | }}} |
| r113 | 5140 | {{{#!if this.DarkStyleL==-1 |
| 5141 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 5142 | }}}}}} |
| r113 | 5143 | {{{#!if this.DarkStyleL!=-1 |
| 5144 | {{{#!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) | |
| 5145 | }}}}}} | |
| 5146 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5147 | }}} |
| 5148 | }}} | |
| 5149 | }}} | |
| r113 | 5150 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5151 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5152 | }}}{{{#!if this.Blank!=-1 | |
| 5153 | {{{#!if this.Comma != -1 | |
| 5154 | {{{#!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 | 5155 | }}} |
| 5156 | }}} | |
| r113 | 5157 | {{{#!if this.Comma == -1 |
| 5158 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5159 | }}} |
| r113 | 5160 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5161 | }}}{{{#!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 | 5162 | }}} |
| 5163 | }}} | |
| 5164 | }}} | |
| r113 | 5165 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5166 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5167 | }}}{{{#!if this.Blank==5 | |
| 5168 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5169 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5170 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5171 | }}}{{{#!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 | 5172 | }}} |
| 5173 | }}} | |
| 5174 | }}} | |
| 5175 | }}} | |
| 5176 | }}} | |
| r112 | 5177 | }}}{{{#!wiki style="display: block" dark-style="display: none" |
| r104 | 5178 | {{{#!html @input@}}}}}}{{{#!wiki style="display: none" dark-style="display: block" |
| r111 | 5179 | {{{#!html @DarkInput@}}}}}}}}} |