사용자
nyangx3/연습장(r114판 Blame)
| r114 | ||
|---|---|---|
| r1 | 1 | ##@일단 여기 쓰고 나중에 사용자 문서로 옮길 예정--사문의 의한 사문을 위한 연습장-- |
| r94 | 2 | {{{#!if if=='목차' |
| r114 | 3 | {{{#!wiki style="border: 1px solid transparent; background: padding-box linear-gradient(#fff), border-box linear-gradient(75deg, #807573, #707780); border-radius: 8px; word-break: keep-all; letter-spacing: -.25px; font-size: clamp(.75em, 2vw, 1em)" dark-style="background: padding-box linear-gradient(#000), border-box linear-gradient(75deg, #807573, #707780)" |
| 4 | {{{#!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: 12px 20px 18px 5px;" | |
| r94 | 5 | {{{#!wiki style="font-size: 1.25em; letter-spacing: -2px; font-weight: 100; text-align: center; margin-bottom: 5px" |
| 6 | ''CONTENTS''}}}{{{#!wiki style="display:flex; flex-wrap: wrap; justify-content: left" | |
| r114 | 7 | {{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" |
| r94 | 8 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 9 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 10 | 0.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| r114 | 11 | 복사 붙여넣기}}}{{{#!wiki style="padding-left: 15px" |
| r94 | 12 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 13 | 0.}}}]] 정규식 치환 |
| r94 | 14 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 15 | 1.}}}]] Ionicons |
| 16 | {{{#!wiki style="display: flex" | |
| r94 | 17 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 18 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 |
| 19 | 알트 입력법 | |
| 20 | 폰트}}}}}}}}}}}}}}}{{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" | |
| r94 | 21 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 22 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 23 | 1.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| r114 | 24 | 팁}}}{{{#!wiki style="padding-left: 15px" |
| r94 | 25 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| 26 | 0.}}}]] 단축키 | |
| 27 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| r114 | 28 | 1.}}}]] 문법 |
| r94 | 29 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| r114 | 30 | 2.}}}]] 토론}}}}}}}}}{{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" |
| r94 | 31 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 32 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 33 | 2.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 34 | 요상한거}}}{{{#!wiki style="padding-left: 15px" | |
| 35 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 36 | 0.}}}]] 계산기 | |
| 37 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| r114 | 38 | 1.}}}]] 나무나무마크 |
| 39 | {{{#!wiki style="display: flex" | |
| 40 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 41 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 | |
| 42 | uuid 판별기 | |
| 43 | 소수 판별기 | |
| 44 | encoder | |
| 45 | rgb to hex}}}}}}}}}}}}}}}{{{#!wiki style="width: max(25%, 100px); vertical-align: top; text-align: left" | |
| r94 | 46 | {{{#!wiki style="padding: 5px 0 0 20px" |
| 47 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 48 | 3.}}}]]{{{#!html }}}{{{#!wiki style="display: inline" | |
| 49 | 예쁜거}}}{{{#!wiki style="padding-left: 15px" | |
| r114 | 50 | [[#|{{{#!wiki style="display: inline; font-weight: 400" |
| 51 | 0.}}}]] ui(espejo) | |
| 52 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| 53 | 1.}}}]] 인별dm | |
| r94 | 54 | {{{#!wiki style="display: flex" |
| 55 | [[#|{{{#!wiki style="display: inline; font-weight: 400" | |
| r114 | 56 | 2.}}}]]{{{#!html }}}{{{#!folding 그 외 |
| r94 | 57 | 0.배경 패턴 |
| r114 | 58 | 1.포?스터 |
| 59 | 별자리}}}}}} | |
| r94 | 60 | }}} |
| 61 | }}} | |
| 62 | }}} | |
| 63 | }}} | |
| r114 | 64 | }}} |
| r94 | 65 | }}}}}}{{{#!if if=='문단' |
| r56 | 66 | {{{#!wiki style="margin: 0 0 0 5px" |
| 67 | {{{#!wiki style="display: inline-block" | |
| r59 | 68 | {{{+3 {{{#666 {{{#!html <span style="font-family: Ionicons"></span>}}}}}}{{{#!html }}}{{{#!wiki style="display: inline-block; font-size: 25.63px" |
| 69 | '''[[#@문단번호=0@|@문단번호=0@.]] {{{#373a3c,#ddd @문단명@}}}'''}}}}}}}}}}}}{{{#!wiki style="display: inline-block; font-size: 12px; float: right; margin: -35px 0 0" | |
| 70 | '''[[#@문단번호=0@|[편집\]]]'''}}}{{{#!wiki | |
| r56 | 71 | ---- |
| r93 | 72 | }}}}}}[anchor(0)]{{{#!if if=='계산기' |
| r1 | 73 | {{{#!wiki style="font-weight: 300; font-size: 20px" |
| r61 | 74 | {{{#!if a[0]!=45 |
| r62 | 75 | @a@}}}{{{#!if a[0]==45 |
| 76 | (@a@)}}} {{{#!if f == '+' | |
| r7 | 77 | {{{#!if r =(+a+0.0)+(+b+0.0) |
| r1 | 78 | }}}+}}}{{{#!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) |
| r61 | 84 | }}}÷}}} {{{#!if b[0]!=45 |
| 85 | @b@}}}{{{#!if b[0]==45 | |
| 86 | (@b@)}}} = {{{#!if r = r.toString() | |
| r8 | 87 | {{{#!if r.endsWith('0') |
| 88 | {{{#!if r = r.substr(0,r.length-1) | |
| 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) | |
| r9 | 99 | }}}}}}{{{#!if r.endsWith('.') |
| 100 | {{{#!if r = r.substr(0,r.length-1) | |
| r65 | 101 | }}}}}}}}}{{{#!if r[0]!=45 |
| 102 | @r@}}}{{{#!if r[0]==45 | |
| 103 | (@r@)}}}}}}}}}[anchor(1)]{{{#!if (+if)==4 | |
| r1 | 104 | {{{#!wiki style="margin: 0 0 0 5px" |
| 105 | {{{#!wiki style="display: inline-block" | |
| 106 | {{{+3 {{{#666 {{{#!html <span style="font-family: Ionicons"></span>}}}}}}{{{#!html }}}{{{#!html }}}{{{#!wiki style="display: inline-block; font-size: 25.63px" | |
| 107 | '''[[#1|1.]] {{{#373a3c,#ddd @문단명=가짜 문단@}}}'''}}}}}}}}}}}}{{{#!wiki style="display: inline-block; font-size: 12px; float: right; margin: -35px 0 0" | |
| 108 | '''[[#1|[편집\]]]'''}}}{{{#!wiki | |
| 109 | ---- | |
| 110 | }}}{{{#!wiki | |
| 111 | * '''일반 편집 시 다크 모드 대응 쉽게 하는 법''' | |
| 112 | 최근 화이트 모드 색상만을 지정한 경우 다크 모드에서 적절한 색으로 변경되어 표시되게 바뀌었는데,[[https://board.namu.wiki/b/free/3016057|#]] 이로 인해 표 색상이 의도치 않게 달라져 글자가 보이지 않거나 하는 문제가 발생하기도 한다. 그래서 특정 색상을 그대로 표시되어야만 하는 경우 다크 모드 색상도 지정해 주어야 하는데, 아래는 이를 쉽게 하기 위한 방법이다. 모나코 에디터 단축키에 익숙하다면 쉬울 것이다. | |
| 113 | 1. 편집기에서 Ctrl(Comend)+H 누르면 '찾기/바꾸기' 창이 나오는데, 해당 창의 '찾기' 칸 우측의 '.*' 부분을 클릭하여 활성화한다.([[정규 표현식|정규식]] 모드) | |
| r6 | 114 | 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 | 115 | 1. --하다가 귀찮아져서 프로그램으로 구현하거나 [[나무위키:사용 승인된 봇 계정 목록|봇]]이 편집해주기를 기다린다.(최종점)--}}}[[]] |
| r74 | 116 | * color: var(--espejo-link-color)로 {{{#!wiki style="color: var(--espejo-link-color); display: inline" |
| r75 | 117 | 링크}}} 색을 참조할 수 있다. |
| r82 | 118 | * 편집기에서 문법 하이라이팅 버그가 있을 시, #\#)]를 추가하는 등으로 해결할 수 있다.}}}{{{#!if if='나무나무마크' |
| r77 | 119 | {{{#!wiki style="display: none" |
| r113 | 120 | ################################################################################## 매크로 |
| 121 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 122 | ##)] | |
| 123 | }}}{{{#!if this.MacroOpen!=-1 | |
| 124 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 125 | }}}{{{#!if this.MacroClose!=-1 | |
| 126 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 127 | }}} | |
| 128 | ||
| 129 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 130 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 131 | }}} | |
| 132 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 133 | {{{#!if this.Comma2 == 0 | |
| 134 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 135 | }}} | |
| 136 | }}} | |
| 137 | {{{#!if this.Comma2 != 0 | |
| 138 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 139 | }}} | |
| 140 | }}} | |
| 141 | }}} | |
| 142 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 143 | }}} | |
| 144 | ||
| 145 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 146 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 147 | }}} | |
| 148 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 149 | {{{#!if this.Comma2 == 0 | |
| 150 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 151 | }}} | |
| 152 | }}} | |
| 153 | {{{#!if this.Comma2 != 0 | |
| 154 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 155 | }}} | |
| 156 | }}} | |
| 157 | }}} | |
| 158 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 159 | }}} | |
| 160 | ||
| 161 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 162 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 163 | }}} | |
| 164 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 165 | {{{#!if this.Comma2 == 0 | |
| 166 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 167 | }}} | |
| 168 | }}} | |
| 169 | {{{#!if this.Comma2 != 0 | |
| 170 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 171 | }}} | |
| 172 | }}} | |
| 173 | }}} | |
| 174 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 175 | }}} | |
| 176 | ||
| 177 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 178 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 179 | }}} | |
| 180 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 181 | {{{#!if this.Comma2 == 0 | |
| 182 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 183 | }}} | |
| 184 | }}} | |
| 185 | {{{#!if this.Comma2 != 0 | |
| 186 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 187 | }}} | |
| 188 | }}} | |
| 189 | }}} | |
| 190 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 191 | }}} | |
| 192 | ||
| 193 | {{{#!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) | |
| 194 | }}} | |
| 195 | }}} | |
| 196 | }}} | |
| 197 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 198 | ##)] | |
| 199 | }}}{{{#!if this.MacroOpen!=-1 | |
| 200 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 201 | }}}{{{#!if this.MacroClose!=-1 | |
| 202 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 203 | }}} | |
| 204 | ||
| 205 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 206 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 207 | }}} | |
| 208 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 209 | {{{#!if this.Comma2 == 0 | |
| 210 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 211 | }}} | |
| 212 | }}} | |
| 213 | {{{#!if this.Comma2 != 0 | |
| 214 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 215 | }}} | |
| 216 | }}} | |
| 217 | }}} | |
| 218 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 219 | }}} | |
| 220 | ||
| 221 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 222 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 223 | }}} | |
| 224 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 225 | {{{#!if this.Comma2 == 0 | |
| 226 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 227 | }}} | |
| 228 | }}} | |
| 229 | {{{#!if this.Comma2 != 0 | |
| 230 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 231 | }}} | |
| 232 | }}} | |
| 233 | }}} | |
| 234 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 235 | }}} | |
| 236 | ||
| 237 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 238 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 239 | }}} | |
| 240 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 241 | {{{#!if this.Comma2 == 0 | |
| 242 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 243 | }}} | |
| 244 | }}} | |
| 245 | {{{#!if this.Comma2 != 0 | |
| 246 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 247 | }}} | |
| 248 | }}} | |
| 249 | }}} | |
| 250 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 251 | }}} | |
| 252 | ||
| 253 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 254 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 255 | }}} | |
| 256 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 257 | {{{#!if this.Comma2 == 0 | |
| 258 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 259 | }}} | |
| 260 | }}} | |
| 261 | {{{#!if this.Comma2 != 0 | |
| 262 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 263 | }}} | |
| 264 | }}} | |
| 265 | }}} | |
| 266 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 267 | }}} | |
| 268 | {{{#!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) | |
| 269 | }}} | |
| 270 | }}} | |
| 271 | }}} | |
| 272 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 273 | ##)] | |
| 274 | }}}{{{#!if this.MacroOpen!=-1 | |
| 275 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 276 | }}}{{{#!if this.MacroClose!=-1 | |
| 277 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 278 | }}} | |
| 279 | ||
| 280 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 281 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 282 | }}} | |
| 283 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 284 | {{{#!if this.Comma2 == 0 | |
| 285 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 286 | }}} | |
| 287 | }}} | |
| 288 | {{{#!if this.Comma2 != 0 | |
| 289 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 290 | }}} | |
| 291 | }}} | |
| 292 | }}} | |
| 293 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 294 | }}} | |
| 295 | ||
| 296 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 297 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 298 | }}} | |
| 299 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 300 | {{{#!if this.Comma2 == 0 | |
| 301 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 302 | }}} | |
| 303 | }}} | |
| 304 | {{{#!if this.Comma2 != 0 | |
| 305 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 306 | }}} | |
| 307 | }}} | |
| 308 | }}} | |
| 309 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 310 | }}} | |
| 311 | ||
| 312 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 313 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 314 | }}} | |
| 315 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 316 | {{{#!if this.Comma2 == 0 | |
| 317 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 318 | }}} | |
| 319 | }}} | |
| 320 | {{{#!if this.Comma2 != 0 | |
| 321 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 322 | }}} | |
| 323 | }}} | |
| 324 | }}} | |
| 325 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 326 | }}} | |
| 327 | ||
| 328 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 329 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 330 | }}} | |
| 331 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 332 | {{{#!if this.Comma2 == 0 | |
| 333 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 334 | }}} | |
| 335 | }}} | |
| 336 | {{{#!if this.Comma2 != 0 | |
| 337 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 338 | }}} | |
| 339 | }}} | |
| 340 | }}} | |
| 341 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 342 | }}} | |
| 343 | ||
| 344 | {{{#!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) | |
| 345 | }}} | |
| 346 | }}} | |
| 347 | }}} | |
| 348 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 349 | ##)] | |
| 350 | }}}{{{#!if this.MacroOpen!=-1 | |
| 351 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 352 | }}}{{{#!if this.MacroClose!=-1 | |
| 353 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 354 | }}} | |
| 355 | ||
| 356 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 357 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 358 | }}} | |
| 359 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 360 | {{{#!if this.Comma2 == 0 | |
| 361 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 362 | }}} | |
| 363 | }}} | |
| 364 | {{{#!if this.Comma2 != 0 | |
| 365 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 366 | }}} | |
| 367 | }}} | |
| 368 | }}} | |
| 369 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 370 | }}} | |
| 371 | ||
| 372 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 373 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 374 | }}} | |
| 375 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 376 | {{{#!if this.Comma2 == 0 | |
| 377 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 378 | }}} | |
| 379 | }}} | |
| 380 | {{{#!if this.Comma2 != 0 | |
| 381 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 382 | }}} | |
| 383 | }}} | |
| 384 | }}} | |
| 385 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 386 | }}} | |
| 387 | ||
| 388 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 389 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 390 | }}} | |
| 391 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 392 | {{{#!if this.Comma2 == 0 | |
| 393 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 394 | }}} | |
| 395 | }}} | |
| 396 | {{{#!if this.Comma2 != 0 | |
| 397 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 398 | }}} | |
| 399 | }}} | |
| 400 | }}} | |
| 401 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 402 | }}} | |
| 403 | ||
| 404 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 405 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 406 | }}} | |
| 407 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 408 | {{{#!if this.Comma2 == 0 | |
| 409 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 410 | }}} | |
| 411 | }}} | |
| 412 | {{{#!if this.Comma2 != 0 | |
| 413 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 414 | }}} | |
| 415 | }}} | |
| 416 | }}} | |
| 417 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 418 | }}} | |
| 419 | {{{#!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) | |
| 420 | }}} | |
| 421 | }}} | |
| 422 | }}} | |
| 423 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 424 | ##)] | |
| 425 | }}}{{{#!if this.MacroOpen!=-1 | |
| 426 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 427 | }}}{{{#!if this.MacroClose!=-1 | |
| 428 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 429 | }}} | |
| 430 | ||
| 431 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 432 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 433 | }}} | |
| 434 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 435 | {{{#!if this.Comma2 == 0 | |
| 436 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 437 | }}} | |
| 438 | }}} | |
| 439 | {{{#!if this.Comma2 != 0 | |
| 440 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 441 | }}} | |
| 442 | }}} | |
| 443 | }}} | |
| 444 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 445 | }}} | |
| 446 | ||
| 447 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 448 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 449 | }}} | |
| 450 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 451 | {{{#!if this.Comma2 == 0 | |
| 452 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 453 | }}} | |
| 454 | }}} | |
| 455 | {{{#!if this.Comma2 != 0 | |
| 456 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 457 | }}} | |
| 458 | }}} | |
| 459 | }}} | |
| 460 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 461 | }}} | |
| 462 | ||
| 463 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 464 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 465 | }}} | |
| 466 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 467 | {{{#!if this.Comma2 == 0 | |
| 468 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 469 | }}} | |
| 470 | }}} | |
| 471 | {{{#!if this.Comma2 != 0 | |
| 472 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 473 | }}} | |
| 474 | }}} | |
| 475 | }}} | |
| 476 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 477 | }}} | |
| 478 | ||
| 479 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 480 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 481 | }}} | |
| 482 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 483 | {{{#!if this.Comma2 == 0 | |
| 484 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 485 | }}} | |
| 486 | }}} | |
| 487 | {{{#!if this.Comma2 != 0 | |
| 488 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 489 | }}} | |
| 490 | }}} | |
| 491 | }}} | |
| 492 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 493 | }}} | |
| 494 | ||
| 495 | {{{#!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) | |
| 496 | }}} | |
| 497 | }}} | |
| 498 | }}} | |
| 499 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 500 | ##)] | |
| 501 | }}}{{{#!if this.MacroOpen!=-1 | |
| 502 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 503 | }}}{{{#!if this.MacroClose!=-1 | |
| 504 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 505 | }}} | |
| 506 | ||
| 507 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 508 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 509 | }}} | |
| 510 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 511 | {{{#!if this.Comma2 == 0 | |
| 512 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 513 | }}} | |
| 514 | }}} | |
| 515 | {{{#!if this.Comma2 != 0 | |
| 516 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 517 | }}} | |
| 518 | }}} | |
| 519 | }}} | |
| 520 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 521 | }}} | |
| 522 | ||
| 523 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 524 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 525 | }}} | |
| 526 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 527 | {{{#!if this.Comma2 == 0 | |
| 528 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 529 | }}} | |
| 530 | }}} | |
| 531 | {{{#!if this.Comma2 != 0 | |
| 532 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 533 | }}} | |
| 534 | }}} | |
| 535 | }}} | |
| 536 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 537 | }}} | |
| 538 | ||
| 539 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 540 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 541 | }}} | |
| 542 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 543 | {{{#!if this.Comma2 == 0 | |
| 544 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 545 | }}} | |
| 546 | }}} | |
| 547 | {{{#!if this.Comma2 != 0 | |
| 548 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 549 | }}} | |
| 550 | }}} | |
| 551 | }}} | |
| 552 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 553 | }}} | |
| 554 | ||
| 555 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 556 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 557 | }}} | |
| 558 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 559 | {{{#!if this.Comma2 == 0 | |
| 560 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 561 | }}} | |
| 562 | }}} | |
| 563 | {{{#!if this.Comma2 != 0 | |
| 564 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 565 | }}} | |
| 566 | }}} | |
| 567 | }}} | |
| 568 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 569 | }}} | |
| 570 | {{{#!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) | |
| 571 | }}} | |
| 572 | }}} | |
| 573 | }}} | |
| 574 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 575 | ##)] | |
| 576 | }}}{{{#!if this.MacroOpen!=-1 | |
| 577 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 578 | }}}{{{#!if this.MacroClose!=-1 | |
| 579 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 580 | }}} | |
| 581 | ||
| 582 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 583 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 584 | }}} | |
| 585 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 586 | {{{#!if this.Comma2 == 0 | |
| 587 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 588 | }}} | |
| 589 | }}} | |
| 590 | {{{#!if this.Comma2 != 0 | |
| 591 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 592 | }}} | |
| 593 | }}} | |
| 594 | }}} | |
| 595 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 596 | }}} | |
| 597 | ||
| 598 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 599 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 600 | }}} | |
| 601 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 602 | {{{#!if this.Comma2 == 0 | |
| 603 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 604 | }}} | |
| 605 | }}} | |
| 606 | {{{#!if this.Comma2 != 0 | |
| 607 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 608 | }}} | |
| 609 | }}} | |
| 610 | }}} | |
| 611 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 612 | }}} | |
| 613 | ||
| 614 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 615 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 616 | }}} | |
| 617 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 618 | {{{#!if this.Comma2 == 0 | |
| 619 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 620 | }}} | |
| 621 | }}} | |
| 622 | {{{#!if this.Comma2 != 0 | |
| 623 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 624 | }}} | |
| 625 | }}} | |
| 626 | }}} | |
| 627 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 628 | }}} | |
| 629 | ||
| 630 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 631 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 632 | }}} | |
| 633 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 634 | {{{#!if this.Comma2 == 0 | |
| 635 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 636 | }}} | |
| 637 | }}} | |
| 638 | {{{#!if this.Comma2 != 0 | |
| 639 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 640 | }}} | |
| 641 | }}} | |
| 642 | }}} | |
| 643 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 644 | }}} | |
| 645 | ||
| 646 | {{{#!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) | |
| 647 | }}} | |
| 648 | }}} | |
| 649 | }}} | |
| 650 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 651 | ##)] | |
| 652 | }}}{{{#!if this.MacroOpen!=-1 | |
| 653 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 654 | }}}{{{#!if this.MacroClose!=-1 | |
| 655 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 656 | }}} | |
| 657 | ||
| 658 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 659 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 660 | }}} | |
| 661 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 662 | {{{#!if this.Comma2 == 0 | |
| 663 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 664 | }}} | |
| 665 | }}} | |
| 666 | {{{#!if this.Comma2 != 0 | |
| 667 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 668 | }}} | |
| 669 | }}} | |
| 670 | }}} | |
| 671 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 672 | }}} | |
| 673 | ||
| 674 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 675 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 676 | }}} | |
| 677 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 678 | {{{#!if this.Comma2 == 0 | |
| 679 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 680 | }}} | |
| 681 | }}} | |
| 682 | {{{#!if this.Comma2 != 0 | |
| 683 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 684 | }}} | |
| 685 | }}} | |
| 686 | }}} | |
| 687 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 688 | }}} | |
| 689 | ||
| 690 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 691 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 692 | }}} | |
| 693 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 694 | {{{#!if this.Comma2 == 0 | |
| 695 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 696 | }}} | |
| 697 | }}} | |
| 698 | {{{#!if this.Comma2 != 0 | |
| 699 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 700 | }}} | |
| 701 | }}} | |
| 702 | }}} | |
| 703 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 704 | }}} | |
| 705 | ||
| 706 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 707 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 708 | }}} | |
| 709 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 710 | {{{#!if this.Comma2 == 0 | |
| 711 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 712 | }}} | |
| 713 | }}} | |
| 714 | {{{#!if this.Comma2 != 0 | |
| 715 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 716 | }}} | |
| 717 | }}} | |
| 718 | }}} | |
| 719 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 720 | }}} | |
| 721 | {{{#!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) | |
| 722 | }}} | |
| 723 | }}} | |
| 724 | }}} | |
| 725 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 726 | ##)] | |
| 727 | }}}{{{#!if this.MacroOpen!=-1 | |
| 728 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 729 | }}}{{{#!if this.MacroClose!=-1 | |
| 730 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 731 | }}} | |
| 732 | ||
| 733 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 734 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 735 | }}} | |
| 736 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 737 | {{{#!if this.Comma2 == 0 | |
| 738 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 739 | }}} | |
| 740 | }}} | |
| 741 | {{{#!if this.Comma2 != 0 | |
| 742 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 743 | }}} | |
| 744 | }}} | |
| 745 | }}} | |
| 746 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 747 | }}} | |
| 748 | ||
| 749 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 750 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 751 | }}} | |
| 752 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 753 | {{{#!if this.Comma2 == 0 | |
| 754 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 755 | }}} | |
| 756 | }}} | |
| 757 | {{{#!if this.Comma2 != 0 | |
| 758 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 759 | }}} | |
| 760 | }}} | |
| 761 | }}} | |
| 762 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 763 | }}} | |
| 764 | ||
| 765 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 766 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 767 | }}} | |
| 768 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 769 | {{{#!if this.Comma2 == 0 | |
| 770 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 771 | }}} | |
| 772 | }}} | |
| 773 | {{{#!if this.Comma2 != 0 | |
| 774 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 775 | }}} | |
| 776 | }}} | |
| 777 | }}} | |
| 778 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 779 | }}} | |
| 780 | ||
| 781 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 782 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 783 | }}} | |
| 784 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 785 | {{{#!if this.Comma2 == 0 | |
| 786 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 787 | }}} | |
| 788 | }}} | |
| 789 | {{{#!if this.Comma2 != 0 | |
| 790 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 791 | }}} | |
| 792 | }}} | |
| 793 | }}} | |
| 794 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 795 | }}} | |
| 796 | ||
| 797 | {{{#!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) | |
| 798 | }}} | |
| 799 | }}} | |
| 800 | }}} | |
| 801 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 802 | ##)] | |
| 803 | }}}{{{#!if this.MacroOpen!=-1 | |
| 804 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 805 | }}}{{{#!if this.MacroClose!=-1 | |
| 806 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 807 | }}} | |
| 808 | ||
| 809 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 810 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 811 | }}} | |
| 812 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 813 | {{{#!if this.Comma2 == 0 | |
| 814 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 815 | }}} | |
| 816 | }}} | |
| 817 | {{{#!if this.Comma2 != 0 | |
| 818 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 819 | }}} | |
| 820 | }}} | |
| 821 | }}} | |
| 822 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 823 | }}} | |
| 824 | ||
| 825 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 826 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 827 | }}} | |
| 828 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 829 | {{{#!if this.Comma2 == 0 | |
| 830 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 831 | }}} | |
| 832 | }}} | |
| 833 | {{{#!if this.Comma2 != 0 | |
| 834 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 835 | }}} | |
| 836 | }}} | |
| 837 | }}} | |
| 838 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 839 | }}} | |
| 840 | ||
| 841 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 842 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 843 | }}} | |
| 844 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 845 | {{{#!if this.Comma2 == 0 | |
| 846 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 847 | }}} | |
| 848 | }}} | |
| 849 | {{{#!if this.Comma2 != 0 | |
| 850 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 851 | }}} | |
| 852 | }}} | |
| 853 | }}} | |
| 854 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 855 | }}} | |
| 856 | ||
| 857 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 858 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 859 | }}} | |
| 860 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 861 | {{{#!if this.Comma2 == 0 | |
| 862 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 863 | }}} | |
| 864 | }}} | |
| 865 | {{{#!if this.Comma2 != 0 | |
| 866 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 867 | }}} | |
| 868 | }}} | |
| 869 | }}} | |
| 870 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 871 | }}} | |
| 872 | {{{#!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) | |
| 873 | }}} | |
| 874 | }}} | |
| 875 | }}} | |
| 876 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 877 | }}}{{{#!if this.Macro!=-1 | |
| 878 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 879 | }}}}}} | |
| 880 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 881 | }}}{{{#!if this.Macro!=-1 | |
| 882 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 883 | }}}}}} | |
| 884 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 885 | ##)] | |
| 886 | }}}{{{#!if this.MacroOpen!=-1 | |
| 887 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 888 | }}}{{{#!if this.MacroClose!=-1 | |
| 889 | {{{#!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) | |
| 890 | }}}{{{#!if this.Comma2==-1 | |
| 891 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 892 | }}} | |
| 893 | }}}{{{#!if this.Comma2!=-1 | |
| 894 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 895 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 896 | }}} | |
| 897 | }}} | |
| 898 | {{{#!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) | |
| 899 | }}} | |
| 900 | }}} | |
| 901 | }}} | |
| 902 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 903 | }}}{{{#!if this.Open!=-1 | |
| 904 | {{{#!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) | |
| 905 | }}} | |
| 906 | }}} | |
| 907 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 908 | }}}{{{#!if this.Open!=-1 | |
| 909 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 910 | }}}{{{#!if this.Close!=-1 | |
| 911 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 912 | }}}}}} |
| 913 | }}} | |
| r113 | 914 | ##### |
| 915 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 916 | }}}{{{#!if this.Macro!=-1 | |
| 917 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 918 | }}}}}} | |
| 919 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 920 | }}}{{{#!if this.Macro!=-1 | |
| 921 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 922 | }}}}}} | |
| 923 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 924 | ##)] | |
| 925 | }}}{{{#!if this.MacroOpen!=-1 | |
| 926 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 927 | }}}{{{#!if this.MacroClose!=-1 | |
| 928 | {{{#!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) | |
| 929 | }}}{{{#!if this.Comma2==-1 | |
| 930 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 931 | }}} | |
| 932 | }}}{{{#!if this.Comma2!=-1 | |
| 933 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 934 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 935 | }}} | |
| 936 | }}} | |
| 937 | {{{#!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) | |
| 938 | }}} | |
| 939 | }}} | |
| 940 | }}} | |
| 941 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 942 | }}}{{{#!if this.Open!=-1 | |
| 943 | {{{#!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) | |
| 944 | }}} | |
| 945 | }}} | |
| 946 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 947 | }}}{{{#!if this.Open!=-1 | |
| 948 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 949 | }}}{{{#!if this.Close!=-1 | |
| 950 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 951 | }}}}}} |
| 952 | }}} | |
| r113 | 953 | ##### |
| 954 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 955 | }}}{{{#!if this.Macro!=-1 | |
| 956 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 957 | }}}}}} | |
| 958 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 959 | }}}{{{#!if this.Macro!=-1 | |
| 960 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 961 | }}}}}} | |
| 962 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 963 | ##)] | |
| 964 | }}}{{{#!if this.MacroOpen!=-1 | |
| 965 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 966 | }}}{{{#!if this.MacroClose!=-1 | |
| 967 | {{{#!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) | |
| 968 | }}}{{{#!if this.Comma2==-1 | |
| 969 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 970 | }}} | |
| 971 | }}}{{{#!if this.Comma2!=-1 | |
| 972 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 973 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 974 | }}} | |
| 975 | }}} | |
| 976 | {{{#!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) | |
| 977 | }}} | |
| 978 | }}} | |
| 979 | }}} | |
| 980 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 981 | }}}{{{#!if this.Open!=-1 | |
| 982 | {{{#!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) | |
| 983 | }}} | |
| 984 | }}} | |
| 985 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 986 | }}}{{{#!if this.Open!=-1 | |
| 987 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 988 | }}}{{{#!if this.Close!=-1 | |
| 989 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 990 | }}}}}} |
| 991 | }}} | |
| r113 | 992 | ##### |
| 993 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 994 | }}}{{{#!if this.Macro!=-1 | |
| 995 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 996 | }}}}}} | |
| 997 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 998 | }}}{{{#!if this.Macro!=-1 | |
| 999 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1000 | }}}}}} | |
| 1001 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1002 | ##)] | |
| 1003 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1004 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1005 | }}}{{{#!if this.MacroClose!=-1 | |
| 1006 | {{{#!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) | |
| 1007 | }}}{{{#!if this.Comma2==-1 | |
| 1008 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1009 | }}} | |
| 1010 | }}}{{{#!if this.Comma2!=-1 | |
| 1011 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1012 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1013 | }}} | |
| 1014 | }}} | |
| 1015 | {{{#!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) | |
| 1016 | }}} | |
| 1017 | }}} | |
| 1018 | }}} | |
| 1019 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1020 | }}}{{{#!if this.Open!=-1 | |
| 1021 | {{{#!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) | |
| 1022 | }}} | |
| 1023 | }}} | |
| 1024 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1025 | }}}{{{#!if this.Open!=-1 | |
| 1026 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1027 | }}}{{{#!if this.Close!=-1 | |
| 1028 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1029 | }}}}}} |
| 1030 | }}} | |
| r113 | 1031 | ##### |
| 1032 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1033 | }}}{{{#!if this.Macro!=-1 | |
| 1034 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1035 | }}}}}} | |
| 1036 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1037 | }}}{{{#!if this.Macro!=-1 | |
| 1038 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1039 | }}}}}} | |
| 1040 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1041 | ##)] | |
| 1042 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1043 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1044 | }}}{{{#!if this.MacroClose!=-1 | |
| 1045 | {{{#!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) | |
| 1046 | }}}{{{#!if this.Comma2==-1 | |
| 1047 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1048 | }}} | |
| 1049 | }}}{{{#!if this.Comma2!=-1 | |
| 1050 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1051 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1052 | }}} | |
| 1053 | }}} | |
| 1054 | {{{#!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) | |
| 1055 | }}} | |
| 1056 | }}} | |
| 1057 | }}} | |
| 1058 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1059 | }}}{{{#!if this.Open!=-1 | |
| 1060 | {{{#!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) | |
| 1061 | }}} | |
| 1062 | }}} | |
| 1063 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1064 | }}}{{{#!if this.Open!=-1 | |
| 1065 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1066 | }}}{{{#!if this.Close!=-1 | |
| 1067 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1068 | }}}}}} |
| 1069 | }}} | |
| r113 | 1070 | ##### |
| 1071 | {{{#!if this.Macro=this.input.indexOf("[br]") | |
| 1072 | }}}{{{#!if this.Macro!=-1 | |
| 1073 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 1074 | }}}}}} | |
| 1075 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") | |
| 1076 | }}}{{{#!if this.Macro!=-1 | |
| 1077 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 1078 | }}}}}} | |
| 1079 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' | |
| 1080 | ##)] | |
| 1081 | }}}{{{#!if this.MacroOpen!=-1 | |
| 1082 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 1083 | }}}{{{#!if this.MacroClose!=-1 | |
| 1084 | {{{#!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) | |
| 1085 | }}}{{{#!if this.Comma2==-1 | |
| 1086 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 1087 | }}} | |
| 1088 | }}}{{{#!if this.Comma2!=-1 | |
| 1089 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 1090 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 1091 | }}} | |
| 1092 | }}} | |
| 1093 | {{{#!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) | |
| 1094 | }}} | |
| 1095 | }}} | |
| 1096 | }}} | |
| 1097 | {{{#!if this.Open=this.input.indexOf("<br>----<br>") | |
| 1098 | }}}{{{#!if this.Open!=-1 | |
| 1099 | {{{#!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) | |
| 1100 | }}} | |
| 1101 | }}} | |
| 1102 | {{{#!if this.Open=this.input.indexOf("<br>##") | |
| 1103 | }}}{{{#!if this.Open!=-1 | |
| 1104 | {{{#!if this.Close=this.input.substring(this.Open+4).indexOf("<br>") | |
| 1105 | }}}{{{#!if this.Close!=-1 | |
| 1106 | {{{#!if this.input = this.input.substring(0,this.Open)+this.input.substr(this.Open+4+this.Close+4) | |
| r105 | 1107 | }}}}}} |
| 1108 | }}} | |
| r113 | 1109 | ################################################################################## 기본 |
| 1110 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1111 | }}}{{{#!if this.Open!=-1 | |
| 1112 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1113 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1114 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1115 | }}}}}} | |
| 1116 | }}} | |
| 1117 | ##### | |
| 1118 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1119 | }}}{{{#!if this.Open!=-1 | |
| 1120 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1121 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1122 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1123 | }}}}}} | |
| 1124 | }}} | |
| 1125 | ##### | |
| 1126 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1127 | }}}{{{#!if this.Open!=-1 | |
| 1128 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1129 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1130 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1131 | }}}}}} | |
| 1132 | }}} | |
| 1133 | ##### | |
| 1134 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1135 | }}}{{{#!if this.Open!=-1 | |
| 1136 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1137 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1138 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1139 | }}}}}} | |
| 1140 | }}} | |
| 1141 | ##### | |
| 1142 | {{{#!if this.Open=this.input.indexOf("'''") | |
| 1143 | }}}{{{#!if this.Open!=-1 | |
| 1144 | {{{#!if this.Close=this.input.substring(this.Open+3).indexOf("'''") | |
| 1145 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+3,this.Close) | |
| 1146 | {{{#!if this.input = this.input.substring(0,this.Open)+'<b>'+this.Text.trim()+'</b>'+this.input.substr(this.Open+3+this.Close+3) | |
| 1147 | }}}}}} | |
| 1148 | }}} | |
| 1149 | ##### | |
| 1150 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1151 | }}}{{{#!if this.Open!=-1 | |
| 1152 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1153 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1154 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1155 | }}}}}} | |
| 1156 | }}} | |
| 1157 | ##### | |
| 1158 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1159 | }}}{{{#!if this.Open!=-1 | |
| 1160 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1161 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1162 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1163 | }}}}}} | |
| 1164 | }}} | |
| 1165 | ##### | |
| 1166 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1167 | }}}{{{#!if this.Open!=-1 | |
| 1168 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1169 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1170 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1171 | }}}}}} | |
| 1172 | }}} | |
| 1173 | ##### | |
| 1174 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1175 | }}}{{{#!if this.Open!=-1 | |
| 1176 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1177 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1178 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1179 | }}}}}} | |
| 1180 | }}} | |
| 1181 | ##### | |
| 1182 | {{{#!if this.Open=this.input.indexOf("''") | |
| 1183 | }}}{{{#!if this.Open!=-1 | |
| 1184 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("''") | |
| 1185 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1186 | {{{#!if this.input = this.input.substring(0,this.Open)+'<em>'+this.Text.trim()+'</em>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1187 | }}}}}} | |
| 1188 | }}} | |
| 1189 | ##### | |
| 1190 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1191 | }}}{{{#!if this.Open!=-1 | |
| 1192 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1193 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1194 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1195 | }}}}}} | |
| 1196 | }}} | |
| 1197 | ##### | |
| 1198 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1199 | }}}{{{#!if this.Open!=-1 | |
| 1200 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1201 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1202 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1203 | }}}}}} | |
| 1204 | }}} | |
| 1205 | ##### | |
| 1206 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1207 | }}}{{{#!if this.Open!=-1 | |
| 1208 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1209 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1210 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1211 | }}}}}} | |
| 1212 | }}} | |
| 1213 | ##### | |
| 1214 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1215 | }}}{{{#!if this.Open!=-1 | |
| 1216 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1217 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1218 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1219 | }}}}}} | |
| 1220 | }}} | |
| 1221 | ##### | |
| 1222 | {{{#!if this.Open=this.input.indexOf("--") | |
| 1223 | }}}{{{#!if this.Open!=-1 | |
| 1224 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("--") | |
| 1225 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1226 | {{{#!if this.input = this.input.substring(0,this.Open)+'<del>'+this.Text.trim()+'</del>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1227 | }}}}}} | |
| 1228 | }}} | |
| 1229 | ##### | |
| 1230 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1231 | }}}{{{#!if this.Open!=-1 | |
| 1232 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1233 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1234 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1235 | }}}}}} | |
| 1236 | }}} | |
| 1237 | ##### | |
| 1238 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1239 | }}}{{{#!if this.Open!=-1 | |
| 1240 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1241 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1242 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1243 | }}}}}} | |
| 1244 | }}} | |
| 1245 | ##### | |
| 1246 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1247 | }}}{{{#!if this.Open!=-1 | |
| 1248 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1249 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1250 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1251 | }}}}}} | |
| 1252 | }}} | |
| 1253 | ##### | |
| 1254 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1255 | }}}{{{#!if this.Open!=-1 | |
| 1256 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1257 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1258 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1259 | }}}}}} | |
| 1260 | }}} | |
| 1261 | ##### | |
| 1262 | {{{#!if this.Open=this.input.indexOf("__") | |
| 1263 | }}}{{{#!if this.Open!=-1 | |
| 1264 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("__") | |
| 1265 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1266 | {{{#!if this.input = this.input.substring(0,this.Open)+'<u>'+this.Text.trim()+'</u>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1267 | }}}}}} | |
| 1268 | }}} | |
| 1269 | ##### | |
| 1270 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1271 | }}}{{{#!if this.Open!=-1 | |
| 1272 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1273 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1274 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1275 | }}}}}} | |
| 1276 | }}} | |
| 1277 | ##### | |
| 1278 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1279 | }}}{{{#!if this.Open!=-1 | |
| 1280 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1281 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1282 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1283 | }}}}}} | |
| 1284 | }}} | |
| 1285 | ##### | |
| 1286 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1287 | }}}{{{#!if this.Open!=-1 | |
| 1288 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1289 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1290 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1291 | }}}}}} | |
| 1292 | }}} | |
| 1293 | ##### | |
| 1294 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1295 | }}}{{{#!if this.Open!=-1 | |
| 1296 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1297 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1298 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1299 | }}}}}} | |
| 1300 | }}} | |
| 1301 | ##### | |
| 1302 | {{{#!if this.Open=this.input.indexOf(",,") | |
| 1303 | }}}{{{#!if this.Open!=-1 | |
| 1304 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf(",,") | |
| 1305 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1306 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sub>'+this.Text.trim()+'</sub>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1307 | }}}}}} | |
| 1308 | }}} | |
| 1309 | ##### | |
| 1310 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1311 | }}}{{{#!if this.Open!=-1 | |
| 1312 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1313 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1314 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1315 | }}}}}} | |
| 1316 | }}} | |
| 1317 | ##### | |
| 1318 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1319 | }}}{{{#!if this.Open!=-1 | |
| 1320 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1321 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1322 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1323 | }}}}}} | |
| 1324 | }}} | |
| 1325 | ##### | |
| 1326 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1327 | }}}{{{#!if this.Open!=-1 | |
| 1328 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1329 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1330 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1331 | }}}}}} | |
| 1332 | }}} | |
| 1333 | ##### | |
| 1334 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1335 | }}}{{{#!if this.Open!=-1 | |
| 1336 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1337 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1338 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1339 | }}}}}} | |
| 1340 | }}} | |
| 1341 | ##### | |
| 1342 | {{{#!if this.Open=this.input.indexOf("^^") | |
| 1343 | }}}{{{#!if this.Open!=-1 | |
| 1344 | {{{#!if this.Close=this.input.substring(this.Open+2).indexOf("^^") | |
| 1345 | }}}{{{#!if this.Close!=-1, this.Text=this.input.substr(this.Open+2,this.Close) | |
| 1346 | {{{#!if this.input = this.input.substring(0,this.Open)+'<sup>'+this.Text.trim()+'</sup>'+this.input.substr(this.Open+2+this.Close+2) | |
| 1347 | }}}}}} | |
| 1348 | }}} | |
| r105 | 1349 | ################################################################################## 링크 |
| r113 | 1350 | {{{#!if this.DarkInput=this.input |
| r105 | 1351 | }}} |
| r113 | 1352 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' |
| 1353 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1354 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1355 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1356 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1357 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1358 | }}}{{{#!if this.divider == -1 | |
| r96 | 1359 | ##[[링크]] |
| r113 | 1360 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1361 | }}} |
| r113 | 1362 | }}}{{{#!if this.divider != -1 |
| 1363 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1364 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1365 | ##[[|]] > 출력 x |
| 1366 | }}} | |
| 1367 | }}} | |
| r113 | 1368 | {{{#!if (this.divider == 2) && !this.break |
| 1369 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1370 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1371 | }}} | |
| 1372 | }}} | |
| r113 | 1373 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1374 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1375 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1376 | }}} |
| 1377 | }}} | |
| r113 | 1378 | {{{#!if !this.break |
| 1379 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1380 | }}} |
| 1381 | }}} | |
| 1382 | }}} | |
| r113 | 1383 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1384 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1385 | }}} |
| r113 | 1386 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1387 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1388 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1389 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1390 | }}} |
| r113 | 1391 | }}}{{{#!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) |
| 1392 | }}}{{{#!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 | 1393 | }}} |
| 1394 | }}} | |
| r113 | 1395 | ##### |
| 1396 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1397 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1398 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1399 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1400 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1401 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1402 | }}}{{{#!if this.divider == -1 | |
| r96 | 1403 | ##[[링크]] |
| r113 | 1404 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1405 | }}} |
| r113 | 1406 | }}}{{{#!if this.divider != -1 |
| 1407 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1408 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1409 | ##[[|]] > 출력 x |
| 1410 | }}} | |
| 1411 | }}} | |
| r113 | 1412 | {{{#!if (this.divider == 2) && !this.break |
| 1413 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1414 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1415 | }}} | |
| 1416 | }}} | |
| r113 | 1417 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1418 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1419 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1420 | }}} |
| 1421 | }}} | |
| r113 | 1422 | {{{#!if !this.break |
| 1423 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1424 | }}} |
| 1425 | }}} | |
| 1426 | }}} | |
| r113 | 1427 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1428 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1429 | }}} |
| r113 | 1430 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1431 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1432 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1433 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1434 | }}} |
| r113 | 1435 | }}}{{{#!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) |
| 1436 | }}}{{{#!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 | 1437 | }}} |
| 1438 | }}} | |
| r113 | 1439 | ##### |
| 1440 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1441 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1442 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1443 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1444 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1445 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1446 | }}}{{{#!if this.divider == -1 | |
| r96 | 1447 | ##[[링크]] |
| r113 | 1448 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1449 | }}} |
| r113 | 1450 | }}}{{{#!if this.divider != -1 |
| 1451 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1452 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1453 | ##[[|]] > 출력 x |
| 1454 | }}} | |
| 1455 | }}} | |
| r113 | 1456 | {{{#!if (this.divider == 2) && !this.break |
| 1457 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1458 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1459 | }}} | |
| 1460 | }}} | |
| r113 | 1461 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1462 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1463 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1464 | }}} |
| 1465 | }}} | |
| r113 | 1466 | {{{#!if !this.break |
| 1467 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1468 | }}} |
| 1469 | }}} | |
| 1470 | }}} | |
| r113 | 1471 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1472 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1473 | }}} |
| r113 | 1474 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1475 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1476 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1477 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1478 | }}} |
| r113 | 1479 | }}}{{{#!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) |
| 1480 | }}}{{{#!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 | 1481 | }}} |
| 1482 | }}} | |
| r113 | 1483 | ##### |
| 1484 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1485 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1486 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1487 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1488 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1489 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1490 | }}}{{{#!if this.divider == -1 | |
| r96 | 1491 | ##[[링크]] |
| r113 | 1492 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1493 | }}} |
| r113 | 1494 | }}}{{{#!if this.divider != -1 |
| 1495 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1496 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1497 | ##[[|]] > 출력 x |
| 1498 | }}} | |
| 1499 | }}} | |
| r113 | 1500 | {{{#!if (this.divider == 2) && !this.break |
| 1501 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1502 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1503 | }}} | |
| 1504 | }}} | |
| r113 | 1505 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1506 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1507 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1508 | }}} |
| 1509 | }}} | |
| r113 | 1510 | {{{#!if !this.break |
| 1511 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1512 | }}} |
| 1513 | }}} | |
| 1514 | }}} | |
| r113 | 1515 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1516 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1517 | }}} |
| r113 | 1518 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1519 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1520 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1521 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1522 | }}} |
| r113 | 1523 | }}}{{{#!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) |
| 1524 | }}}{{{#!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 | 1525 | }}} |
| 1526 | }}} | |
| r113 | 1527 | ##### |
| 1528 | {{{#!if this.Href = null, this.linkPrint = null, this.break = false, this.linkColor='#0275d8', this.DarkLinkColor='#e69720', this.outLink='' | |
| 1529 | }}}{{{#!if this.linkOpen = this.input.indexOf('[['), this.linkClose = this.input.indexOf(']]') | |
| 1530 | }}}{{{#!if this.linkRaw = this.input.substring(this.linkOpen, this.linkClose+2) | |
| 1531 | }}}{{{#!if this.linkOpen != -1 && this.linkClose != -1 && this.linkOpen+2 < this.linkClose | |
| 1532 | ## [[]] 인 경우 this.linkOpen+2 == this.linkClose 임 ^^^^^^^^^^^^^^^^^^^^^^ | |
| 1533 | {{{#!if this.divider = this.linkRaw.indexOf('|') | |
| 1534 | }}}{{{#!if this.divider == -1 | |
| r96 | 1535 | ##[[링크]] |
| r113 | 1536 | {{{#!if this.Href = this.linkRaw.substring(2, this.linkRaw.length-2), this.linkPrint=this.Href |
| r96 | 1537 | }}} |
| r113 | 1538 | }}}{{{#!if this.divider != -1 |
| 1539 | {{{#!if (this.divider == 2) && (this.divider+1 == this.linkRaw.length-2) | |
| 1540 | {{{#!if this.break = true, this.input = this.input.substring(0, this.linkOpen) + this.input.substring(this.linkClose+2) | |
| r96 | 1541 | ##[[|]] > 출력 x |
| 1542 | }}} | |
| 1543 | }}} | |
| r113 | 1544 | {{{#!if (this.divider == 2) && !this.break |
| 1545 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2), this.linkPrint = this.Href | |
| r96 | 1546 | ##[[|링크]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| 1547 | }}} | |
| 1548 | }}} | |
| r113 | 1549 | {{{#!if (this.divider+1 == this.linkRaw.length-2) && !this.break |
| r96 | 1550 | ##[[링크|]], 원래는 자기 자신을 링크하지만 그건 귀찮으니 그냥 입력받은 값을 출력하기로. |
| r113 | 1551 | {{{#!if this.break = true, this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.Href |
| r96 | 1552 | }}} |
| 1553 | }}} | |
| r113 | 1554 | {{{#!if !this.break |
| 1555 | {{{#!if this.Href = this.linkRaw.substring(2, this.divider), this.linkPrint = this.linkRaw.substring(this.divider+1, this.linkRaw.length-2) | |
| r96 | 1556 | }}} |
| 1557 | }}} | |
| 1558 | }}} | |
| r113 | 1559 | {{{#!if this.isLink = (this.Href.startsWith('https://') || this.Href.startsWith('http://') || this.Href.startsWith('ftp://')), this.isLink |
| 1560 | {{{#!if this.linkColor = 'none', this.DarkLinkColor = 'none', this.outLink = 'asdf' | |
| r96 | 1561 | }}} |
| r113 | 1562 | }}}{{{#!if this.isCategory = (this.Href.startsWith('분류:')), this.isCategory |
| r96 | 1563 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| r113 | 1564 | }}}{{{#!if !(this.isCategory || this.isLink) |
| 1565 | {{{#!if this.Href = 'https://theseed.io/w/'+this.Href | |
| r96 | 1566 | }}} |
| r113 | 1567 | }}}{{{#!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) |
| 1568 | }}}{{{#!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 | 1569 | }}} |
| 1570 | }}} | |
| r113 | 1571 | {{{#!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 | 1572 | }}} |
| r113 | 1573 | ####################################################################################################################################### 중괄호사용 |
| 1574 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1575 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1576 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 1577 | }}} |
| r113 | 1578 | {{{#!if this._ParOpen == -1 |
| 1579 | {{{#!if this.Match=true | |
| r77 | 1580 | }}} |
| r113 | 1581 | }}}{{{#!if this._ParOpen != -1 |
| 1582 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 1583 | }}} |
| 1584 | }}} | |
| r113 | 1585 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1586 | }}} |
| r113 | 1587 | {{{#!if this._ParOpen == -1 |
| 1588 | {{{#!if this.Match=true | |
| r77 | 1589 | }}} |
| r113 | 1590 | }}}{{{#!if this._ParOpen != -1 |
| 1591 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1592 | }}} |
| 1593 | }}} | |
| r113 | 1594 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1595 | }}} |
| r113 | 1596 | {{{#!if this._ParOpen == -1 |
| 1597 | {{{#!if this.Match=true | |
| r77 | 1598 | }}} |
| r113 | 1599 | }}}{{{#!if this._ParOpen != -1 |
| 1600 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1601 | }}} |
| 1602 | }}} | |
| r113 | 1603 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1604 | }}} |
| r113 | 1605 | {{{#!if this._ParOpen == -1 |
| 1606 | {{{#!if this.Match=true | |
| r85 | 1607 | }}} |
| r113 | 1608 | }}}{{{#!if this._ParOpen != -1 |
| 1609 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1610 | }}} |
| 1611 | }}} | |
| r113 | 1612 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1613 | }}} |
| r113 | 1614 | {{{#!if this._ParOpen == -1 |
| 1615 | {{{#!if this.Match=true | |
| r85 | 1616 | }}} |
| r113 | 1617 | }}}{{{#!if this._ParOpen != -1 |
| 1618 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1619 | }}} |
| 1620 | }}} | |
| r113 | 1621 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1622 | }}} |
| r113 | 1623 | {{{#!if this._ParOpen == -1 |
| 1624 | {{{#!if this.Match=true | |
| r85 | 1625 | }}} |
| r113 | 1626 | }}}{{{#!if this._ParOpen != -1 |
| 1627 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1628 | }}} |
| 1629 | }}} | |
| r113 | 1630 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1631 | }}} |
| r113 | 1632 | {{{#!if this._ParOpen == -1 |
| 1633 | {{{#!if this.Match=true | |
| r85 | 1634 | }}} |
| r113 | 1635 | }}}{{{#!if this._ParOpen != -1 |
| 1636 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1637 | }}} |
| 1638 | }}} | |
| 1639 | }}} | |
| r113 | 1640 | ##### |
| 1641 | {{{#!if this.Match | |
| 1642 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1643 | {{{#!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 | 1644 | }}} |
| 1645 | }}} | |
| r113 | 1646 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1647 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1648 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1649 | {{{#!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) | |
| 1650 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1651 | }}} |
| 1652 | }}} | |
| 1653 | }}} | |
| r113 | 1654 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1655 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1656 | }}}{{{#!if this.Blank!=-1 | |
| 1657 | {{{#!if this.Comma != -1 | |
| 1658 | {{{#!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 | 1659 | }}} |
| 1660 | }}} | |
| r113 | 1661 | {{{#!if this.Comma == -1 |
| 1662 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 1663 | }}} |
| r113 | 1664 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1665 | }}}{{{#!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 | 1666 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 1667 | }}} |
| 1668 | }}} | |
| 1669 | }}} | |
| r113 | 1670 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1671 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1672 | }}}{{{#!if this.Blank==5 | |
| 1673 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1674 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1675 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1676 | }}}{{{#!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 | 1677 | }}} |
| 1678 | }}} | |
| 1679 | }}} | |
| 1680 | }}} | |
| 1681 | }}} | |
| r113 | 1682 | ##### |
| 1683 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1684 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1685 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 1686 | }}} |
| r113 | 1687 | {{{#!if this._ParOpen == -1 |
| 1688 | {{{#!if this.Match=true | |
| r95 | 1689 | }}} |
| r113 | 1690 | }}}{{{#!if this._ParOpen != -1 |
| 1691 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 1692 | }}} |
| 1693 | }}} | |
| r113 | 1694 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1695 | }}} |
| r113 | 1696 | {{{#!if this._ParOpen == -1 |
| 1697 | {{{#!if this.Match=true | |
| r95 | 1698 | }}} |
| r113 | 1699 | }}}{{{#!if this._ParOpen != -1 |
| 1700 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1701 | }}} |
| 1702 | }}} | |
| r113 | 1703 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1704 | }}} |
| r113 | 1705 | {{{#!if this._ParOpen == -1 |
| 1706 | {{{#!if this.Match=true | |
| r95 | 1707 | }}} |
| r113 | 1708 | }}}{{{#!if this._ParOpen != -1 |
| 1709 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1710 | }}} |
| 1711 | }}} | |
| r113 | 1712 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1713 | }}} |
| r113 | 1714 | {{{#!if this._ParOpen == -1 |
| 1715 | {{{#!if this.Match=true | |
| r95 | 1716 | }}} |
| r113 | 1717 | }}}{{{#!if this._ParOpen != -1 |
| 1718 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1719 | }}} |
| 1720 | }}} | |
| r113 | 1721 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1722 | }}} |
| r113 | 1723 | {{{#!if this._ParOpen == -1 |
| 1724 | {{{#!if this.Match=true | |
| r95 | 1725 | }}} |
| r113 | 1726 | }}}{{{#!if this._ParOpen != -1 |
| 1727 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1728 | }}} |
| 1729 | }}} | |
| r113 | 1730 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1731 | }}} |
| r113 | 1732 | {{{#!if this._ParOpen == -1 |
| 1733 | {{{#!if this.Match=true | |
| r95 | 1734 | }}} |
| r113 | 1735 | }}}{{{#!if this._ParOpen != -1 |
| 1736 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1737 | }}} |
| 1738 | }}} | |
| r113 | 1739 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1740 | }}} |
| r113 | 1741 | {{{#!if this._ParOpen == -1 |
| 1742 | {{{#!if this.Match=true | |
| r95 | 1743 | }}} |
| r113 | 1744 | }}}{{{#!if this._ParOpen != -1 |
| 1745 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1746 | }}} |
| 1747 | }}} | |
| 1748 | }}} | |
| r113 | 1749 | ##### |
| 1750 | {{{#!if this.Match | |
| 1751 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1752 | {{{#!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 | 1753 | }}} |
| r95 | 1754 | }}} |
| r113 | 1755 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1756 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1757 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1758 | {{{#!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) | |
| 1759 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1760 | }}} |
| 1761 | }}} | |
| 1762 | }}} | |
| r113 | 1763 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1764 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1765 | }}}{{{#!if this.Blank!=-1 | |
| 1766 | {{{#!if this.Comma != -1 | |
| 1767 | {{{#!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 | 1768 | }}} |
| 1769 | }}} | |
| r113 | 1770 | {{{#!if this.Comma == -1 |
| 1771 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 1772 | }}} |
| r113 | 1773 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1774 | }}}{{{#!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 | 1775 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1776 | }}} | |
| 1777 | }}} | |
| 1778 | }}} | |
| r113 | 1779 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1780 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1781 | }}}{{{#!if this.Blank==5 | |
| 1782 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1783 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1784 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1785 | }}}{{{#!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 | 1786 | }}} |
| 1787 | }}} | |
| 1788 | }}} | |
| 1789 | }}} | |
| r85 | 1790 | }}} |
| r113 | 1791 | ##### |
| 1792 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1793 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1794 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 1795 | }}} |
| r113 | 1796 | {{{#!if this._ParOpen == -1 |
| 1797 | {{{#!if this.Match=true | |
| r77 | 1798 | }}} |
| r113 | 1799 | }}}{{{#!if this._ParOpen != -1 |
| 1800 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 1801 | }}} |
| 1802 | }}} | |
| r113 | 1803 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1804 | }}} |
| r113 | 1805 | {{{#!if this._ParOpen == -1 |
| 1806 | {{{#!if this.Match=true | |
| r77 | 1807 | }}} |
| r113 | 1808 | }}}{{{#!if this._ParOpen != -1 |
| 1809 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1810 | }}} |
| 1811 | }}} | |
| r113 | 1812 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1813 | }}} |
| r113 | 1814 | {{{#!if this._ParOpen == -1 |
| 1815 | {{{#!if this.Match=true | |
| r77 | 1816 | }}} |
| r113 | 1817 | }}}{{{#!if this._ParOpen != -1 |
| 1818 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 1819 | }}} |
| 1820 | }}} | |
| r113 | 1821 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 1822 | }}} |
| r113 | 1823 | {{{#!if this._ParOpen == -1 |
| 1824 | {{{#!if this.Match=true | |
| r85 | 1825 | }}} |
| r113 | 1826 | }}}{{{#!if this._ParOpen != -1 |
| 1827 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1828 | }}} |
| 1829 | }}} | |
| r113 | 1830 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1831 | }}} |
| r113 | 1832 | {{{#!if this._ParOpen == -1 |
| 1833 | {{{#!if this.Match=true | |
| r85 | 1834 | }}} |
| r113 | 1835 | }}}{{{#!if this._ParOpen != -1 |
| 1836 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1837 | }}} |
| 1838 | }}} | |
| r113 | 1839 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1840 | }}} |
| r113 | 1841 | {{{#!if this._ParOpen == -1 |
| 1842 | {{{#!if this.Match=true | |
| r85 | 1843 | }}} |
| r113 | 1844 | }}}{{{#!if this._ParOpen != -1 |
| 1845 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1846 | }}} |
| 1847 | }}} | |
| r113 | 1848 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 1849 | }}} |
| r113 | 1850 | {{{#!if this._ParOpen == -1 |
| 1851 | {{{#!if this.Match=true | |
| r85 | 1852 | }}} |
| r113 | 1853 | }}}{{{#!if this._ParOpen != -1 |
| 1854 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 1855 | }}} |
| 1856 | }}} | |
| 1857 | }}} | |
| r113 | 1858 | ##### |
| 1859 | {{{#!if this.Match | |
| 1860 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1861 | {{{#!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 | 1862 | }}} |
| 1863 | }}} | |
| r113 | 1864 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1865 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1866 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1867 | {{{#!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) | |
| 1868 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 1869 | }}} |
| 1870 | }}} | |
| 1871 | }}} | |
| r113 | 1872 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1873 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1874 | }}}{{{#!if this.Blank!=-1 | |
| 1875 | {{{#!if this.Comma != -1 | |
| 1876 | {{{#!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 | 1877 | }}} |
| 1878 | }}} | |
| r113 | 1879 | {{{#!if this.Comma == -1 |
| 1880 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 1881 | }}} |
| r113 | 1882 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1883 | }}}{{{#!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 | 1884 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 1885 | }}} |
| 1886 | }}} | |
| 1887 | }}} | |
| r113 | 1888 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1889 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1890 | }}}{{{#!if this.Blank==5 | |
| 1891 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 1892 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 1893 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 1894 | }}}{{{#!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 | 1895 | }}} |
| 1896 | }}} | |
| 1897 | }}} | |
| 1898 | }}} | |
| 1899 | }}} | |
| r113 | 1900 | ##### |
| 1901 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 1902 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 1903 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 1904 | }}} |
| r113 | 1905 | {{{#!if this._ParOpen == -1 |
| 1906 | {{{#!if this.Match=true | |
| r95 | 1907 | }}} |
| r113 | 1908 | }}}{{{#!if this._ParOpen != -1 |
| 1909 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 1910 | }}} |
| 1911 | }}} | |
| r113 | 1912 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1913 | }}} |
| r113 | 1914 | {{{#!if this._ParOpen == -1 |
| 1915 | {{{#!if this.Match=true | |
| r95 | 1916 | }}} |
| r113 | 1917 | }}}{{{#!if this._ParOpen != -1 |
| 1918 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1919 | }}} |
| 1920 | }}} | |
| r113 | 1921 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1922 | }}} |
| r113 | 1923 | {{{#!if this._ParOpen == -1 |
| 1924 | {{{#!if this.Match=true | |
| r95 | 1925 | }}} |
| r113 | 1926 | }}}{{{#!if this._ParOpen != -1 |
| 1927 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1928 | }}} |
| 1929 | }}} | |
| r113 | 1930 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1931 | }}} |
| r113 | 1932 | {{{#!if this._ParOpen == -1 |
| 1933 | {{{#!if this.Match=true | |
| r95 | 1934 | }}} |
| r113 | 1935 | }}}{{{#!if this._ParOpen != -1 |
| 1936 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1937 | }}} |
| 1938 | }}} | |
| r113 | 1939 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1940 | }}} |
| r113 | 1941 | {{{#!if this._ParOpen == -1 |
| 1942 | {{{#!if this.Match=true | |
| r95 | 1943 | }}} |
| r113 | 1944 | }}}{{{#!if this._ParOpen != -1 |
| 1945 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1946 | }}} |
| 1947 | }}} | |
| r113 | 1948 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1949 | }}} |
| r113 | 1950 | {{{#!if this._ParOpen == -1 |
| 1951 | {{{#!if this.Match=true | |
| r95 | 1952 | }}} |
| r113 | 1953 | }}}{{{#!if this._ParOpen != -1 |
| 1954 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1955 | }}} |
| 1956 | }}} | |
| r113 | 1957 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 1958 | }}} |
| r113 | 1959 | {{{#!if this._ParOpen == -1 |
| 1960 | {{{#!if this.Match=true | |
| r95 | 1961 | }}} |
| r113 | 1962 | }}}{{{#!if this._ParOpen != -1 |
| 1963 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 1964 | }}} |
| 1965 | }}} | |
| 1966 | }}} | |
| r113 | 1967 | ##### |
| 1968 | {{{#!if this.Match | |
| 1969 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 1970 | {{{#!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 | 1971 | }}} |
| r95 | 1972 | }}} |
| r113 | 1973 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 1974 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 1975 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 1976 | {{{#!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) | |
| 1977 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 1978 | }}} |
| 1979 | }}} | |
| 1980 | }}} | |
| r113 | 1981 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 1982 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 1983 | }}}{{{#!if this.Blank!=-1 | |
| 1984 | {{{#!if this.Comma != -1 | |
| 1985 | {{{#!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 | 1986 | }}} |
| 1987 | }}} | |
| r113 | 1988 | {{{#!if this.Comma == -1 |
| 1989 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 1990 | }}} |
| r113 | 1991 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 1992 | }}}{{{#!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 | 1993 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 1994 | }}} | |
| 1995 | }}} | |
| 1996 | }}} | |
| r113 | 1997 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 1998 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 1999 | }}}{{{#!if this.Blank==5 | |
| 2000 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2001 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2002 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2003 | }}}{{{#!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 | 2004 | }}} |
| 2005 | }}} | |
| 2006 | }}} | |
| 2007 | }}} | |
| r85 | 2008 | }}} |
| r113 | 2009 | ##### |
| 2010 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2011 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2012 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2013 | }}} |
| r113 | 2014 | {{{#!if this._ParOpen == -1 |
| 2015 | {{{#!if this.Match=true | |
| r77 | 2016 | }}} |
| r113 | 2017 | }}}{{{#!if this._ParOpen != -1 |
| 2018 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2019 | }}} |
| 2020 | }}} | |
| r113 | 2021 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2022 | }}} |
| r113 | 2023 | {{{#!if this._ParOpen == -1 |
| 2024 | {{{#!if this.Match=true | |
| r77 | 2025 | }}} |
| r113 | 2026 | }}}{{{#!if this._ParOpen != -1 |
| 2027 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2028 | }}} |
| 2029 | }}} | |
| r113 | 2030 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2031 | }}} |
| r113 | 2032 | {{{#!if this._ParOpen == -1 |
| 2033 | {{{#!if this.Match=true | |
| r77 | 2034 | }}} |
| r113 | 2035 | }}}{{{#!if this._ParOpen != -1 |
| 2036 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2037 | }}} |
| 2038 | }}} | |
| r113 | 2039 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2040 | }}} |
| r113 | 2041 | {{{#!if this._ParOpen == -1 |
| 2042 | {{{#!if this.Match=true | |
| r85 | 2043 | }}} |
| r113 | 2044 | }}}{{{#!if this._ParOpen != -1 |
| 2045 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2046 | }}} |
| 2047 | }}} | |
| r113 | 2048 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2049 | }}} |
| r113 | 2050 | {{{#!if this._ParOpen == -1 |
| 2051 | {{{#!if this.Match=true | |
| r85 | 2052 | }}} |
| r113 | 2053 | }}}{{{#!if this._ParOpen != -1 |
| 2054 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2055 | }}} |
| 2056 | }}} | |
| r113 | 2057 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2058 | }}} |
| r113 | 2059 | {{{#!if this._ParOpen == -1 |
| 2060 | {{{#!if this.Match=true | |
| r85 | 2061 | }}} |
| r113 | 2062 | }}}{{{#!if this._ParOpen != -1 |
| 2063 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2064 | }}} |
| 2065 | }}} | |
| r113 | 2066 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2067 | }}} |
| r113 | 2068 | {{{#!if this._ParOpen == -1 |
| 2069 | {{{#!if this.Match=true | |
| r85 | 2070 | }}} |
| r113 | 2071 | }}}{{{#!if this._ParOpen != -1 |
| 2072 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2073 | }}} |
| 2074 | }}} | |
| 2075 | }}} | |
| r113 | 2076 | ##### |
| 2077 | {{{#!if this.Match | |
| 2078 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2079 | {{{#!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 | 2080 | }}} |
| 2081 | }}} | |
| r113 | 2082 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2083 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2084 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2085 | {{{#!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) | |
| 2086 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2087 | }}} |
| 2088 | }}} | |
| 2089 | }}} | |
| r113 | 2090 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2091 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2092 | }}}{{{#!if this.Blank!=-1 | |
| 2093 | {{{#!if this.Comma != -1 | |
| 2094 | {{{#!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 | 2095 | }}} |
| 2096 | }}} | |
| r113 | 2097 | {{{#!if this.Comma == -1 |
| 2098 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2099 | }}} |
| r113 | 2100 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2101 | }}}{{{#!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 | 2102 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2103 | }}} |
| 2104 | }}} | |
| 2105 | }}} | |
| r113 | 2106 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2107 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2108 | }}}{{{#!if this.Blank==5 | |
| 2109 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2110 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2111 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2112 | }}}{{{#!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 | 2113 | }}} |
| 2114 | }}} | |
| 2115 | }}} | |
| 2116 | }}} | |
| 2117 | }}} | |
| r113 | 2118 | ##### |
| 2119 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2120 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2121 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 2122 | }}} |
| r113 | 2123 | {{{#!if this._ParOpen == -1 |
| 2124 | {{{#!if this.Match=true | |
| r95 | 2125 | }}} |
| r113 | 2126 | }}}{{{#!if this._ParOpen != -1 |
| 2127 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 2128 | }}} |
| 2129 | }}} | |
| r113 | 2130 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2131 | }}} |
| r113 | 2132 | {{{#!if this._ParOpen == -1 |
| 2133 | {{{#!if this.Match=true | |
| r95 | 2134 | }}} |
| r113 | 2135 | }}}{{{#!if this._ParOpen != -1 |
| 2136 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2137 | }}} |
| 2138 | }}} | |
| r113 | 2139 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2140 | }}} |
| r113 | 2141 | {{{#!if this._ParOpen == -1 |
| 2142 | {{{#!if this.Match=true | |
| r95 | 2143 | }}} |
| r113 | 2144 | }}}{{{#!if this._ParOpen != -1 |
| 2145 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2146 | }}} |
| 2147 | }}} | |
| r113 | 2148 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2149 | }}} |
| r113 | 2150 | {{{#!if this._ParOpen == -1 |
| 2151 | {{{#!if this.Match=true | |
| r95 | 2152 | }}} |
| r113 | 2153 | }}}{{{#!if this._ParOpen != -1 |
| 2154 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2155 | }}} |
| 2156 | }}} | |
| r113 | 2157 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2158 | }}} |
| r113 | 2159 | {{{#!if this._ParOpen == -1 |
| 2160 | {{{#!if this.Match=true | |
| r95 | 2161 | }}} |
| r113 | 2162 | }}}{{{#!if this._ParOpen != -1 |
| 2163 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2164 | }}} |
| 2165 | }}} | |
| r113 | 2166 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2167 | }}} |
| r113 | 2168 | {{{#!if this._ParOpen == -1 |
| 2169 | {{{#!if this.Match=true | |
| r95 | 2170 | }}} |
| r113 | 2171 | }}}{{{#!if this._ParOpen != -1 |
| 2172 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2173 | }}} |
| 2174 | }}} | |
| r113 | 2175 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 2176 | }}} |
| r113 | 2177 | {{{#!if this._ParOpen == -1 |
| 2178 | {{{#!if this.Match=true | |
| r95 | 2179 | }}} |
| r113 | 2180 | }}}{{{#!if this._ParOpen != -1 |
| 2181 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 2182 | }}} |
| 2183 | }}} | |
| 2184 | }}} | |
| r113 | 2185 | ##### |
| 2186 | {{{#!if this.Match | |
| 2187 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2188 | {{{#!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 | 2189 | }}} |
| r95 | 2190 | }}} |
| r113 | 2191 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2192 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2193 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2194 | {{{#!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) | |
| 2195 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r95 | 2196 | }}} |
| 2197 | }}} | |
| 2198 | }}} | |
| r113 | 2199 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2200 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2201 | }}}{{{#!if this.Blank!=-1 | |
| 2202 | {{{#!if this.Comma != -1 | |
| 2203 | {{{#!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 | 2204 | }}} |
| 2205 | }}} | |
| r113 | 2206 | {{{#!if this.Comma == -1 |
| 2207 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 2208 | }}} |
| r113 | 2209 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2210 | }}}{{{#!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 | 2211 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2212 | }}} | |
| 2213 | }}} | |
| 2214 | }}} | |
| r113 | 2215 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2216 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2217 | }}}{{{#!if this.Blank==5 | |
| 2218 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2219 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2220 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2221 | }}}{{{#!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 | 2222 | }}} |
| 2223 | }}} | |
| 2224 | }}} | |
| 2225 | }}} | |
| r85 | 2226 | }}} |
| r113 | 2227 | ##### |
| 2228 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2229 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2230 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2231 | }}} |
| r113 | 2232 | {{{#!if this._ParOpen == -1 |
| 2233 | {{{#!if this.Match=true | |
| r77 | 2234 | }}} |
| r113 | 2235 | }}}{{{#!if this._ParOpen != -1 |
| 2236 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2237 | }}} |
| 2238 | }}} | |
| r113 | 2239 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2240 | }}} |
| r113 | 2241 | {{{#!if this._ParOpen == -1 |
| 2242 | {{{#!if this.Match=true | |
| r77 | 2243 | }}} |
| r113 | 2244 | }}}{{{#!if this._ParOpen != -1 |
| 2245 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2246 | }}} |
| 2247 | }}} | |
| r113 | 2248 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2249 | }}} |
| r113 | 2250 | {{{#!if this._ParOpen == -1 |
| 2251 | {{{#!if this.Match=true | |
| r77 | 2252 | }}} |
| r113 | 2253 | }}}{{{#!if this._ParOpen != -1 |
| 2254 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2255 | }}} |
| 2256 | }}} | |
| r113 | 2257 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2258 | }}} |
| r113 | 2259 | {{{#!if this._ParOpen == -1 |
| 2260 | {{{#!if this.Match=true | |
| r85 | 2261 | }}} |
| r113 | 2262 | }}}{{{#!if this._ParOpen != -1 |
| 2263 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2264 | }}} |
| 2265 | }}} | |
| r113 | 2266 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2267 | }}} |
| r113 | 2268 | {{{#!if this._ParOpen == -1 |
| 2269 | {{{#!if this.Match=true | |
| r85 | 2270 | }}} |
| r113 | 2271 | }}}{{{#!if this._ParOpen != -1 |
| 2272 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2273 | }}} |
| 2274 | }}} | |
| r113 | 2275 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2276 | }}} |
| r113 | 2277 | {{{#!if this._ParOpen == -1 |
| 2278 | {{{#!if this.Match=true | |
| r85 | 2279 | }}} |
| r113 | 2280 | }}}{{{#!if this._ParOpen != -1 |
| 2281 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2282 | }}} |
| 2283 | }}} | |
| r113 | 2284 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2285 | }}} |
| r113 | 2286 | {{{#!if this._ParOpen == -1 |
| 2287 | {{{#!if this.Match=true | |
| r85 | 2288 | }}} |
| r113 | 2289 | }}}{{{#!if this._ParOpen != -1 |
| 2290 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2291 | }}} |
| 2292 | }}} | |
| 2293 | }}} | |
| r113 | 2294 | ##### |
| 2295 | {{{#!if this.Match | |
| 2296 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2297 | {{{#!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 | 2298 | }}} |
| 2299 | }}} | |
| r113 | 2300 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2301 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2302 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2303 | {{{#!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) | |
| 2304 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2305 | }}} |
| 2306 | }}} | |
| 2307 | }}} | |
| r113 | 2308 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2309 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2310 | }}}{{{#!if this.Blank!=-1 | |
| 2311 | {{{#!if this.Comma != -1 | |
| 2312 | {{{#!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 | 2313 | }}} |
| 2314 | }}} | |
| r113 | 2315 | {{{#!if this.Comma == -1 |
| 2316 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2317 | }}} |
| r113 | 2318 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2319 | }}}{{{#!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 | 2320 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2321 | }}} |
| 2322 | }}} | |
| 2323 | }}} | |
| r113 | 2324 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2325 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2326 | }}}{{{#!if this.Blank==5 | |
| 2327 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2328 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2329 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2330 | }}}{{{#!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 | 2331 | }}} |
| 2332 | }}} | |
| 2333 | }}} | |
| 2334 | }}} | |
| r85 | 2335 | }}} |
| r113 | 2336 | ##### |
| 2337 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2338 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2339 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2340 | }}} |
| r113 | 2341 | {{{#!if this._ParOpen == -1 |
| 2342 | {{{#!if this.Match=true | |
| r77 | 2343 | }}} |
| r113 | 2344 | }}}{{{#!if this._ParOpen != -1 |
| 2345 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2346 | }}} |
| 2347 | }}} | |
| r113 | 2348 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2349 | }}} |
| r113 | 2350 | {{{#!if this._ParOpen == -1 |
| 2351 | {{{#!if this.Match=true | |
| r77 | 2352 | }}} |
| r113 | 2353 | }}}{{{#!if this._ParOpen != -1 |
| 2354 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2355 | }}} |
| 2356 | }}} | |
| r113 | 2357 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2358 | }}} |
| r113 | 2359 | {{{#!if this._ParOpen == -1 |
| 2360 | {{{#!if this.Match=true | |
| r77 | 2361 | }}} |
| r113 | 2362 | }}}{{{#!if this._ParOpen != -1 |
| 2363 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2364 | }}} |
| 2365 | }}} | |
| r113 | 2366 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2367 | }}} |
| r113 | 2368 | {{{#!if this._ParOpen == -1 |
| 2369 | {{{#!if this.Match=true | |
| r85 | 2370 | }}} |
| r113 | 2371 | }}}{{{#!if this._ParOpen != -1 |
| 2372 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2373 | }}} |
| 2374 | }}} | |
| r113 | 2375 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2376 | }}} |
| r113 | 2377 | {{{#!if this._ParOpen == -1 |
| 2378 | {{{#!if this.Match=true | |
| r85 | 2379 | }}} |
| r113 | 2380 | }}}{{{#!if this._ParOpen != -1 |
| 2381 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2382 | }}} |
| 2383 | }}} | |
| r113 | 2384 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2385 | }}} |
| r113 | 2386 | {{{#!if this._ParOpen == -1 |
| 2387 | {{{#!if this.Match=true | |
| r85 | 2388 | }}} |
| r113 | 2389 | }}}{{{#!if this._ParOpen != -1 |
| 2390 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2391 | }}} |
| 2392 | }}} | |
| r113 | 2393 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2394 | }}} |
| r113 | 2395 | {{{#!if this._ParOpen == -1 |
| 2396 | {{{#!if this.Match=true | |
| r85 | 2397 | }}} |
| r113 | 2398 | }}}{{{#!if this._ParOpen != -1 |
| 2399 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2400 | }}} |
| 2401 | }}} | |
| 2402 | }}} | |
| r113 | 2403 | ##### |
| 2404 | {{{#!if this.Match | |
| 2405 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2406 | {{{#!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 | 2407 | }}} |
| 2408 | }}} | |
| r113 | 2409 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2410 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2411 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2412 | {{{#!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) | |
| 2413 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2414 | }}} |
| 2415 | }}} | |
| 2416 | }}} | |
| r113 | 2417 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2418 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2419 | }}}{{{#!if this.Blank!=-1 | |
| 2420 | {{{#!if this.Comma != -1 | |
| 2421 | {{{#!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 | 2422 | }}} |
| 2423 | }}} | |
| r113 | 2424 | {{{#!if this.Comma == -1 |
| 2425 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2426 | }}} |
| r113 | 2427 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2428 | }}}{{{#!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 | 2429 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2430 | }}} |
| 2431 | }}} | |
| 2432 | }}} | |
| r113 | 2433 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2434 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2435 | }}}{{{#!if this.Blank==5 | |
| 2436 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2437 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2438 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2439 | }}}{{{#!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 | 2440 | }}} |
| 2441 | }}} | |
| 2442 | }}} | |
| 2443 | }}} | |
| r85 | 2444 | }}} |
| r113 | 2445 | ##### |
| 2446 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2447 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2448 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2449 | }}} |
| r113 | 2450 | {{{#!if this._ParOpen == -1 |
| 2451 | {{{#!if this.Match=true | |
| r77 | 2452 | }}} |
| r113 | 2453 | }}}{{{#!if this._ParOpen != -1 |
| 2454 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2455 | }}} |
| 2456 | }}} | |
| r113 | 2457 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2458 | }}} |
| r113 | 2459 | {{{#!if this._ParOpen == -1 |
| 2460 | {{{#!if this.Match=true | |
| r77 | 2461 | }}} |
| r113 | 2462 | }}}{{{#!if this._ParOpen != -1 |
| 2463 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2464 | }}} |
| 2465 | }}} | |
| r113 | 2466 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2467 | }}} |
| r113 | 2468 | {{{#!if this._ParOpen == -1 |
| 2469 | {{{#!if this.Match=true | |
| r77 | 2470 | }}} |
| r113 | 2471 | }}}{{{#!if this._ParOpen != -1 |
| 2472 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2473 | }}} |
| 2474 | }}} | |
| r113 | 2475 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2476 | }}} |
| r113 | 2477 | {{{#!if this._ParOpen == -1 |
| 2478 | {{{#!if this.Match=true | |
| r85 | 2479 | }}} |
| r113 | 2480 | }}}{{{#!if this._ParOpen != -1 |
| 2481 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2482 | }}} |
| 2483 | }}} | |
| r113 | 2484 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2485 | }}} |
| r113 | 2486 | {{{#!if this._ParOpen == -1 |
| 2487 | {{{#!if this.Match=true | |
| r85 | 2488 | }}} |
| r113 | 2489 | }}}{{{#!if this._ParOpen != -1 |
| 2490 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2491 | }}} |
| 2492 | }}} | |
| r113 | 2493 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2494 | }}} |
| r113 | 2495 | {{{#!if this._ParOpen == -1 |
| 2496 | {{{#!if this.Match=true | |
| r85 | 2497 | }}} |
| r113 | 2498 | }}}{{{#!if this._ParOpen != -1 |
| 2499 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2500 | }}} |
| 2501 | }}} | |
| r113 | 2502 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2503 | }}} |
| r113 | 2504 | {{{#!if this._ParOpen == -1 |
| 2505 | {{{#!if this.Match=true | |
| r85 | 2506 | }}} |
| r113 | 2507 | }}}{{{#!if this._ParOpen != -1 |
| 2508 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2509 | }}} |
| 2510 | }}} | |
| 2511 | }}} | |
| r113 | 2512 | ##### |
| 2513 | {{{#!if this.Match | |
| 2514 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2515 | {{{#!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 | 2516 | }}} |
| 2517 | }}} | |
| r113 | 2518 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2519 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2520 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2521 | {{{#!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) | |
| 2522 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2523 | }}} |
| 2524 | }}} | |
| 2525 | }}} | |
| r113 | 2526 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2527 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2528 | }}}{{{#!if this.Blank!=-1 | |
| 2529 | {{{#!if this.Comma != -1 | |
| 2530 | {{{#!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 | 2531 | }}} |
| 2532 | }}} | |
| r113 | 2533 | {{{#!if this.Comma == -1 |
| 2534 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2535 | }}} |
| r113 | 2536 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2537 | }}}{{{#!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 | 2538 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2539 | }}} |
| 2540 | }}} | |
| 2541 | }}} | |
| r113 | 2542 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2543 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2544 | }}}{{{#!if this.Blank==5 | |
| 2545 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2546 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2547 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2548 | }}}{{{#!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 | 2549 | }}} |
| 2550 | }}} | |
| 2551 | }}} | |
| 2552 | }}} | |
| r85 | 2553 | }}} |
| r113 | 2554 | ##### |
| 2555 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2556 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2557 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2558 | }}} |
| r113 | 2559 | {{{#!if this._ParOpen == -1 |
| 2560 | {{{#!if this.Match=true | |
| r77 | 2561 | }}} |
| r113 | 2562 | }}}{{{#!if this._ParOpen != -1 |
| 2563 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2564 | }}} |
| 2565 | }}} | |
| r113 | 2566 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2567 | }}} |
| r113 | 2568 | {{{#!if this._ParOpen == -1 |
| 2569 | {{{#!if this.Match=true | |
| r77 | 2570 | }}} |
| r113 | 2571 | }}}{{{#!if this._ParOpen != -1 |
| 2572 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2573 | }}} |
| 2574 | }}} | |
| r113 | 2575 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2576 | }}} |
| r113 | 2577 | {{{#!if this._ParOpen == -1 |
| 2578 | {{{#!if this.Match=true | |
| r77 | 2579 | }}} |
| r113 | 2580 | }}}{{{#!if this._ParOpen != -1 |
| 2581 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2582 | }}} |
| 2583 | }}} | |
| r113 | 2584 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2585 | }}} |
| r113 | 2586 | {{{#!if this._ParOpen == -1 |
| 2587 | {{{#!if this.Match=true | |
| r85 | 2588 | }}} |
| r113 | 2589 | }}}{{{#!if this._ParOpen != -1 |
| 2590 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2591 | }}} |
| 2592 | }}} | |
| r113 | 2593 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2594 | }}} |
| r113 | 2595 | {{{#!if this._ParOpen == -1 |
| 2596 | {{{#!if this.Match=true | |
| r85 | 2597 | }}} |
| r113 | 2598 | }}}{{{#!if this._ParOpen != -1 |
| 2599 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2600 | }}} |
| 2601 | }}} | |
| r113 | 2602 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2603 | }}} |
| r113 | 2604 | {{{#!if this._ParOpen == -1 |
| 2605 | {{{#!if this.Match=true | |
| r85 | 2606 | }}} |
| r113 | 2607 | }}}{{{#!if this._ParOpen != -1 |
| 2608 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2609 | }}} |
| 2610 | }}} | |
| r113 | 2611 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2612 | }}} |
| r113 | 2613 | {{{#!if this._ParOpen == -1 |
| 2614 | {{{#!if this.Match=true | |
| r85 | 2615 | }}} |
| r113 | 2616 | }}}{{{#!if this._ParOpen != -1 |
| 2617 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2618 | }}} |
| 2619 | }}} | |
| 2620 | }}} | |
| r113 | 2621 | ##### |
| 2622 | {{{#!if this.Match | |
| 2623 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2624 | {{{#!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 | 2625 | }}} |
| 2626 | }}} | |
| r113 | 2627 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2628 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2629 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2630 | {{{#!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) | |
| 2631 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r77 | 2632 | }}} |
| 2633 | }}} | |
| 2634 | }}} | |
| r113 | 2635 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2636 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2637 | }}}{{{#!if this.Blank!=-1 | |
| 2638 | {{{#!if this.Comma != -1 | |
| 2639 | {{{#!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 | 2640 | }}} |
| 2641 | }}} | |
| r113 | 2642 | {{{#!if this.Comma == -1 |
| 2643 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r77 | 2644 | }}} |
| r113 | 2645 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2646 | }}}{{{#!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 | 2647 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| r77 | 2648 | }}} |
| 2649 | }}} | |
| 2650 | }}} | |
| r113 | 2651 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2652 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2653 | }}}{{{#!if this.Blank==5 | |
| 2654 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2655 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2656 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2657 | }}}{{{#!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 | 2658 | }}} |
| 2659 | }}} | |
| 2660 | }}} | |
| 2661 | }}} | |
| r85 | 2662 | }}} |
| r113 | 2663 | ##### |
| 2664 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2665 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2666 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r77 | 2667 | }}} |
| r113 | 2668 | {{{#!if this._ParOpen == -1 |
| 2669 | {{{#!if this.Match=true | |
| r77 | 2670 | }}} |
| r113 | 2671 | }}}{{{#!if this._ParOpen != -1 |
| 2672 | {{{#!if this.ParOpen=this._ParOpen | |
| r77 | 2673 | }}} |
| 2674 | }}} | |
| r113 | 2675 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2676 | }}} |
| r113 | 2677 | {{{#!if this._ParOpen == -1 |
| 2678 | {{{#!if this.Match=true | |
| r77 | 2679 | }}} |
| r113 | 2680 | }}}{{{#!if this._ParOpen != -1 |
| 2681 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2682 | }}} |
| 2683 | }}} | |
| r113 | 2684 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2685 | }}} |
| r113 | 2686 | {{{#!if this._ParOpen == -1 |
| 2687 | {{{#!if this.Match=true | |
| r77 | 2688 | }}} |
| r113 | 2689 | }}}{{{#!if this._ParOpen != -1 |
| 2690 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r77 | 2691 | }}} |
| 2692 | }}} | |
| r113 | 2693 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r77 | 2694 | }}} |
| r113 | 2695 | {{{#!if this._ParOpen == -1 |
| 2696 | {{{#!if this.Match=true | |
| r85 | 2697 | }}} |
| r113 | 2698 | }}}{{{#!if this._ParOpen != -1 |
| 2699 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2700 | }}} |
| 2701 | }}} | |
| r113 | 2702 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2703 | }}} |
| r113 | 2704 | {{{#!if this._ParOpen == -1 |
| 2705 | {{{#!if this.Match=true | |
| r85 | 2706 | }}} |
| r113 | 2707 | }}}{{{#!if this._ParOpen != -1 |
| 2708 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2709 | }}} |
| 2710 | }}} | |
| r113 | 2711 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2712 | }}} |
| r113 | 2713 | {{{#!if this._ParOpen == -1 |
| 2714 | {{{#!if this.Match=true | |
| r85 | 2715 | }}} |
| r113 | 2716 | }}}{{{#!if this._ParOpen != -1 |
| 2717 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2718 | }}} |
| 2719 | }}} | |
| r113 | 2720 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r85 | 2721 | }}} |
| r113 | 2722 | {{{#!if this._ParOpen == -1 |
| 2723 | {{{#!if this.Match=true | |
| r85 | 2724 | }}} |
| r113 | 2725 | }}}{{{#!if this._ParOpen != -1 |
| 2726 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r85 | 2727 | }}} |
| 2728 | }}} | |
| 2729 | }}} | |
| r113 | 2730 | ##### |
| 2731 | {{{#!if this.Match | |
| 2732 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2733 | {{{#!if this.input = this.input.substring(0,this.ParOpen)+this.input.substring(this.ParOpen+9,this.ParClose).trim()+this.input.substr(this.ParClose+3) | |
| 2734 | }}} | |
| 2735 | }}} | |
| 2736 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' | |
| 2737 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2738 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2739 | {{{#!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) | |
| 2740 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| 2741 | }}} | |
| 2742 | }}} | |
| 2743 | }}} | |
| 2744 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' | |
| 2745 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2746 | }}}{{{#!if this.Blank!=-1 | |
| 2747 | {{{#!if this.Comma != -1 | |
| 2748 | {{{#!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) | |
| 2749 | }}} | |
| 2750 | }}} | |
| 2751 | {{{#!if this.Comma == -1 | |
| 2752 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| 2753 | }}} | |
| 2754 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2755 | }}}{{{#!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) | |
| 2756 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. | |
| 2757 | }}} | |
| 2758 | }}} | |
| 2759 | }}} | |
| 2760 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' | |
| 2761 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2762 | }}}{{{#!if this.Blank==5 | |
| 2763 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2764 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2765 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2766 | }}}{{{#!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) | |
| 2767 | }}} | |
| 2768 | }}} | |
| r92 | 2769 | }}} |
| r113 | 2770 | }}} |
| 2771 | }}} | |
| 2772 | ##### | |
| 2773 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2774 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2775 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2776 | }}} | |
| 2777 | {{{#!if this._ParOpen == -1 | |
| 2778 | {{{#!if this.Match=true | |
| r92 | 2779 | }}} |
| r113 | 2780 | }}}{{{#!if this._ParOpen != -1 |
| 2781 | {{{#!if this.ParOpen=this._ParOpen | |
| r92 | 2782 | }}} |
| 2783 | }}} | |
| r113 | 2784 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r92 | 2785 | }}} |
| r113 | 2786 | {{{#!if this._ParOpen == -1 |
| 2787 | {{{#!if this.Match=true | |
| 2788 | }}} | |
| 2789 | }}}{{{#!if this._ParOpen != -1 | |
| 2790 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2791 | }}} | |
| 2792 | }}} | |
| 2793 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2794 | }}} | |
| 2795 | {{{#!if this._ParOpen == -1 | |
| 2796 | {{{#!if this.Match=true | |
| 2797 | }}} | |
| 2798 | }}}{{{#!if this._ParOpen != -1 | |
| 2799 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2800 | }}} | |
| 2801 | }}} | |
| 2802 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2803 | }}} | |
| 2804 | {{{#!if this._ParOpen == -1 | |
| 2805 | {{{#!if this.Match=true | |
| 2806 | }}} | |
| 2807 | }}}{{{#!if this._ParOpen != -1 | |
| 2808 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2809 | }}} | |
| 2810 | }}} | |
| 2811 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2812 | }}} | |
| 2813 | {{{#!if this._ParOpen == -1 | |
| 2814 | {{{#!if this.Match=true | |
| 2815 | }}} | |
| 2816 | }}}{{{#!if this._ParOpen != -1 | |
| 2817 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2818 | }}} | |
| 2819 | }}} | |
| 2820 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2821 | }}} | |
| 2822 | {{{#!if this._ParOpen == -1 | |
| 2823 | {{{#!if this.Match=true | |
| 2824 | }}} | |
| 2825 | }}}{{{#!if this._ParOpen != -1 | |
| 2826 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2827 | }}} | |
| 2828 | }}} | |
| 2829 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| 2830 | }}} | |
| 2831 | {{{#!if this._ParOpen == -1 | |
| 2832 | {{{#!if this.Match=true | |
| 2833 | }}} | |
| 2834 | }}}{{{#!if this._ParOpen != -1 | |
| 2835 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| 2836 | }}} | |
| 2837 | }}} | |
| 2838 | }}} | |
| 2839 | ##### | |
| 2840 | {{{#!if this.Match | |
| 2841 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2842 | {{{#!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 | 2843 | }}} |
| 2844 | }}} | |
| r113 | 2845 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2846 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2847 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2848 | {{{#!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) | |
| 2849 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r92 | 2850 | }}} |
| 2851 | }}} | |
| 2852 | }}} | |
| r113 | 2853 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2854 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2855 | }}}{{{#!if this.Blank!=-1 | |
| 2856 | {{{#!if this.Comma != -1 | |
| 2857 | {{{#!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 | 2858 | }}} |
| 2859 | }}} | |
| r113 | 2860 | {{{#!if this.Comma == -1 |
| 2861 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r92 | 2862 | }}} |
| r113 | 2863 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2864 | }}}{{{#!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 | 2865 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2866 | }}} | |
| 2867 | }}} | |
| 2868 | }}} | |
| r113 | 2869 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2870 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2871 | }}}{{{#!if this.Blank==5 | |
| 2872 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2873 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2874 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2875 | }}}{{{#!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 | 2876 | }}} |
| 2877 | }}} | |
| 2878 | }}} | |
| 2879 | }}} | |
| 2880 | }}} | |
| r113 | 2881 | ##### |
| 2882 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2883 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2884 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 2885 | }}} |
| r113 | 2886 | {{{#!if this._ParOpen == -1 |
| 2887 | {{{#!if this.Match=true | |
| r109 | 2888 | }}} |
| r113 | 2889 | }}}{{{#!if this._ParOpen != -1 |
| 2890 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 2891 | }}} |
| 2892 | }}} | |
| r113 | 2893 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2894 | }}} |
| r113 | 2895 | {{{#!if this._ParOpen == -1 |
| 2896 | {{{#!if this.Match=true | |
| r109 | 2897 | }}} |
| r113 | 2898 | }}}{{{#!if this._ParOpen != -1 |
| 2899 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2900 | }}} |
| 2901 | }}} | |
| r113 | 2902 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2903 | }}} |
| r113 | 2904 | {{{#!if this._ParOpen == -1 |
| 2905 | {{{#!if this.Match=true | |
| r109 | 2906 | }}} |
| r113 | 2907 | }}}{{{#!if this._ParOpen != -1 |
| 2908 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2909 | }}} |
| 2910 | }}} | |
| r113 | 2911 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2912 | }}} |
| r113 | 2913 | {{{#!if this._ParOpen == -1 |
| 2914 | {{{#!if this.Match=true | |
| r109 | 2915 | }}} |
| r113 | 2916 | }}}{{{#!if this._ParOpen != -1 |
| 2917 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2918 | }}} |
| 2919 | }}} | |
| r113 | 2920 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2921 | }}} |
| r113 | 2922 | {{{#!if this._ParOpen == -1 |
| 2923 | {{{#!if this.Match=true | |
| r109 | 2924 | }}} |
| r113 | 2925 | }}}{{{#!if this._ParOpen != -1 |
| 2926 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2927 | }}} |
| 2928 | }}} | |
| r113 | 2929 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2930 | }}} |
| r113 | 2931 | {{{#!if this._ParOpen == -1 |
| 2932 | {{{#!if this.Match=true | |
| r109 | 2933 | }}} |
| r113 | 2934 | }}}{{{#!if this._ParOpen != -1 |
| 2935 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 2936 | }}} |
| 2937 | }}} | |
| 2938 | }}} | |
| r113 | 2939 | ##### |
| 2940 | {{{#!if this.Match | |
| 2941 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 2942 | {{{#!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 | 2943 | }}} |
| 2944 | }}} | |
| r113 | 2945 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 2946 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 2947 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 2948 | {{{#!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) | |
| 2949 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 2950 | }}} |
| 2951 | }}} | |
| 2952 | }}} | |
| r113 | 2953 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 2954 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 2955 | }}}{{{#!if this.Blank!=-1 | |
| 2956 | {{{#!if this.Comma != -1 | |
| 2957 | {{{#!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 | 2958 | }}} |
| 2959 | }}} | |
| r113 | 2960 | {{{#!if this.Comma == -1 |
| 2961 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 2962 | }}} |
| r113 | 2963 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 2964 | }}}{{{#!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 | 2965 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 2966 | }}} | |
| 2967 | }}} | |
| 2968 | }}} | |
| r113 | 2969 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 2970 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 2971 | }}}{{{#!if this.Blank==5 | |
| 2972 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 2973 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 2974 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 2975 | }}}{{{#!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 | 2976 | }}} |
| 2977 | }}} | |
| 2978 | }}} | |
| 2979 | }}} | |
| 2980 | }}} | |
| r113 | 2981 | ##### |
| 2982 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 2983 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 2984 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 2985 | }}} |
| r113 | 2986 | {{{#!if this._ParOpen == -1 |
| 2987 | {{{#!if this.Match=true | |
| r109 | 2988 | }}} |
| r113 | 2989 | }}}{{{#!if this._ParOpen != -1 |
| 2990 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 2991 | }}} |
| 2992 | }}} | |
| r113 | 2993 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 2994 | }}} |
| r113 | 2995 | {{{#!if this._ParOpen == -1 |
| 2996 | {{{#!if this.Match=true | |
| r109 | 2997 | }}} |
| r113 | 2998 | }}}{{{#!if this._ParOpen != -1 |
| 2999 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3000 | }}} |
| 3001 | }}} | |
| r113 | 3002 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3003 | }}} |
| r113 | 3004 | {{{#!if this._ParOpen == -1 |
| 3005 | {{{#!if this.Match=true | |
| r109 | 3006 | }}} |
| r113 | 3007 | }}}{{{#!if this._ParOpen != -1 |
| 3008 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3009 | }}} |
| 3010 | }}} | |
| r113 | 3011 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3012 | }}} |
| r113 | 3013 | {{{#!if this._ParOpen == -1 |
| 3014 | {{{#!if this.Match=true | |
| r109 | 3015 | }}} |
| r113 | 3016 | }}}{{{#!if this._ParOpen != -1 |
| 3017 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3018 | }}} |
| 3019 | }}} | |
| r113 | 3020 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3021 | }}} |
| r113 | 3022 | {{{#!if this._ParOpen == -1 |
| 3023 | {{{#!if this.Match=true | |
| r109 | 3024 | }}} |
| r113 | 3025 | }}}{{{#!if this._ParOpen != -1 |
| 3026 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3027 | }}} |
| 3028 | }}} | |
| 3029 | }}} | |
| r113 | 3030 | ##### |
| 3031 | {{{#!if this.Match | |
| 3032 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3033 | {{{#!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 | 3034 | }}} |
| 3035 | }}} | |
| r113 | 3036 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3037 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3038 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3039 | {{{#!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) | |
| 3040 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3041 | }}} |
| 3042 | }}} | |
| 3043 | }}} | |
| r113 | 3044 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3045 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3046 | }}}{{{#!if this.Blank!=-1 | |
| 3047 | {{{#!if this.Comma != -1 | |
| 3048 | {{{#!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 | 3049 | }}} |
| 3050 | }}} | |
| r113 | 3051 | {{{#!if this.Comma == -1 |
| 3052 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3053 | }}} |
| r113 | 3054 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3055 | }}}{{{#!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 | 3056 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3057 | }}} | |
| 3058 | }}} | |
| 3059 | }}} | |
| r113 | 3060 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3061 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3062 | }}}{{{#!if this.Blank==5 | |
| 3063 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3064 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3065 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3066 | }}}{{{#!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 | 3067 | }}} |
| 3068 | }}} | |
| 3069 | }}} | |
| 3070 | }}} | |
| 3071 | }}} | |
| r113 | 3072 | ##### |
| 3073 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3074 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3075 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3076 | }}} |
| r113 | 3077 | {{{#!if this._ParOpen == -1 |
| 3078 | {{{#!if this.Match=true | |
| r109 | 3079 | }}} |
| r113 | 3080 | }}}{{{#!if this._ParOpen != -1 |
| 3081 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3082 | }}} |
| 3083 | }}} | |
| r113 | 3084 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3085 | }}} |
| r113 | 3086 | {{{#!if this._ParOpen == -1 |
| 3087 | {{{#!if this.Match=true | |
| r109 | 3088 | }}} |
| r113 | 3089 | }}}{{{#!if this._ParOpen != -1 |
| 3090 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3091 | }}} |
| 3092 | }}} | |
| r113 | 3093 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3094 | }}} |
| r113 | 3095 | {{{#!if this._ParOpen == -1 |
| 3096 | {{{#!if this.Match=true | |
| r109 | 3097 | }}} |
| r113 | 3098 | }}}{{{#!if this._ParOpen != -1 |
| 3099 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3100 | }}} |
| 3101 | }}} | |
| r113 | 3102 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3103 | }}} |
| r113 | 3104 | {{{#!if this._ParOpen == -1 |
| 3105 | {{{#!if this.Match=true | |
| r109 | 3106 | }}} |
| r113 | 3107 | }}}{{{#!if this._ParOpen != -1 |
| 3108 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3109 | }}} |
| 3110 | }}} | |
| 3111 | }}} | |
| r113 | 3112 | ##### |
| 3113 | {{{#!if this.Match | |
| 3114 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3115 | {{{#!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 | 3116 | }}} |
| 3117 | }}} | |
| r113 | 3118 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3119 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3120 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3121 | {{{#!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) | |
| 3122 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3123 | }}} |
| 3124 | }}} | |
| 3125 | }}} | |
| r113 | 3126 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3127 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3128 | }}}{{{#!if this.Blank!=-1 | |
| 3129 | {{{#!if this.Comma != -1 | |
| 3130 | {{{#!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 | 3131 | }}} |
| 3132 | }}} | |
| r113 | 3133 | {{{#!if this.Comma == -1 |
| 3134 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3135 | }}} |
| r113 | 3136 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3137 | }}}{{{#!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 | 3138 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3139 | }}} | |
| 3140 | }}} | |
| 3141 | }}} | |
| r113 | 3142 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3143 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3144 | }}}{{{#!if this.Blank==5 | |
| 3145 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3146 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3147 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3148 | }}}{{{#!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 | 3149 | }}} |
| 3150 | }}} | |
| 3151 | }}} | |
| 3152 | }}} | |
| 3153 | }}} | |
| r113 | 3154 | ##### |
| 3155 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3156 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3157 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3158 | }}} |
| r113 | 3159 | {{{#!if this._ParOpen == -1 |
| 3160 | {{{#!if this.Match=true | |
| r109 | 3161 | }}} |
| r113 | 3162 | }}}{{{#!if this._ParOpen != -1 |
| 3163 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3164 | }}} |
| 3165 | }}} | |
| r113 | 3166 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3167 | }}} |
| r113 | 3168 | {{{#!if this._ParOpen == -1 |
| 3169 | {{{#!if this.Match=true | |
| r109 | 3170 | }}} |
| r113 | 3171 | }}}{{{#!if this._ParOpen != -1 |
| 3172 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3173 | }}} |
| 3174 | }}} | |
| r113 | 3175 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3176 | }}} |
| r113 | 3177 | {{{#!if this._ParOpen == -1 |
| 3178 | {{{#!if this.Match=true | |
| r109 | 3179 | }}} |
| r113 | 3180 | }}}{{{#!if this._ParOpen != -1 |
| 3181 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3182 | }}} |
| 3183 | }}} | |
| 3184 | }}} | |
| r113 | 3185 | ##### |
| 3186 | {{{#!if this.Match | |
| 3187 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3188 | {{{#!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 | 3189 | }}} |
| 3190 | }}} | |
| r113 | 3191 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3192 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3193 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3194 | {{{#!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) | |
| 3195 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3196 | }}} |
| 3197 | }}} | |
| 3198 | }}} | |
| r113 | 3199 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3200 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3201 | }}}{{{#!if this.Blank!=-1 | |
| 3202 | {{{#!if this.Comma != -1 | |
| 3203 | {{{#!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 | 3204 | }}} |
| 3205 | }}} | |
| r113 | 3206 | {{{#!if this.Comma == -1 |
| 3207 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3208 | }}} |
| r113 | 3209 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3210 | }}}{{{#!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 | 3211 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3212 | }}} | |
| 3213 | }}} | |
| 3214 | }}} | |
| r113 | 3215 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3216 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3217 | }}}{{{#!if this.Blank==5 | |
| 3218 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3219 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3220 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3221 | }}}{{{#!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 | 3222 | }}} |
| 3223 | }}} | |
| 3224 | }}} | |
| 3225 | }}} | |
| 3226 | }}} | |
| r113 | 3227 | ##### |
| 3228 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3229 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3230 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3231 | }}} |
| r113 | 3232 | {{{#!if this._ParOpen == -1 |
| 3233 | {{{#!if this.Match=true | |
| r109 | 3234 | }}} |
| r113 | 3235 | }}}{{{#!if this._ParOpen != -1 |
| 3236 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3237 | }}} |
| 3238 | }}} | |
| r113 | 3239 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3240 | }}} |
| r113 | 3241 | {{{#!if this._ParOpen == -1 |
| 3242 | {{{#!if this.Match=true | |
| r109 | 3243 | }}} |
| r113 | 3244 | }}}{{{#!if this._ParOpen != -1 |
| 3245 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3246 | }}} |
| 3247 | }}} | |
| 3248 | }}} | |
| r113 | 3249 | ##### |
| 3250 | {{{#!if this.Match | |
| 3251 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3252 | {{{#!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 | 3253 | }}} |
| 3254 | }}} | |
| r113 | 3255 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3256 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3257 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3258 | {{{#!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) | |
| 3259 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3260 | }}} |
| 3261 | }}} | |
| 3262 | }}} | |
| r113 | 3263 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3264 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3265 | }}}{{{#!if this.Blank!=-1 | |
| 3266 | {{{#!if this.Comma != -1 | |
| 3267 | {{{#!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 | 3268 | }}} |
| 3269 | }}} | |
| r113 | 3270 | {{{#!if this.Comma == -1 |
| 3271 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3272 | }}} |
| r113 | 3273 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3274 | }}}{{{#!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 | 3275 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3276 | }}} | |
| 3277 | }}} | |
| 3278 | }}} | |
| r113 | 3279 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3280 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3281 | }}}{{{#!if this.Blank==5 | |
| 3282 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3283 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3284 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3285 | }}}{{{#!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 | 3286 | }}} |
| 3287 | }}} | |
| 3288 | }}} | |
| 3289 | }}} | |
| 3290 | }}} | |
| r113 | 3291 | ##### |
| 3292 | {{{#!if this.ParClose=this.input.indexOf('\}\}\}'), this.ParOpen=this.input.indexOf('\{\{\{'), this.Match=false, true | |
| 3293 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3294 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 3295 | }}} |
| r113 | 3296 | {{{#!if this._ParOpen == -1 |
| 3297 | {{{#!if this.Match=true | |
| r109 | 3298 | }}} |
| r113 | 3299 | }}}{{{#!if this._ParOpen != -1 |
| 3300 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 3301 | }}} |
| 3302 | }}} | |
| r113 | 3303 | {{{#!if this._ParOpen = this.input.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 3304 | }}} |
| r113 | 3305 | {{{#!if this._ParOpen == -1 |
| 3306 | {{{#!if this.Match=true | |
| r109 | 3307 | }}} |
| r113 | 3308 | }}}{{{#!if this._ParOpen != -1 |
| 3309 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 3310 | }}} |
| 3311 | }}} | |
| 3312 | }}} | |
| r113 | 3313 | ##### |
| 3314 | {{{#!if this.Match | |
| 3315 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3316 | {{{#!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 | 3317 | }}} |
| 3318 | }}} | |
| r113 | 3319 | {{{#!if this.input.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3320 | {{{#!if this.BrL = this.input.substring(this.ParOpen,this.ParClose).indexOf('<br>'), this.StyleL = this.input.substring(this.ParOpen,this.ParClose).indexOf('style=') | |
| 3321 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3322 | {{{#!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) | |
| 3323 | }}}{{{#!if this.input = this.input.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.input.substr(this.ParClose+3) | |
| r109 | 3324 | }}} |
| 3325 | }}} | |
| 3326 | }}} | |
| r113 | 3327 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3328 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.input.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3329 | }}}{{{#!if this.Blank!=-1 | |
| 3330 | {{{#!if this.Comma != -1 | |
| 3331 | {{{#!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 | 3332 | }}} |
| 3333 | }}} | |
| r113 | 3334 | {{{#!if this.Comma == -1 |
| 3335 | {{{#!if this.WhiteColor=this.input.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 3336 | }}} |
| r113 | 3337 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3338 | }}}{{{#!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 | 3339 | ##유효성 검사는 뺌. 귀찮고 넣으면 길어짐. |
| 3340 | }}} | |
| 3341 | }}} | |
| 3342 | }}} | |
| r113 | 3343 | {{{#!if this.input.substr(this.ParOpen, 4) == '\{\{\{+' || this.input.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3344 | {{{#!if this.Blank = this.input.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3345 | }}}{{{#!if this.Blank==5 | |
| 3346 | {{{#!if this.Size=this.input.substr(this.ParOpen+this.Blank-2, 2) | |
| 3347 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3348 | }}}{{{#!if this.Text = this.input.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3349 | }}}{{{#!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 | 3350 | }}} |
| 3351 | }}} | |
| 3352 | }}} | |
| 3353 | }}} | |
| 3354 | }}} | |
| r113 | 3355 | ################################################################################################################################################################################################################################################################################################################################################################################################################################################################## 다크 |
| 3356 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3357 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3358 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3359 | }}} |
| r113 | 3360 | {{{#!if this._ParOpen == -1 |
| 3361 | {{{#!if this.Match=true | |
| r95 | 3362 | }}} |
| r113 | 3363 | }}}{{{#!if this._ParOpen != -1 |
| 3364 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3365 | }}} |
| 3366 | }}} | |
| r113 | 3367 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3368 | }}} |
| r113 | 3369 | {{{#!if this._ParOpen == -1 |
| 3370 | {{{#!if this.Match=true | |
| r95 | 3371 | }}} |
| r113 | 3372 | }}}{{{#!if this._ParOpen != -1 |
| 3373 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3374 | }}} |
| 3375 | }}} | |
| r113 | 3376 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3377 | }}} |
| r113 | 3378 | {{{#!if this._ParOpen == -1 |
| 3379 | {{{#!if this.Match=true | |
| r95 | 3380 | }}} |
| r113 | 3381 | }}}{{{#!if this._ParOpen != -1 |
| 3382 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3383 | }}} |
| 3384 | }}} | |
| r113 | 3385 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3386 | }}} |
| r113 | 3387 | {{{#!if this._ParOpen == -1 |
| 3388 | {{{#!if this.Match=true | |
| r95 | 3389 | }}} |
| r113 | 3390 | }}}{{{#!if this._ParOpen != -1 |
| 3391 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3392 | }}} |
| 3393 | }}} | |
| r113 | 3394 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3395 | }}} |
| r113 | 3396 | {{{#!if this._ParOpen == -1 |
| 3397 | {{{#!if this.Match=true | |
| r95 | 3398 | }}} |
| r113 | 3399 | }}}{{{#!if this._ParOpen != -1 |
| 3400 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3401 | }}} |
| 3402 | }}} | |
| r113 | 3403 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3404 | }}} |
| r113 | 3405 | {{{#!if this._ParOpen == -1 |
| 3406 | {{{#!if this.Match=true | |
| r95 | 3407 | }}} |
| r113 | 3408 | }}}{{{#!if this._ParOpen != -1 |
| 3409 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3410 | }}} |
| 3411 | }}} | |
| r113 | 3412 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3413 | }}} |
| r113 | 3414 | {{{#!if this._ParOpen == -1 |
| 3415 | {{{#!if this.Match=true | |
| r95 | 3416 | }}} |
| r113 | 3417 | }}}{{{#!if this._ParOpen != -1 |
| 3418 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3419 | }}} |
| 3420 | }}} | |
| 3421 | }}} | |
| r113 | 3422 | ##### |
| 3423 | {{{#!if this.Match | |
| 3424 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3425 | {{{#!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 | 3426 | }}} |
| r95 | 3427 | }}} |
| r113 | 3428 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3429 | {{{#!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="') | |
| 3430 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3431 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3432 | }}} |
| r113 | 3433 | {{{#!if this.DarkStyleL==-1 |
| 3434 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r92 | 3435 | }}}}}} |
| r113 | 3436 | {{{#!if this.DarkStyleL!=-1 |
| 3437 | {{{#!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) | |
| 3438 | }}}}}} | |
| 3439 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3440 | }}} |
| 3441 | }}} | |
| r92 | 3442 | }}} |
| r113 | 3443 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3444 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3445 | }}}{{{#!if this.Blank!=-1 | |
| 3446 | {{{#!if this.Comma != -1 | |
| 3447 | {{{#!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 | 3448 | }}} |
| 3449 | }}} | |
| r113 | 3450 | {{{#!if this.Comma == -1 |
| 3451 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3452 | }}} |
| r113 | 3453 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3454 | }}}{{{#!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 | 3455 | }}} |
| 3456 | }}} | |
| 3457 | }}} | |
| r113 | 3458 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3459 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3460 | }}}{{{#!if this.Blank==5 | |
| 3461 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3462 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3463 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3464 | }}}{{{#!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 | 3465 | }}} |
| 3466 | }}} | |
| r92 | 3467 | }}} |
| 3468 | }}} | |
| 3469 | }}} | |
| r113 | 3470 | ##### |
| 3471 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3472 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3473 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3474 | }}} |
| r113 | 3475 | {{{#!if this._ParOpen == -1 |
| 3476 | {{{#!if this.Match=true | |
| r95 | 3477 | }}} |
| r113 | 3478 | }}}{{{#!if this._ParOpen != -1 |
| 3479 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3480 | }}} |
| 3481 | }}} | |
| r113 | 3482 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3483 | }}} |
| r113 | 3484 | {{{#!if this._ParOpen == -1 |
| 3485 | {{{#!if this.Match=true | |
| r95 | 3486 | }}} |
| r113 | 3487 | }}}{{{#!if this._ParOpen != -1 |
| 3488 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3489 | }}} |
| 3490 | }}} | |
| r113 | 3491 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3492 | }}} |
| r113 | 3493 | {{{#!if this._ParOpen == -1 |
| 3494 | {{{#!if this.Match=true | |
| r95 | 3495 | }}} |
| r113 | 3496 | }}}{{{#!if this._ParOpen != -1 |
| 3497 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3498 | }}} |
| 3499 | }}} | |
| r113 | 3500 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3501 | }}} |
| r113 | 3502 | {{{#!if this._ParOpen == -1 |
| 3503 | {{{#!if this.Match=true | |
| r95 | 3504 | }}} |
| r113 | 3505 | }}}{{{#!if this._ParOpen != -1 |
| 3506 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3507 | }}} |
| 3508 | }}} | |
| r113 | 3509 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3510 | }}} |
| r113 | 3511 | {{{#!if this._ParOpen == -1 |
| 3512 | {{{#!if this.Match=true | |
| r95 | 3513 | }}} |
| r113 | 3514 | }}}{{{#!if this._ParOpen != -1 |
| 3515 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3516 | }}} |
| 3517 | }}} | |
| r113 | 3518 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3519 | }}} |
| r113 | 3520 | {{{#!if this._ParOpen == -1 |
| 3521 | {{{#!if this.Match=true | |
| r95 | 3522 | }}} |
| r113 | 3523 | }}}{{{#!if this._ParOpen != -1 |
| 3524 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3525 | }}} |
| 3526 | }}} | |
| r113 | 3527 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3528 | }}} |
| r113 | 3529 | {{{#!if this._ParOpen == -1 |
| 3530 | {{{#!if this.Match=true | |
| r95 | 3531 | }}} |
| r113 | 3532 | }}}{{{#!if this._ParOpen != -1 |
| 3533 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3534 | }}} |
| 3535 | }}} | |
| 3536 | }}} | |
| r113 | 3537 | ##### |
| 3538 | {{{#!if this.Match | |
| 3539 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3540 | {{{#!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 | 3541 | }}} |
| 3542 | }}} | |
| r113 | 3543 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3544 | {{{#!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="') | |
| 3545 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3546 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3547 | }}} |
| r113 | 3548 | {{{#!if this.DarkStyleL==-1 |
| 3549 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3550 | }}}}}} |
| r113 | 3551 | {{{#!if this.DarkStyleL!=-1 |
| 3552 | {{{#!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) | |
| 3553 | }}}}}} | |
| 3554 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3555 | }}} |
| 3556 | }}} | |
| 3557 | }}} | |
| r113 | 3558 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3559 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3560 | }}}{{{#!if this.Blank!=-1 | |
| 3561 | {{{#!if this.Comma != -1 | |
| 3562 | {{{#!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 | 3563 | }}} |
| 3564 | }}} | |
| r113 | 3565 | {{{#!if this.Comma == -1 |
| 3566 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3567 | }}} |
| r113 | 3568 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3569 | }}}{{{#!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 | 3570 | }}} |
| 3571 | }}} | |
| 3572 | }}} | |
| r113 | 3573 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3574 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3575 | }}}{{{#!if this.Blank==5 | |
| 3576 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3577 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3578 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3579 | }}}{{{#!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 | 3580 | }}} |
| 3581 | }}} | |
| 3582 | }}} | |
| 3583 | }}} | |
| 3584 | }}} | |
| r113 | 3585 | ##### |
| 3586 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3587 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3588 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3589 | }}} |
| r113 | 3590 | {{{#!if this._ParOpen == -1 |
| 3591 | {{{#!if this.Match=true | |
| r95 | 3592 | }}} |
| r113 | 3593 | }}}{{{#!if this._ParOpen != -1 |
| 3594 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3595 | }}} |
| 3596 | }}} | |
| r113 | 3597 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3598 | }}} |
| r113 | 3599 | {{{#!if this._ParOpen == -1 |
| 3600 | {{{#!if this.Match=true | |
| r95 | 3601 | }}} |
| r113 | 3602 | }}}{{{#!if this._ParOpen != -1 |
| 3603 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3604 | }}} |
| 3605 | }}} | |
| r113 | 3606 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3607 | }}} |
| r113 | 3608 | {{{#!if this._ParOpen == -1 |
| 3609 | {{{#!if this.Match=true | |
| r95 | 3610 | }}} |
| r113 | 3611 | }}}{{{#!if this._ParOpen != -1 |
| 3612 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3613 | }}} |
| 3614 | }}} | |
| r113 | 3615 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3616 | }}} |
| r113 | 3617 | {{{#!if this._ParOpen == -1 |
| 3618 | {{{#!if this.Match=true | |
| r95 | 3619 | }}} |
| r113 | 3620 | }}}{{{#!if this._ParOpen != -1 |
| 3621 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3622 | }}} |
| 3623 | }}} | |
| r113 | 3624 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3625 | }}} |
| r113 | 3626 | {{{#!if this._ParOpen == -1 |
| 3627 | {{{#!if this.Match=true | |
| r95 | 3628 | }}} |
| r113 | 3629 | }}}{{{#!if this._ParOpen != -1 |
| 3630 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3631 | }}} |
| 3632 | }}} | |
| r113 | 3633 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3634 | }}} |
| r113 | 3635 | {{{#!if this._ParOpen == -1 |
| 3636 | {{{#!if this.Match=true | |
| r95 | 3637 | }}} |
| r113 | 3638 | }}}{{{#!if this._ParOpen != -1 |
| 3639 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3640 | }}} |
| 3641 | }}} | |
| r113 | 3642 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3643 | }}} |
| r113 | 3644 | {{{#!if this._ParOpen == -1 |
| 3645 | {{{#!if this.Match=true | |
| r95 | 3646 | }}} |
| r113 | 3647 | }}}{{{#!if this._ParOpen != -1 |
| 3648 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3649 | }}} |
| 3650 | }}} | |
| 3651 | }}} | |
| r113 | 3652 | ##### |
| 3653 | {{{#!if this.Match | |
| 3654 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3655 | {{{#!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 | 3656 | }}} |
| 3657 | }}} | |
| r113 | 3658 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3659 | {{{#!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="') | |
| 3660 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3661 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3662 | }}} |
| r113 | 3663 | {{{#!if this.DarkStyleL==-1 |
| 3664 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3665 | }}}}}} |
| r113 | 3666 | {{{#!if this.DarkStyleL!=-1 |
| 3667 | {{{#!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) | |
| 3668 | }}}}}} | |
| 3669 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3670 | }}} |
| 3671 | }}} | |
| 3672 | }}} | |
| r113 | 3673 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3674 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3675 | }}}{{{#!if this.Blank!=-1 | |
| 3676 | {{{#!if this.Comma != -1 | |
| 3677 | {{{#!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 | 3678 | }}} |
| 3679 | }}} | |
| r113 | 3680 | {{{#!if this.Comma == -1 |
| 3681 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3682 | }}} |
| r113 | 3683 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3684 | }}}{{{#!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 | 3685 | }}} |
| 3686 | }}} | |
| 3687 | }}} | |
| r113 | 3688 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3689 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3690 | }}}{{{#!if this.Blank==5 | |
| 3691 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3692 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3693 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3694 | }}}{{{#!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 | 3695 | }}} |
| 3696 | }}} | |
| 3697 | }}} | |
| 3698 | }}} | |
| 3699 | }}} | |
| r113 | 3700 | ##### |
| 3701 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3702 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3703 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3704 | }}} |
| r113 | 3705 | {{{#!if this._ParOpen == -1 |
| 3706 | {{{#!if this.Match=true | |
| r95 | 3707 | }}} |
| r113 | 3708 | }}}{{{#!if this._ParOpen != -1 |
| 3709 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3710 | }}} |
| 3711 | }}} | |
| r113 | 3712 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3713 | }}} |
| r113 | 3714 | {{{#!if this._ParOpen == -1 |
| 3715 | {{{#!if this.Match=true | |
| r95 | 3716 | }}} |
| r113 | 3717 | }}}{{{#!if this._ParOpen != -1 |
| 3718 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3719 | }}} |
| 3720 | }}} | |
| r113 | 3721 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3722 | }}} |
| r113 | 3723 | {{{#!if this._ParOpen == -1 |
| 3724 | {{{#!if this.Match=true | |
| r95 | 3725 | }}} |
| r113 | 3726 | }}}{{{#!if this._ParOpen != -1 |
| 3727 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3728 | }}} |
| 3729 | }}} | |
| r113 | 3730 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3731 | }}} |
| r113 | 3732 | {{{#!if this._ParOpen == -1 |
| 3733 | {{{#!if this.Match=true | |
| r95 | 3734 | }}} |
| r113 | 3735 | }}}{{{#!if this._ParOpen != -1 |
| 3736 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3737 | }}} |
| 3738 | }}} | |
| r113 | 3739 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3740 | }}} |
| r113 | 3741 | {{{#!if this._ParOpen == -1 |
| 3742 | {{{#!if this.Match=true | |
| r95 | 3743 | }}} |
| r113 | 3744 | }}}{{{#!if this._ParOpen != -1 |
| 3745 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3746 | }}} |
| 3747 | }}} | |
| r113 | 3748 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3749 | }}} |
| r113 | 3750 | {{{#!if this._ParOpen == -1 |
| 3751 | {{{#!if this.Match=true | |
| r95 | 3752 | }}} |
| r113 | 3753 | }}}{{{#!if this._ParOpen != -1 |
| 3754 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3755 | }}} |
| 3756 | }}} | |
| r113 | 3757 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3758 | }}} |
| r113 | 3759 | {{{#!if this._ParOpen == -1 |
| 3760 | {{{#!if this.Match=true | |
| r95 | 3761 | }}} |
| r113 | 3762 | }}}{{{#!if this._ParOpen != -1 |
| 3763 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3764 | }}} |
| 3765 | }}} | |
| 3766 | }}} | |
| r113 | 3767 | ##### |
| 3768 | {{{#!if this.Match | |
| 3769 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3770 | {{{#!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 | 3771 | }}} |
| 3772 | }}} | |
| r113 | 3773 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3774 | {{{#!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="') | |
| 3775 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3776 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3777 | }}} |
| r113 | 3778 | {{{#!if this.DarkStyleL==-1 |
| 3779 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3780 | }}}}}} |
| r113 | 3781 | {{{#!if this.DarkStyleL!=-1 |
| 3782 | {{{#!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) | |
| 3783 | }}}}}} | |
| 3784 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3785 | }}} |
| 3786 | }}} | |
| 3787 | }}} | |
| r113 | 3788 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3789 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3790 | }}}{{{#!if this.Blank!=-1 | |
| 3791 | {{{#!if this.Comma != -1 | |
| 3792 | {{{#!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 | 3793 | }}} |
| 3794 | }}} | |
| r113 | 3795 | {{{#!if this.Comma == -1 |
| 3796 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3797 | }}} |
| r113 | 3798 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3799 | }}}{{{#!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 | 3800 | }}} |
| 3801 | }}} | |
| 3802 | }}} | |
| r113 | 3803 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3804 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3805 | }}}{{{#!if this.Blank==5 | |
| 3806 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3807 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3808 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3809 | }}}{{{#!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 | 3810 | }}} |
| 3811 | }}} | |
| 3812 | }}} | |
| 3813 | }}} | |
| 3814 | }}} | |
| r113 | 3815 | ##### |
| 3816 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3817 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3818 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3819 | }}} |
| r113 | 3820 | {{{#!if this._ParOpen == -1 |
| 3821 | {{{#!if this.Match=true | |
| r95 | 3822 | }}} |
| r113 | 3823 | }}}{{{#!if this._ParOpen != -1 |
| 3824 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3825 | }}} |
| 3826 | }}} | |
| r113 | 3827 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3828 | }}} |
| r113 | 3829 | {{{#!if this._ParOpen == -1 |
| 3830 | {{{#!if this.Match=true | |
| r95 | 3831 | }}} |
| r113 | 3832 | }}}{{{#!if this._ParOpen != -1 |
| 3833 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3834 | }}} |
| 3835 | }}} | |
| r113 | 3836 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3837 | }}} |
| r113 | 3838 | {{{#!if this._ParOpen == -1 |
| 3839 | {{{#!if this.Match=true | |
| r95 | 3840 | }}} |
| r113 | 3841 | }}}{{{#!if this._ParOpen != -1 |
| 3842 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3843 | }}} |
| 3844 | }}} | |
| r113 | 3845 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3846 | }}} |
| r113 | 3847 | {{{#!if this._ParOpen == -1 |
| 3848 | {{{#!if this.Match=true | |
| r95 | 3849 | }}} |
| r113 | 3850 | }}}{{{#!if this._ParOpen != -1 |
| 3851 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3852 | }}} |
| 3853 | }}} | |
| r113 | 3854 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3855 | }}} |
| r113 | 3856 | {{{#!if this._ParOpen == -1 |
| 3857 | {{{#!if this.Match=true | |
| r95 | 3858 | }}} |
| r113 | 3859 | }}}{{{#!if this._ParOpen != -1 |
| 3860 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3861 | }}} |
| 3862 | }}} | |
| r113 | 3863 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3864 | }}} |
| r113 | 3865 | {{{#!if this._ParOpen == -1 |
| 3866 | {{{#!if this.Match=true | |
| r95 | 3867 | }}} |
| r113 | 3868 | }}}{{{#!if this._ParOpen != -1 |
| 3869 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3870 | }}} |
| 3871 | }}} | |
| r113 | 3872 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3873 | }}} |
| r113 | 3874 | {{{#!if this._ParOpen == -1 |
| 3875 | {{{#!if this.Match=true | |
| r95 | 3876 | }}} |
| r113 | 3877 | }}}{{{#!if this._ParOpen != -1 |
| 3878 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3879 | }}} |
| 3880 | }}} | |
| 3881 | }}} | |
| r113 | 3882 | ##### |
| 3883 | {{{#!if this.Match | |
| 3884 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 3885 | {{{#!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 | 3886 | }}} |
| 3887 | }}} | |
| r113 | 3888 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 3889 | {{{#!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="') | |
| 3890 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 3891 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 3892 | }}} |
| r113 | 3893 | {{{#!if this.DarkStyleL==-1 |
| 3894 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 3895 | }}}}}} |
| r113 | 3896 | {{{#!if this.DarkStyleL!=-1 |
| 3897 | {{{#!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) | |
| 3898 | }}}}}} | |
| 3899 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 3900 | }}} |
| 3901 | }}} | |
| 3902 | }}} | |
| r113 | 3903 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 3904 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 3905 | }}}{{{#!if this.Blank!=-1 | |
| 3906 | {{{#!if this.Comma != -1 | |
| 3907 | {{{#!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 | 3908 | }}} |
| 3909 | }}} | |
| r113 | 3910 | {{{#!if this.Comma == -1 |
| 3911 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 3912 | }}} |
| r113 | 3913 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 3914 | }}}{{{#!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 | 3915 | }}} |
| 3916 | }}} | |
| 3917 | }}} | |
| r113 | 3918 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 3919 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 3920 | }}}{{{#!if this.Blank==5 | |
| 3921 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 3922 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 3923 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 3924 | }}}{{{#!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 | 3925 | }}} |
| 3926 | }}} | |
| 3927 | }}} | |
| 3928 | }}} | |
| 3929 | }}} | |
| r113 | 3930 | ##### |
| 3931 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 3932 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 3933 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 3934 | }}} |
| r113 | 3935 | {{{#!if this._ParOpen == -1 |
| 3936 | {{{#!if this.Match=true | |
| r95 | 3937 | }}} |
| r113 | 3938 | }}}{{{#!if this._ParOpen != -1 |
| 3939 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 3940 | }}} |
| 3941 | }}} | |
| r113 | 3942 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3943 | }}} |
| r113 | 3944 | {{{#!if this._ParOpen == -1 |
| 3945 | {{{#!if this.Match=true | |
| r95 | 3946 | }}} |
| r113 | 3947 | }}}{{{#!if this._ParOpen != -1 |
| 3948 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3949 | }}} |
| 3950 | }}} | |
| r113 | 3951 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3952 | }}} |
| r113 | 3953 | {{{#!if this._ParOpen == -1 |
| 3954 | {{{#!if this.Match=true | |
| r95 | 3955 | }}} |
| r113 | 3956 | }}}{{{#!if this._ParOpen != -1 |
| 3957 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3958 | }}} |
| 3959 | }}} | |
| r113 | 3960 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3961 | }}} |
| r113 | 3962 | {{{#!if this._ParOpen == -1 |
| 3963 | {{{#!if this.Match=true | |
| r95 | 3964 | }}} |
| r113 | 3965 | }}}{{{#!if this._ParOpen != -1 |
| 3966 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3967 | }}} |
| 3968 | }}} | |
| r113 | 3969 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3970 | }}} |
| r113 | 3971 | {{{#!if this._ParOpen == -1 |
| 3972 | {{{#!if this.Match=true | |
| r95 | 3973 | }}} |
| r113 | 3974 | }}}{{{#!if this._ParOpen != -1 |
| 3975 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3976 | }}} |
| 3977 | }}} | |
| r113 | 3978 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3979 | }}} |
| r113 | 3980 | {{{#!if this._ParOpen == -1 |
| 3981 | {{{#!if this.Match=true | |
| r95 | 3982 | }}} |
| r113 | 3983 | }}}{{{#!if this._ParOpen != -1 |
| 3984 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3985 | }}} |
| 3986 | }}} | |
| r113 | 3987 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 3988 | }}} |
| r113 | 3989 | {{{#!if this._ParOpen == -1 |
| 3990 | {{{#!if this.Match=true | |
| r95 | 3991 | }}} |
| r113 | 3992 | }}}{{{#!if this._ParOpen != -1 |
| 3993 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 3994 | }}} |
| 3995 | }}} | |
| 3996 | }}} | |
| r113 | 3997 | ##### |
| 3998 | {{{#!if this.Match | |
| 3999 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4000 | {{{#!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 | 4001 | }}} |
| 4002 | }}} | |
| r113 | 4003 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4004 | {{{#!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="') | |
| 4005 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4006 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4007 | }}} |
| r113 | 4008 | {{{#!if this.DarkStyleL==-1 |
| 4009 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4010 | }}}}}} |
| r113 | 4011 | {{{#!if this.DarkStyleL!=-1 |
| 4012 | {{{#!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) | |
| 4013 | }}}}}} | |
| 4014 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4015 | }}} |
| 4016 | }}} | |
| 4017 | }}} | |
| r113 | 4018 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4019 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4020 | }}}{{{#!if this.Blank!=-1 | |
| 4021 | {{{#!if this.Comma != -1 | |
| 4022 | {{{#!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 | 4023 | }}} |
| 4024 | }}} | |
| r113 | 4025 | {{{#!if this.Comma == -1 |
| 4026 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4027 | }}} |
| r113 | 4028 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4029 | }}}{{{#!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 | 4030 | }}} |
| 4031 | }}} | |
| 4032 | }}} | |
| r113 | 4033 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4034 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4035 | }}}{{{#!if this.Blank==5 | |
| 4036 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4037 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4038 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4039 | }}}{{{#!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 | 4040 | }}} |
| 4041 | }}} | |
| 4042 | }}} | |
| 4043 | }}} | |
| 4044 | }}} | |
| r113 | 4045 | ##### |
| 4046 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4047 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4048 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4049 | }}} |
| r113 | 4050 | {{{#!if this._ParOpen == -1 |
| 4051 | {{{#!if this.Match=true | |
| r95 | 4052 | }}} |
| r113 | 4053 | }}}{{{#!if this._ParOpen != -1 |
| 4054 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4055 | }}} |
| 4056 | }}} | |
| r113 | 4057 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4058 | }}} |
| r113 | 4059 | {{{#!if this._ParOpen == -1 |
| 4060 | {{{#!if this.Match=true | |
| r95 | 4061 | }}} |
| r113 | 4062 | }}}{{{#!if this._ParOpen != -1 |
| 4063 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4064 | }}} |
| 4065 | }}} | |
| r113 | 4066 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4067 | }}} |
| r113 | 4068 | {{{#!if this._ParOpen == -1 |
| 4069 | {{{#!if this.Match=true | |
| r95 | 4070 | }}} |
| r113 | 4071 | }}}{{{#!if this._ParOpen != -1 |
| 4072 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4073 | }}} |
| 4074 | }}} | |
| r113 | 4075 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4076 | }}} |
| r113 | 4077 | {{{#!if this._ParOpen == -1 |
| 4078 | {{{#!if this.Match=true | |
| r95 | 4079 | }}} |
| r113 | 4080 | }}}{{{#!if this._ParOpen != -1 |
| 4081 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4082 | }}} |
| 4083 | }}} | |
| r113 | 4084 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4085 | }}} |
| r113 | 4086 | {{{#!if this._ParOpen == -1 |
| 4087 | {{{#!if this.Match=true | |
| r95 | 4088 | }}} |
| r113 | 4089 | }}}{{{#!if this._ParOpen != -1 |
| 4090 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4091 | }}} |
| 4092 | }}} | |
| r113 | 4093 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4094 | }}} |
| r113 | 4095 | {{{#!if this._ParOpen == -1 |
| 4096 | {{{#!if this.Match=true | |
| r95 | 4097 | }}} |
| r113 | 4098 | }}}{{{#!if this._ParOpen != -1 |
| 4099 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4100 | }}} |
| 4101 | }}} | |
| r113 | 4102 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4103 | }}} |
| r113 | 4104 | {{{#!if this._ParOpen == -1 |
| 4105 | {{{#!if this.Match=true | |
| r95 | 4106 | }}} |
| r113 | 4107 | }}}{{{#!if this._ParOpen != -1 |
| 4108 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4109 | }}} |
| 4110 | }}} | |
| 4111 | }}} | |
| r113 | 4112 | ##### |
| 4113 | {{{#!if this.Match | |
| 4114 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4115 | {{{#!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 | 4116 | }}} |
| 4117 | }}} | |
| r113 | 4118 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4119 | {{{#!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="') | |
| 4120 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4121 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4122 | }}} |
| r113 | 4123 | {{{#!if this.DarkStyleL==-1 |
| 4124 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4125 | }}}}}} |
| r113 | 4126 | {{{#!if this.DarkStyleL!=-1 |
| 4127 | {{{#!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) | |
| 4128 | }}}}}} | |
| 4129 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4130 | }}} |
| 4131 | }}} | |
| 4132 | }}} | |
| r113 | 4133 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4134 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4135 | }}}{{{#!if this.Blank!=-1 | |
| 4136 | {{{#!if this.Comma != -1 | |
| 4137 | {{{#!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 | 4138 | }}} |
| 4139 | }}} | |
| r113 | 4140 | {{{#!if this.Comma == -1 |
| 4141 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4142 | }}} |
| r113 | 4143 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4144 | }}}{{{#!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 | 4145 | }}} |
| 4146 | }}} | |
| 4147 | }}} | |
| r113 | 4148 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4149 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4150 | }}}{{{#!if this.Blank==5 | |
| 4151 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4152 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4153 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4154 | }}}{{{#!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 | 4155 | }}} |
| 4156 | }}} | |
| 4157 | }}} | |
| 4158 | }}} | |
| 4159 | }}} | |
| r113 | 4160 | ##### |
| 4161 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4162 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4163 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4164 | }}} |
| r113 | 4165 | {{{#!if this._ParOpen == -1 |
| 4166 | {{{#!if this.Match=true | |
| r95 | 4167 | }}} |
| r113 | 4168 | }}}{{{#!if this._ParOpen != -1 |
| 4169 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4170 | }}} |
| 4171 | }}} | |
| r113 | 4172 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4173 | }}} |
| r113 | 4174 | {{{#!if this._ParOpen == -1 |
| 4175 | {{{#!if this.Match=true | |
| r95 | 4176 | }}} |
| r113 | 4177 | }}}{{{#!if this._ParOpen != -1 |
| 4178 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4179 | }}} |
| 4180 | }}} | |
| r113 | 4181 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4182 | }}} |
| r113 | 4183 | {{{#!if this._ParOpen == -1 |
| 4184 | {{{#!if this.Match=true | |
| r95 | 4185 | }}} |
| r113 | 4186 | }}}{{{#!if this._ParOpen != -1 |
| 4187 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4188 | }}} |
| 4189 | }}} | |
| r113 | 4190 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4191 | }}} |
| r113 | 4192 | {{{#!if this._ParOpen == -1 |
| 4193 | {{{#!if this.Match=true | |
| r95 | 4194 | }}} |
| r113 | 4195 | }}}{{{#!if this._ParOpen != -1 |
| 4196 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4197 | }}} |
| 4198 | }}} | |
| r113 | 4199 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4200 | }}} |
| r113 | 4201 | {{{#!if this._ParOpen == -1 |
| 4202 | {{{#!if this.Match=true | |
| r95 | 4203 | }}} |
| r113 | 4204 | }}}{{{#!if this._ParOpen != -1 |
| 4205 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4206 | }}} |
| 4207 | }}} | |
| r113 | 4208 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4209 | }}} |
| r113 | 4210 | {{{#!if this._ParOpen == -1 |
| 4211 | {{{#!if this.Match=true | |
| r95 | 4212 | }}} |
| r113 | 4213 | }}}{{{#!if this._ParOpen != -1 |
| 4214 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4215 | }}} |
| 4216 | }}} | |
| r113 | 4217 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4218 | }}} |
| r113 | 4219 | {{{#!if this._ParOpen == -1 |
| 4220 | {{{#!if this.Match=true | |
| r95 | 4221 | }}} |
| r113 | 4222 | }}}{{{#!if this._ParOpen != -1 |
| 4223 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4224 | }}} |
| 4225 | }}} | |
| 4226 | }}} | |
| r113 | 4227 | ##### |
| 4228 | {{{#!if this.Match | |
| 4229 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4230 | {{{#!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 | 4231 | }}} |
| 4232 | }}} | |
| r113 | 4233 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4234 | {{{#!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="') | |
| 4235 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4236 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4237 | }}} |
| r113 | 4238 | {{{#!if this.DarkStyleL==-1 |
| 4239 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4240 | }}}}}} |
| r113 | 4241 | {{{#!if this.DarkStyleL!=-1 |
| 4242 | {{{#!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) | |
| 4243 | }}}}}} | |
| 4244 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4245 | }}} |
| 4246 | }}} | |
| 4247 | }}} | |
| r113 | 4248 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4249 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4250 | }}}{{{#!if this.Blank!=-1 | |
| 4251 | {{{#!if this.Comma != -1 | |
| 4252 | {{{#!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 | 4253 | }}} |
| 4254 | }}} | |
| r113 | 4255 | {{{#!if this.Comma == -1 |
| 4256 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4257 | }}} |
| r113 | 4258 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4259 | }}}{{{#!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 | 4260 | }}} |
| 4261 | }}} | |
| 4262 | }}} | |
| r113 | 4263 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4264 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4265 | }}}{{{#!if this.Blank==5 | |
| 4266 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4267 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4268 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4269 | }}}{{{#!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 | 4270 | }}} |
| 4271 | }}} | |
| 4272 | }}} | |
| 4273 | }}} | |
| 4274 | }}} | |
| r113 | 4275 | ##### |
| 4276 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4277 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4278 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4279 | }}} |
| r113 | 4280 | {{{#!if this._ParOpen == -1 |
| 4281 | {{{#!if this.Match=true | |
| r95 | 4282 | }}} |
| r113 | 4283 | }}}{{{#!if this._ParOpen != -1 |
| 4284 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4285 | }}} |
| 4286 | }}} | |
| r113 | 4287 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4288 | }}} |
| r113 | 4289 | {{{#!if this._ParOpen == -1 |
| 4290 | {{{#!if this.Match=true | |
| r95 | 4291 | }}} |
| r113 | 4292 | }}}{{{#!if this._ParOpen != -1 |
| 4293 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4294 | }}} |
| 4295 | }}} | |
| r113 | 4296 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4297 | }}} |
| r113 | 4298 | {{{#!if this._ParOpen == -1 |
| 4299 | {{{#!if this.Match=true | |
| r95 | 4300 | }}} |
| r113 | 4301 | }}}{{{#!if this._ParOpen != -1 |
| 4302 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4303 | }}} |
| 4304 | }}} | |
| r113 | 4305 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4306 | }}} |
| r113 | 4307 | {{{#!if this._ParOpen == -1 |
| 4308 | {{{#!if this.Match=true | |
| r95 | 4309 | }}} |
| r113 | 4310 | }}}{{{#!if this._ParOpen != -1 |
| 4311 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4312 | }}} |
| 4313 | }}} | |
| r113 | 4314 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4315 | }}} |
| r113 | 4316 | {{{#!if this._ParOpen == -1 |
| 4317 | {{{#!if this.Match=true | |
| r95 | 4318 | }}} |
| r113 | 4319 | }}}{{{#!if this._ParOpen != -1 |
| 4320 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4321 | }}} |
| 4322 | }}} | |
| r113 | 4323 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4324 | }}} |
| r113 | 4325 | {{{#!if this._ParOpen == -1 |
| 4326 | {{{#!if this.Match=true | |
| r95 | 4327 | }}} |
| r113 | 4328 | }}}{{{#!if this._ParOpen != -1 |
| 4329 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4330 | }}} |
| 4331 | }}} | |
| r113 | 4332 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4333 | }}} |
| r113 | 4334 | {{{#!if this._ParOpen == -1 |
| 4335 | {{{#!if this.Match=true | |
| r95 | 4336 | }}} |
| r113 | 4337 | }}}{{{#!if this._ParOpen != -1 |
| 4338 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4339 | }}} |
| 4340 | }}} | |
| 4341 | }}} | |
| r113 | 4342 | ##### |
| 4343 | {{{#!if this.Match | |
| 4344 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4345 | {{{#!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 | 4346 | }}} |
| 4347 | }}} | |
| r113 | 4348 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4349 | {{{#!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="') | |
| 4350 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4351 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4352 | }}} |
| r113 | 4353 | {{{#!if this.DarkStyleL==-1 |
| 4354 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4355 | }}}}}} |
| r113 | 4356 | {{{#!if this.DarkStyleL!=-1 |
| 4357 | {{{#!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) | |
| 4358 | }}}}}} | |
| 4359 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4360 | }}} |
| 4361 | }}} | |
| 4362 | }}} | |
| r113 | 4363 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4364 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4365 | }}}{{{#!if this.Blank!=-1 | |
| 4366 | {{{#!if this.Comma != -1 | |
| 4367 | {{{#!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 | 4368 | }}} |
| 4369 | }}} | |
| r113 | 4370 | {{{#!if this.Comma == -1 |
| 4371 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4372 | }}} |
| r113 | 4373 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4374 | }}}{{{#!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 | 4375 | }}} |
| 4376 | }}} | |
| 4377 | }}} | |
| r113 | 4378 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4379 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4380 | }}}{{{#!if this.Blank==5 | |
| 4381 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4382 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4383 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4384 | }}}{{{#!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 | 4385 | }}} |
| 4386 | }}} | |
| 4387 | }}} | |
| 4388 | }}} | |
| 4389 | }}} | |
| r113 | 4390 | ##### |
| 4391 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4392 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4393 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4394 | }}} |
| r113 | 4395 | {{{#!if this._ParOpen == -1 |
| 4396 | {{{#!if this.Match=true | |
| r95 | 4397 | }}} |
| r113 | 4398 | }}}{{{#!if this._ParOpen != -1 |
| 4399 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4400 | }}} |
| 4401 | }}} | |
| r113 | 4402 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4403 | }}} |
| r113 | 4404 | {{{#!if this._ParOpen == -1 |
| 4405 | {{{#!if this.Match=true | |
| r95 | 4406 | }}} |
| r113 | 4407 | }}}{{{#!if this._ParOpen != -1 |
| 4408 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4409 | }}} |
| 4410 | }}} | |
| r113 | 4411 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4412 | }}} |
| r113 | 4413 | {{{#!if this._ParOpen == -1 |
| 4414 | {{{#!if this.Match=true | |
| r95 | 4415 | }}} |
| r113 | 4416 | }}}{{{#!if this._ParOpen != -1 |
| 4417 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4418 | }}} |
| 4419 | }}} | |
| r113 | 4420 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4421 | }}} |
| r113 | 4422 | {{{#!if this._ParOpen == -1 |
| 4423 | {{{#!if this.Match=true | |
| r95 | 4424 | }}} |
| r113 | 4425 | }}}{{{#!if this._ParOpen != -1 |
| 4426 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4427 | }}} |
| 4428 | }}} | |
| r113 | 4429 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4430 | }}} |
| r113 | 4431 | {{{#!if this._ParOpen == -1 |
| 4432 | {{{#!if this.Match=true | |
| r95 | 4433 | }}} |
| r113 | 4434 | }}}{{{#!if this._ParOpen != -1 |
| 4435 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4436 | }}} |
| 4437 | }}} | |
| r113 | 4438 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4439 | }}} |
| r113 | 4440 | {{{#!if this._ParOpen == -1 |
| 4441 | {{{#!if this.Match=true | |
| r95 | 4442 | }}} |
| r113 | 4443 | }}}{{{#!if this._ParOpen != -1 |
| 4444 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4445 | }}} |
| 4446 | }}} | |
| r113 | 4447 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4448 | }}} |
| r113 | 4449 | {{{#!if this._ParOpen == -1 |
| 4450 | {{{#!if this.Match=true | |
| r95 | 4451 | }}} |
| r113 | 4452 | }}}{{{#!if this._ParOpen != -1 |
| 4453 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4454 | }}} |
| 4455 | }}} | |
| 4456 | }}} | |
| r113 | 4457 | ##### |
| 4458 | {{{#!if this.Match | |
| 4459 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4460 | {{{#!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 | 4461 | }}} |
| 4462 | }}} | |
| r113 | 4463 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4464 | {{{#!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="') | |
| 4465 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4466 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4467 | }}} |
| r113 | 4468 | {{{#!if this.DarkStyleL==-1 |
| 4469 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4470 | }}}}}} |
| r113 | 4471 | {{{#!if this.DarkStyleL!=-1 |
| 4472 | {{{#!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) | |
| 4473 | }}}}}} | |
| 4474 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4475 | }}} |
| 4476 | }}} | |
| 4477 | }}} | |
| r113 | 4478 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4479 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4480 | }}}{{{#!if this.Blank!=-1 | |
| 4481 | {{{#!if this.Comma != -1 | |
| 4482 | {{{#!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 | 4483 | }}} |
| 4484 | }}} | |
| r113 | 4485 | {{{#!if this.Comma == -1 |
| 4486 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4487 | }}} |
| r113 | 4488 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4489 | }}}{{{#!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 | 4490 | }}} |
| 4491 | }}} | |
| 4492 | }}} | |
| r113 | 4493 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4494 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4495 | }}}{{{#!if this.Blank==5 | |
| 4496 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4497 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4498 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4499 | }}}{{{#!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 | 4500 | }}} |
| 4501 | }}} | |
| 4502 | }}} | |
| 4503 | }}} | |
| 4504 | }}} | |
| r113 | 4505 | ##### |
| 4506 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4507 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4508 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4509 | }}} |
| r113 | 4510 | {{{#!if this._ParOpen == -1 |
| 4511 | {{{#!if this.Match=true | |
| r95 | 4512 | }}} |
| r113 | 4513 | }}}{{{#!if this._ParOpen != -1 |
| 4514 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4515 | }}} |
| 4516 | }}} | |
| r113 | 4517 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4518 | }}} |
| r113 | 4519 | {{{#!if this._ParOpen == -1 |
| 4520 | {{{#!if this.Match=true | |
| r95 | 4521 | }}} |
| r113 | 4522 | }}}{{{#!if this._ParOpen != -1 |
| 4523 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4524 | }}} |
| 4525 | }}} | |
| r113 | 4526 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4527 | }}} |
| r113 | 4528 | {{{#!if this._ParOpen == -1 |
| 4529 | {{{#!if this.Match=true | |
| r95 | 4530 | }}} |
| r113 | 4531 | }}}{{{#!if this._ParOpen != -1 |
| 4532 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4533 | }}} |
| 4534 | }}} | |
| r113 | 4535 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4536 | }}} |
| r113 | 4537 | {{{#!if this._ParOpen == -1 |
| 4538 | {{{#!if this.Match=true | |
| r95 | 4539 | }}} |
| r113 | 4540 | }}}{{{#!if this._ParOpen != -1 |
| 4541 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4542 | }}} |
| 4543 | }}} | |
| r113 | 4544 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4545 | }}} |
| r113 | 4546 | {{{#!if this._ParOpen == -1 |
| 4547 | {{{#!if this.Match=true | |
| r95 | 4548 | }}} |
| r113 | 4549 | }}}{{{#!if this._ParOpen != -1 |
| 4550 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4551 | }}} |
| 4552 | }}} | |
| r113 | 4553 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4554 | }}} |
| r113 | 4555 | {{{#!if this._ParOpen == -1 |
| 4556 | {{{#!if this.Match=true | |
| r95 | 4557 | }}} |
| r113 | 4558 | }}}{{{#!if this._ParOpen != -1 |
| 4559 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4560 | }}} |
| 4561 | }}} | |
| r113 | 4562 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4563 | }}} |
| r113 | 4564 | {{{#!if this._ParOpen == -1 |
| 4565 | {{{#!if this.Match=true | |
| r95 | 4566 | }}} |
| r113 | 4567 | }}}{{{#!if this._ParOpen != -1 |
| 4568 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4569 | }}} |
| 4570 | }}} | |
| 4571 | }}} | |
| r113 | 4572 | ##### |
| 4573 | {{{#!if this.Match | |
| 4574 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4575 | {{{#!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 | 4576 | }}} |
| 4577 | }}} | |
| r113 | 4578 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4579 | {{{#!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="') | |
| 4580 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4581 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4582 | }}} |
| r113 | 4583 | {{{#!if this.DarkStyleL==-1 |
| 4584 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4585 | }}}}}} |
| r113 | 4586 | {{{#!if this.DarkStyleL!=-1 |
| 4587 | {{{#!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) | |
| 4588 | }}}}}} | |
| 4589 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4590 | }}} |
| 4591 | }}} | |
| 4592 | }}} | |
| r113 | 4593 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4594 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4595 | }}}{{{#!if this.Blank!=-1 | |
| 4596 | {{{#!if this.Comma != -1 | |
| 4597 | {{{#!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 | 4598 | }}} |
| 4599 | }}} | |
| r113 | 4600 | {{{#!if this.Comma == -1 |
| 4601 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4602 | }}} |
| r113 | 4603 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4604 | }}}{{{#!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 | 4605 | }}} |
| 4606 | }}} | |
| 4607 | }}} | |
| r113 | 4608 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4609 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4610 | }}}{{{#!if this.Blank==5 | |
| 4611 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4612 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4613 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4614 | }}}{{{#!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 | 4615 | }}} |
| 4616 | }}} | |
| 4617 | }}} | |
| 4618 | }}} | |
| 4619 | }}} | |
| r113 | 4620 | ##### |
| 4621 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4622 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4623 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r95 | 4624 | }}} |
| r113 | 4625 | {{{#!if this._ParOpen == -1 |
| 4626 | {{{#!if this.Match=true | |
| r95 | 4627 | }}} |
| r113 | 4628 | }}}{{{#!if this._ParOpen != -1 |
| 4629 | {{{#!if this.ParOpen=this._ParOpen | |
| r95 | 4630 | }}} |
| 4631 | }}} | |
| r113 | 4632 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4633 | }}} |
| r113 | 4634 | {{{#!if this._ParOpen == -1 |
| 4635 | {{{#!if this.Match=true | |
| r95 | 4636 | }}} |
| r113 | 4637 | }}}{{{#!if this._ParOpen != -1 |
| 4638 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4639 | }}} |
| 4640 | }}} | |
| r113 | 4641 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4642 | }}} |
| r113 | 4643 | {{{#!if this._ParOpen == -1 |
| 4644 | {{{#!if this.Match=true | |
| r95 | 4645 | }}} |
| r113 | 4646 | }}}{{{#!if this._ParOpen != -1 |
| 4647 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4648 | }}} |
| 4649 | }}} | |
| r113 | 4650 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4651 | }}} |
| r113 | 4652 | {{{#!if this._ParOpen == -1 |
| 4653 | {{{#!if this.Match=true | |
| r95 | 4654 | }}} |
| r113 | 4655 | }}}{{{#!if this._ParOpen != -1 |
| 4656 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4657 | }}} |
| 4658 | }}} | |
| r113 | 4659 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4660 | }}} |
| r113 | 4661 | {{{#!if this._ParOpen == -1 |
| 4662 | {{{#!if this.Match=true | |
| r95 | 4663 | }}} |
| r113 | 4664 | }}}{{{#!if this._ParOpen != -1 |
| 4665 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4666 | }}} |
| 4667 | }}} | |
| r113 | 4668 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4669 | }}} |
| r113 | 4670 | {{{#!if this._ParOpen == -1 |
| 4671 | {{{#!if this.Match=true | |
| r95 | 4672 | }}} |
| r113 | 4673 | }}}{{{#!if this._ParOpen != -1 |
| 4674 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4675 | }}} |
| 4676 | }}} | |
| r113 | 4677 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r95 | 4678 | }}} |
| r113 | 4679 | {{{#!if this._ParOpen == -1 |
| 4680 | {{{#!if this.Match=true | |
| r95 | 4681 | }}} |
| r113 | 4682 | }}}{{{#!if this._ParOpen != -1 |
| 4683 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r95 | 4684 | }}} |
| 4685 | }}} | |
| 4686 | }}} | |
| r113 | 4687 | ##### |
| 4688 | {{{#!if this.Match | |
| 4689 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4690 | {{{#!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 | 4691 | }}} |
| 4692 | }}} | |
| r113 | 4693 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4694 | {{{#!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="') | |
| 4695 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4696 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r95 | 4697 | }}} |
| r113 | 4698 | {{{#!if this.DarkStyleL==-1 |
| 4699 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r95 | 4700 | }}}}}} |
| r113 | 4701 | {{{#!if this.DarkStyleL!=-1 |
| 4702 | {{{#!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) | |
| 4703 | }}}}}} | |
| 4704 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r95 | 4705 | }}} |
| 4706 | }}} | |
| 4707 | }}} | |
| r113 | 4708 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4709 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4710 | }}}{{{#!if this.Blank!=-1 | |
| 4711 | {{{#!if this.Comma != -1 | |
| 4712 | {{{#!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 | 4713 | }}} |
| 4714 | }}} | |
| r113 | 4715 | {{{#!if this.Comma == -1 |
| 4716 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r95 | 4717 | }}} |
| r113 | 4718 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4719 | }}}{{{#!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 | 4720 | }}} |
| 4721 | }}} | |
| 4722 | }}} | |
| r113 | 4723 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4724 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4725 | }}}{{{#!if this.Blank==5 | |
| 4726 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4727 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4728 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4729 | }}}{{{#!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 | 4730 | }}} |
| 4731 | }}} | |
| 4732 | }}} | |
| 4733 | }}} | |
| 4734 | }}} | |
| r113 | 4735 | ##### |
| 4736 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4737 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4738 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4739 | }}} |
| r113 | 4740 | {{{#!if this._ParOpen == -1 |
| 4741 | {{{#!if this.Match=true | |
| r109 | 4742 | }}} |
| r113 | 4743 | }}}{{{#!if this._ParOpen != -1 |
| 4744 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4745 | }}} |
| 4746 | }}} | |
| r113 | 4747 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4748 | }}} |
| r113 | 4749 | {{{#!if this._ParOpen == -1 |
| 4750 | {{{#!if this.Match=true | |
| r109 | 4751 | }}} |
| r113 | 4752 | }}}{{{#!if this._ParOpen != -1 |
| 4753 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4754 | }}} |
| 4755 | }}} | |
| r113 | 4756 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4757 | }}} |
| r113 | 4758 | {{{#!if this._ParOpen == -1 |
| 4759 | {{{#!if this.Match=true | |
| r109 | 4760 | }}} |
| r113 | 4761 | }}}{{{#!if this._ParOpen != -1 |
| 4762 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4763 | }}} |
| 4764 | }}} | |
| r113 | 4765 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4766 | }}} |
| r113 | 4767 | {{{#!if this._ParOpen == -1 |
| 4768 | {{{#!if this.Match=true | |
| r109 | 4769 | }}} |
| r113 | 4770 | }}}{{{#!if this._ParOpen != -1 |
| 4771 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4772 | }}} |
| 4773 | }}} | |
| r113 | 4774 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4775 | }}} |
| r113 | 4776 | {{{#!if this._ParOpen == -1 |
| 4777 | {{{#!if this.Match=true | |
| r109 | 4778 | }}} |
| r113 | 4779 | }}}{{{#!if this._ParOpen != -1 |
| 4780 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4781 | }}} |
| 4782 | }}} | |
| r113 | 4783 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4784 | }}} |
| r113 | 4785 | {{{#!if this._ParOpen == -1 |
| 4786 | {{{#!if this.Match=true | |
| r109 | 4787 | }}} |
| r113 | 4788 | }}}{{{#!if this._ParOpen != -1 |
| 4789 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4790 | }}} |
| 4791 | }}} | |
| 4792 | }}} | |
| r113 | 4793 | ##### |
| 4794 | {{{#!if this.Match | |
| 4795 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4796 | {{{#!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 | 4797 | }}} |
| 4798 | }}} | |
| r113 | 4799 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4800 | {{{#!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="') | |
| 4801 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4802 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4803 | }}} |
| r113 | 4804 | {{{#!if this.DarkStyleL==-1 |
| 4805 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4806 | }}}}}} |
| r113 | 4807 | {{{#!if this.DarkStyleL!=-1 |
| 4808 | {{{#!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) | |
| 4809 | }}}}}} | |
| 4810 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4811 | }}} |
| 4812 | }}} | |
| 4813 | }}} | |
| r113 | 4814 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4815 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4816 | }}}{{{#!if this.Blank!=-1 | |
| 4817 | {{{#!if this.Comma != -1 | |
| 4818 | {{{#!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 | 4819 | }}} |
| 4820 | }}} | |
| r113 | 4821 | {{{#!if this.Comma == -1 |
| 4822 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 4823 | }}} |
| r113 | 4824 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4825 | }}}{{{#!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 | 4826 | }}} |
| 4827 | }}} | |
| 4828 | }}} | |
| r113 | 4829 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4830 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4831 | }}}{{{#!if this.Blank==5 | |
| 4832 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4833 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4834 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4835 | }}}{{{#!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 | 4836 | }}} |
| 4837 | }}} | |
| 4838 | }}} | |
| 4839 | }}} | |
| 4840 | }}} | |
| r113 | 4841 | ##### |
| 4842 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4843 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4844 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4845 | }}} |
| r113 | 4846 | {{{#!if this._ParOpen == -1 |
| 4847 | {{{#!if this.Match=true | |
| r109 | 4848 | }}} |
| r113 | 4849 | }}}{{{#!if this._ParOpen != -1 |
| 4850 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4851 | }}} |
| 4852 | }}} | |
| r113 | 4853 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4854 | }}} |
| r113 | 4855 | {{{#!if this._ParOpen == -1 |
| 4856 | {{{#!if this.Match=true | |
| r109 | 4857 | }}} |
| r113 | 4858 | }}}{{{#!if this._ParOpen != -1 |
| 4859 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4860 | }}} |
| 4861 | }}} | |
| r113 | 4862 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4863 | }}} |
| r113 | 4864 | {{{#!if this._ParOpen == -1 |
| 4865 | {{{#!if this.Match=true | |
| r109 | 4866 | }}} |
| r113 | 4867 | }}}{{{#!if this._ParOpen != -1 |
| 4868 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4869 | }}} |
| 4870 | }}} | |
| r113 | 4871 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4872 | }}} |
| r113 | 4873 | {{{#!if this._ParOpen == -1 |
| 4874 | {{{#!if this.Match=true | |
| r109 | 4875 | }}} |
| r113 | 4876 | }}}{{{#!if this._ParOpen != -1 |
| 4877 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4878 | }}} |
| 4879 | }}} | |
| r113 | 4880 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4881 | }}} |
| r113 | 4882 | {{{#!if this._ParOpen == -1 |
| 4883 | {{{#!if this.Match=true | |
| r109 | 4884 | }}} |
| r113 | 4885 | }}}{{{#!if this._ParOpen != -1 |
| 4886 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4887 | }}} |
| 4888 | }}} | |
| 4889 | }}} | |
| r113 | 4890 | ##### |
| 4891 | {{{#!if this.Match | |
| 4892 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4893 | {{{#!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 | 4894 | }}} |
| 4895 | }}} | |
| r113 | 4896 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4897 | {{{#!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="') | |
| 4898 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4899 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4900 | }}} |
| r113 | 4901 | {{{#!if this.DarkStyleL==-1 |
| 4902 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4903 | }}}}}} |
| r113 | 4904 | {{{#!if this.DarkStyleL!=-1 |
| 4905 | {{{#!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) | |
| 4906 | }}}}}} | |
| 4907 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4908 | }}} |
| 4909 | }}} | |
| 4910 | }}} | |
| r113 | 4911 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 4912 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 4913 | }}}{{{#!if this.Blank!=-1 | |
| 4914 | {{{#!if this.Comma != -1 | |
| 4915 | {{{#!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 | 4916 | }}} |
| 4917 | }}} | |
| r113 | 4918 | {{{#!if this.Comma == -1 |
| 4919 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 4920 | }}} |
| r113 | 4921 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 4922 | }}}{{{#!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 | 4923 | }}} |
| 4924 | }}} | |
| 4925 | }}} | |
| r113 | 4926 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 4927 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 4928 | }}}{{{#!if this.Blank==5 | |
| 4929 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 4930 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 4931 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 4932 | }}}{{{#!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 | 4933 | }}} |
| 4934 | }}} | |
| 4935 | }}} | |
| 4936 | }}} | |
| 4937 | }}} | |
| r113 | 4938 | ##### |
| 4939 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 4940 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 4941 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 4942 | }}} |
| r113 | 4943 | {{{#!if this._ParOpen == -1 |
| 4944 | {{{#!if this.Match=true | |
| r109 | 4945 | }}} |
| r113 | 4946 | }}}{{{#!if this._ParOpen != -1 |
| 4947 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 4948 | }}} |
| 4949 | }}} | |
| r113 | 4950 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4951 | }}} |
| r113 | 4952 | {{{#!if this._ParOpen == -1 |
| 4953 | {{{#!if this.Match=true | |
| r109 | 4954 | }}} |
| r113 | 4955 | }}}{{{#!if this._ParOpen != -1 |
| 4956 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4957 | }}} |
| 4958 | }}} | |
| r113 | 4959 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4960 | }}} |
| r113 | 4961 | {{{#!if this._ParOpen == -1 |
| 4962 | {{{#!if this.Match=true | |
| r109 | 4963 | }}} |
| r113 | 4964 | }}}{{{#!if this._ParOpen != -1 |
| 4965 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4966 | }}} |
| 4967 | }}} | |
| r113 | 4968 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 4969 | }}} |
| r113 | 4970 | {{{#!if this._ParOpen == -1 |
| 4971 | {{{#!if this.Match=true | |
| r109 | 4972 | }}} |
| r113 | 4973 | }}}{{{#!if this._ParOpen != -1 |
| 4974 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 4975 | }}} |
| 4976 | }}} | |
| 4977 | }}} | |
| r113 | 4978 | ##### |
| 4979 | {{{#!if this.Match | |
| 4980 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 4981 | {{{#!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 | 4982 | }}} |
| 4983 | }}} | |
| r113 | 4984 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 4985 | {{{#!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="') | |
| 4986 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 4987 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 4988 | }}} |
| r113 | 4989 | {{{#!if this.DarkStyleL==-1 |
| 4990 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 4991 | }}}}}} |
| r113 | 4992 | {{{#!if this.DarkStyleL!=-1 |
| 4993 | {{{#!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) | |
| 4994 | }}}}}} | |
| 4995 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 4996 | }}} |
| 4997 | }}} | |
| 4998 | }}} | |
| r113 | 4999 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5000 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5001 | }}}{{{#!if this.Blank!=-1 | |
| 5002 | {{{#!if this.Comma != -1 | |
| 5003 | {{{#!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 | 5004 | }}} |
| 5005 | }}} | |
| r113 | 5006 | {{{#!if this.Comma == -1 |
| 5007 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5008 | }}} |
| r113 | 5009 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5010 | }}}{{{#!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 | 5011 | }}} |
| 5012 | }}} | |
| 5013 | }}} | |
| r113 | 5014 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5015 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5016 | }}}{{{#!if this.Blank==5 | |
| 5017 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5018 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5019 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5020 | }}}{{{#!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 | 5021 | }}} |
| 5022 | }}} | |
| 5023 | }}} | |
| 5024 | }}} | |
| 5025 | }}} | |
| r113 | 5026 | ##### |
| 5027 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5028 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5029 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 5030 | }}} |
| r113 | 5031 | {{{#!if this._ParOpen == -1 |
| 5032 | {{{#!if this.Match=true | |
| r109 | 5033 | }}} |
| r113 | 5034 | }}}{{{#!if this._ParOpen != -1 |
| 5035 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 5036 | }}} |
| 5037 | }}} | |
| r113 | 5038 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5039 | }}} |
| r113 | 5040 | {{{#!if this._ParOpen == -1 |
| 5041 | {{{#!if this.Match=true | |
| r109 | 5042 | }}} |
| r113 | 5043 | }}}{{{#!if this._ParOpen != -1 |
| 5044 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5045 | }}} |
| 5046 | }}} | |
| r113 | 5047 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5048 | }}} |
| r113 | 5049 | {{{#!if this._ParOpen == -1 |
| 5050 | {{{#!if this.Match=true | |
| r109 | 5051 | }}} |
| r113 | 5052 | }}}{{{#!if this._ParOpen != -1 |
| 5053 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5054 | }}} |
| 5055 | }}} | |
| 5056 | }}} | |
| r113 | 5057 | ##### |
| 5058 | {{{#!if this.Match | |
| 5059 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5060 | {{{#!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 | 5061 | }}} |
| 5062 | }}} | |
| r113 | 5063 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 5064 | {{{#!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="') | |
| 5065 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5066 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 5067 | }}} |
| r113 | 5068 | {{{#!if this.DarkStyleL==-1 |
| 5069 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 5070 | }}}}}} |
| r113 | 5071 | {{{#!if this.DarkStyleL!=-1 |
| 5072 | {{{#!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) | |
| 5073 | }}}}}} | |
| 5074 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5075 | }}} |
| 5076 | }}} | |
| 5077 | }}} | |
| r113 | 5078 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5079 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5080 | }}}{{{#!if this.Blank!=-1 | |
| 5081 | {{{#!if this.Comma != -1 | |
| 5082 | {{{#!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 | 5083 | }}} |
| 5084 | }}} | |
| r113 | 5085 | {{{#!if this.Comma == -1 |
| 5086 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5087 | }}} |
| r113 | 5088 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5089 | }}}{{{#!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 | 5090 | }}} |
| 5091 | }}} | |
| 5092 | }}} | |
| r113 | 5093 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5094 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5095 | }}}{{{#!if this.Blank==5 | |
| 5096 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5097 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5098 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5099 | }}}{{{#!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 | 5100 | }}} |
| 5101 | }}} | |
| 5102 | }}} | |
| 5103 | }}} | |
| 5104 | }}} | |
| r113 | 5105 | ##### |
| 5106 | {{{#!if this.ParClose=this.DarkInput.indexOf('\}\}\}'), this.ParOpen=this.DarkInput.indexOf('\{\{\{'), this.Match=false, true | |
| 5107 | {{{#!if this.ParClose!=-1&&this.ParOpen!=-1&&this.ParClose>this.ParOpen | |
| 5108 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') | |
| r109 | 5109 | }}} |
| r113 | 5110 | {{{#!if this._ParOpen == -1 |
| 5111 | {{{#!if this.Match=true | |
| r109 | 5112 | }}} |
| r113 | 5113 | }}}{{{#!if this._ParOpen != -1 |
| 5114 | {{{#!if this.ParOpen=this._ParOpen | |
| r109 | 5115 | }}} |
| 5116 | }}} | |
| r113 | 5117 | {{{#!if this._ParOpen = this.DarkInput.substring(this.ParOpen+3,this.ParClose).indexOf('\{\{\{') |
| r109 | 5118 | }}} |
| r113 | 5119 | {{{#!if this._ParOpen == -1 |
| 5120 | {{{#!if this.Match=true | |
| r109 | 5121 | }}} |
| r113 | 5122 | }}}{{{#!if this._ParOpen != -1 |
| 5123 | {{{#!if this.ParOpen+=this._ParOpen+3 | |
| r109 | 5124 | }}} |
| 5125 | }}} | |
| 5126 | }}} | |
| r113 | 5127 | ##### |
| 5128 | {{{#!if this.Match | |
| 5129 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!html' | |
| 5130 | {{{#!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 | 5131 | }}} |
| 5132 | }}} | |
| r113 | 5133 | {{{#!if this.DarkInput.substr(this.ParOpen, 9) == '\{\{\{#!wiki' |
| 5134 | {{{#!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="') | |
| 5135 | }}}{{{#!if this.BrL != -1 && this.StyleL!=-1 | |
| 5136 | {{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.BrL+4,this.ParClose) | |
| r109 | 5137 | }}} |
| r113 | 5138 | {{{#!if this.DarkStyleL==-1 |
| 5139 | {{{#!if this.Style=this.DarkInput.substr(this.ParOpen+this.StyleL,this.BrL-this.StyleL) | |
| r109 | 5140 | }}}}}} |
| r113 | 5141 | {{{#!if this.DarkStyleL!=-1 |
| 5142 | {{{#!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) | |
| 5143 | }}}}}} | |
| 5144 | {{{#!if this.DarkInput = this.DarkInput.substring(0,this.ParOpen)+'<div '+this.Style+'>'+this.Text.trim()+'</div>'+this.DarkInput.substr(this.ParClose+3) | |
| r109 | 5145 | }}} |
| 5146 | }}} | |
| 5147 | }}} | |
| r113 | 5148 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{#' |
| 5149 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' '), this.Comma = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(',') | |
| 5150 | }}}{{{#!if this.Blank!=-1 | |
| 5151 | {{{#!if this.Comma != -1 | |
| 5152 | {{{#!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 | 5153 | }}} |
| 5154 | }}} | |
| r113 | 5155 | {{{#!if this.Comma == -1 |
| 5156 | {{{#!if this.WhiteColor=this.DarkInput.substr(this.ParOpen+3,this.Blank-3), this.DarkColor=this.WhiteColor | |
| r109 | 5157 | }}} |
| r113 | 5158 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) |
| 5159 | }}}{{{#!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 | 5160 | }}} |
| 5161 | }}} | |
| 5162 | }}} | |
| r113 | 5163 | {{{#!if this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{+' || this.DarkInput.substr(this.ParOpen, 4) == '\{\{\{-' |
| 5164 | {{{#!if this.Blank = this.DarkInput.substring(this.ParOpen,this.ParClose).indexOf(' ') | |
| 5165 | }}}{{{#!if this.Blank==5 | |
| 5166 | {{{#!if this.Size=this.DarkInput.substr(this.ParOpen+this.Blank-2, 2) | |
| 5167 | }}}{{{#!if this.Em = this.Emlist[this.Size] | |
| 5168 | }}}{{{#!if this.Text = this.DarkInput.substring(this.ParOpen+this.Blank,this.ParClose) | |
| 5169 | }}}{{{#!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 | 5170 | }}} |
| 5171 | }}} | |
| 5172 | }}} | |
| 5173 | }}} | |
| 5174 | }}} | |
| r112 | 5175 | }}}{{{#!wiki style="display: block" dark-style="display: none" |
| r104 | 5176 | {{{#!html @input@}}}}}}{{{#!wiki style="display: none" dark-style="display: block" |
| r111 | 5177 | {{{#!html @DarkInput@}}}}}}}}} |