Template:Bilibili

From Team Fortress Wiki
Revision as of 15:35, 8 April 2020 by Tark (talk | contribs)
Jump to: navigation, search

Caption here.

Documentation for Bilibili

This template will embed a Bilibili video inside an article.

Usage

  • {{bilibili|Bilibili bvid}} produces:
    <div class="embedvideowrap bilibili-video" data-vaid="Expression error: Unrecognized word "bv"." data-vdanmaku="0" data-vpage="1" data-vwidth="640" data-vheight="360">
  • {{bilibili|Bilibili bvid|Caption here.|width=value|height=value|align=alignment}} produces:
    <div class="embedvideowrap bilibili-video" data-vaid="Expression error: Unrecognized word "bv"." data-vdanmaku="0" data-vpage="1" data-vwidth="512" data-vheight="320" style="text-align: center">

    Ready Up: Competitive Team Fortress 2 Documentary
  • {{bilibili|Bilibili bvid|danmaku=1}} produces:
    <div class="embedvideowrap bilibili-video" data-vaid="Expression error: Unrecognized word "bv"." data-vdanmaku="1" data-vpage="1" data-vwidth="640" data-vheight="360">
  • Parameters

    Bilibili bvid (required)
    The Bilibili video id of the video to include.
    Caption
    Custom caption to include.
    width
    Width of the video, in pixels. Default is 640px.
    height
    Height of the video, in pixels. Default is 360px.
    align
    Horizontal alignment of video. Default is left.
    danmaku
    Bullet screen/danmaku subtitles. Default is 0 (disabled).

    See also