r2782 vs r2783
......
32533253
32543254
== 나무나무마크구상5 ==
32553255
동영상 매크로.
3256
{{{#!if this.input="[youtube(GrAchTdepsU, start=1, end=2)]"
3256
{{{#!if this.input="[youtube(GrAchTdepsU, start=1, end=10000890890, width=640)][youtube(GrAchTdepsU, start=1, end=, width=640)]"
32573257
}}}
32583258
32593259
input=@input@
32603260
{{{#!wiki style="display: none"
3261
{{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=640, Ywidth=640, Ystart='', Yend=''
3261
{{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend=''
32623262
##)]
32633263
}}}{{{#!if this.MacroOpen!=-1
32643264
{{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]")
32653265
}}}{{{#!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)
3266
{{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20)
3267
}}}
3268
3269
{{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=')
3270
}}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1
3271
}}}
3272
{{{#!if (this.Comma1 != -1) && (this.EqualSign != -1)
3273
{{{#!if this.Comma2 == 0
3274
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim()
3275
}}}
32693276
}}}
3277
{{{#!if this.Comma2 != 0
3278
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim()
3279
}}}
3280
}}}
32703281
}}}
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
## }}}
3282
{{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2)
3283
}}}
3284
3285
{{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=')
3286
}}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1
3287
}}}
3288
{{{#!if (this.Comma1 != -1) && (this.EqualSign != -1)
3289
{{{#!if this.Comma2 == 0
3290
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim()
3291
}}}
3292
}}}
3293
{{{#!if this.Comma2 != 0
3294
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim()
3295
}}}
3296
}}}
3297
}}}
3298
{{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2)
3299
}}}
3300
3301
{{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=')
3302
}}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1
3303
}}}
3304
{{{#!if (this.Comma1 != -1) && (this.EqualSign != -1)
3305
{{{#!if this.Comma2 == 0
3306
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim()
3307
}}}
3308
}}}
3309
{{{#!if this.Comma2 != 0
3310
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim()
3311
}}}
3312
}}}
3313
}}}
3314
{{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2)
3315
}}}
3316
3317
{{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=')
3318
}}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1
3319
}}}
3320
{{{#!if (this.Comma1 != -1) && (this.EqualSign != -1)
3321
{{{#!if this.Comma2 == 0
3322
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim()
3323
}}}
3324
}}}
3325
{{{#!if this.Comma2 != 0
3326
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim()
3327
}}}
3328
}}}
3329
}}}
3330
{{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2)
3331
}}}
3332
3333
{{{#!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.MacroClose+2)
3334
}}}
32733335
}}}
32743336
}}}
3337
{{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend=''
3338
##)]
3339
}}}{{{#!if this.MacroOpen!=-1
3340
{{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]")
3341
}}}{{{#!if this.MacroClose!=-1
3342
{{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20)
3343
}}}
3344
3345
{{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=')
3346
}}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1
3347
}}}
3348
{{{#!if (this.Comma1 != -1) && (this.EqualSign != -1)
3349
{{{#!if this.Comma2 == 0
3350
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim()
3351
}}}
3352
}}}
3353
{{{#!if this.Comma2 != 0
3354
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim()
3355
}}}
3356
}}}
3357
}}}
3358
{{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2)
3359
}}}
3360
3361
{{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=')
3362
}}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1
3363
}}}
3364
{{{#!if (this.Comma1 != -1) && (this.EqualSign != -1)
3365
{{{#!if this.Comma2 == 0
3366
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim()
3367
}}}
3368
}}}
3369
{{{#!if this.Comma2 != 0
3370
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim()
3371
}}}
3372
}}}
3373
}}}
3374
{{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2)
3375
}}}
3376
3377
{{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=')
3378
}}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1
3379
}}}
3380
{{{#!if (this.Comma1 != -1) && (this.EqualSign != -1)
3381
{{{#!if this.Comma2 == 0
3382
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim()
3383
}}}
3384
}}}
3385
{{{#!if this.Comma2 != 0
3386
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim()
3387
}}}
3388
}}}
3389
}}}
3390
{{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2)
3391
}}}
3392
3393
{{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=')
3394
}}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1
3395
}}}
3396
{{{#!if (this.Comma1 != -1) && (this.EqualSign != -1)
3397
{{{#!if this.Comma2 == 0
3398
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim()
3399
}}}
3400
}}}
3401
{{{#!if this.Comma2 != 0
3402
{{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim()
3403
}}}
3404
}}}
3405
}}}
3406
{{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2)
3407
}}}
3408
3409
{{{#!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.MacroClose+2)
3410
}}}
3411
}}}
32753412
}}}
3413
}}}
32763414
3415
## {{{#!html <iframe width="640" height="360" src="https://www.youtube.com/embed/GrAchTdepsU?start=1&end=2" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>}}}
32773416
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
32803417
output: {{{#!html @input@}}}
32813418
== ㅁㄴㅇㄹ ==
32823419
[include(a)]''''''[include(a)][include(a)]
......