| r2781 vs r2782 | ||
|---|---|---|
| ... | ... | |
| 3216 | 3216 | output: {{{#!html @input@}}} |
| 3217 | 3217 | |
| 3218 | 3218 | == 나무나무마크구상4 == |
| 3219 | * 할거 : math | |
| 3220 | 3219 | ## * date(datetime) dday pagecount 되겠냐? |
| 3221 | ||
| 3222 | 3220 | ruby는 쉼표 붙여쓰기. |
| 3223 | 3221 | {{{#!if this.input="냥\[br]냥\[clearfix]d[ruby(글자,ruby=루비,color=red)][ruby(글자,ruby=루비루비)]sid" |
| 3224 | 3222 | }}} |
| ... | ... | |
| 3226 | 3224 | {{{#!wiki style="display: none" |
| 3227 | 3225 | {{{#!if this.Macro=this.input.indexOf("[br]") |
| 3228 | 3226 | }}}{{{#!if this.Macro!=-1 |
| 3229 | ||
| 3230 | ||
| 3227 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<br>'+this.input.substr(this.Macro+4) | |
| 3228 | }}}}}} | |
| 3231 | 3229 | {{{#!if this.Macro=this.input.indexOf("[clearfix]") |
| 3232 | 3230 | }}}{{{#!if this.Macro!=-1 |
| 3233 | ||
| 3234 | ||
| 3231 | {{{#!if this.input = this.input.substring(0,this.Macro)+'<div style="clear: both">'+this.input.substr(this.Macro+10) | |
| 3232 | }}}}}} | |
| 3235 | 3233 | {{{#!if this.MacroOpen=this.input.indexOf("\[ruby\("), this.Color='' |
| 3236 | 3234 | ##)] |
| 3237 | 3235 | }}}{{{#!if this.MacroOpen!=-1 |
| 3238 | ||
| 3239 | ||
| 3240 | ||
| 3241 | ||
| 3242 | ||
| 3243 | ||
| 3244 | ||
| 3245 | ||
| 3246 | ||
| 3247 | ||
| 3248 | ||
| 3249 | ||
| 3250 | ||
| 3236 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 3237 | }}}{{{#!if this.MacroClose!=-1 | |
| 3238 | {{{#!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) | |
| 3239 | }}}{{{#!if this.Comma2==-1 | |
| 3240 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 3241 | }}} | |
| 3242 | }}}{{{#!if this.Comma2!=-1 | |
| 3243 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.Comma2) | |
| 3244 | }}}{{{#!if this.Color = this.RubyRaw.substr(this.Comma2+7,this.MacroClose) | |
| 3245 | }}} | |
| 3251 | 3246 | }}} |
| 3247 | {{{#!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) | |
| 3248 | }}} | |
| 3249 | }}} | |
| 3252 | 3250 | }}} |
| 3253 | 3251 | }}} |
| 3254 | 3252 | output: {{{#!html @input@}}} |
| 3253 | ||
| 3254 | == 나무나무마크구상5 == | |
| 3255 | 동영상 매크로. | |
| 3256 | {{{#!if this.input="[youtube(GrAchTdepsU, start=1, end=2)]" | |
| 3257 | }}} | |
| 3258 | ||
| 3259 | input=@input@ | |
| 3260 | {{{#!wiki style="display: none" | |
| 3261 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=640, Ywidth=640, Ystart='', Yend='' | |
| 3262 | ##)] | |
| 3263 | }}}{{{#!if this.MacroOpen!=-1 | |
| 3264 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 3265 | }}}{{{#!if this.MacroClose!=-1 | |
| 3266 | {{{#!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) | |
| 3267 | }}}{{{#!if this.Comma2==-1 | |
| 3268 | {{{#!if this.Ruby = this.RubyRaw.substring(this.Comma1+6,this.MacroClose) | |
| 3269 | }}} | |
| 3270 | }}} | |
| 3271 | ## {{{#!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) | |
| 3272 | ## }}} | |
| 3273 | }}} | |
| 3274 | }}} | |
| 3275 | }}} | |
| 3276 | ||
| 3277 | ||
| 3278 | ## {{{#!html <iframe width="640" height="360" src="https://www.youtube.com/embed/GrAchTdepsU?start=35&end=15" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>}}} | |
| 3279 | ||
| 3280 | output: {{{#!html @input@}}} | |
| 3255 | 3281 | == ㅁㄴㅇㄹ == |
| 3256 | 3282 | [include(a)]''''''[include(a)][include(a)] |
| 3257 | 3283 | [[]][include(a)][include(a)][include(a)] |
| ... | ... |