Template:Bilibili

From Team Fortress Wiki
Jump to: navigation, search

Caption here.

Documentation for Bilibili

This template will embed a Bilibili video inside an article.

Usage

  • {{bilibili|710126347}} produces:
  • {{bilibili|21525619|Ready Up: Competitive Team Fortress 2 Documentary|width=512|height=320|align=center}} produces:

    Ready Up: Competitive Team Fortress 2 Documentary
  • {{bilibili|96157214|danmaku=1}} produces:
  • {{bilibili|710381282|page=6}} produces:

Parameters

Bilibili aid (required)
This is the Bilibili video ID of the video you want to display.
You can find this information by copying the iframe code and searching for the "aid" parameter or though the Web Interface ("bvid" can be found in the URL: https://www.bilibili.com/video/BV1mQ4y1M7Cn).
Caption
Custom caption to include.
width
Width of the video, in pixels. Default is 640.
height
Height of the video, in pixels. Default is 360.
align
Horizontal alignment of video. Default is left.
danmaku
Bullet screen/danmaku subtitles. Default is 0 (disabled).
page
Videos uploaded in a playlist format share the same ID, you can use this parameter to specify which video to display. Default is 1 (first video).

See also