Template:Media table/doc

From Rhythm Heaven Wiki
< Template:Media table
Revision as of 10:39, 23 September 2025 by HyperNervie (talk | contribs) (Created page with "This template is used for organizing media files on pages. == Parameters == Replace X with a number to provide argument for the X-th medium. * {{param|fileX}} - Filename without the "File:" prefix. * {{param|titleX}} - The title of the file that will be used in the table. Automatically appears in bold. * {{param|descX}} - A short description of the file that will appear after the title. * {{param|lengthX}} - The file duration. M:SS format recommended. == Example == <pr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used for organizing media files on pages.

Parameters

Replace X with a number to provide argument for the X-th medium.

  • {{{fileX}}} - Filename without the "File:" prefix.
  • {{{titleX}}} - The title of the file that will be used in the table. Automatically appears in bold.
  • {{{descX}}} - A short description of the file that will appear after the title.
  • {{{lengthX}}} - The file duration. M:SS format recommended.

Example

{{media table
|file1=Example.ogv
|title1=Example video
|desc1=Showing an example video file.
|length1=0:12
|file2=Example.oga
|title2=Example audio
|desc2=Showing an example audio file.
|length2=0:03
}}

Outputs:

Video.svg Example video - Showing an example video file.
File:Example.ogv
File info
0:12
Audio.svg Example audio - Showing an example audio file.
File:Example.oga
File info
0:03