VOOZH about

URL: https://minecraft.wiki/w/Template:Daily_Motion

⇱ Template:Daily Motion – Minecraft Wiki


Template:Daily Motion

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]
This template uses Module:Video, a script written in Lua.
Shortcuts

This template should be used to embed Daily Motion videos.

{{Daily Motion
| 1 = Video ID
| 2 = Width (defaults to 425)
| 3 = Height (defaults to width ÷ (16÷9) rounded to the nearest integer)
| align = Alignment
| caption = Caption
| nocat = Prevents category to be added
}}

Parameters

[edit source]

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Video ID1

The video ID that must be added.

Stringsuggested
Video width2

Changes the width of the video. Defaults to 425

Stringoptional
Video height3

Changes the height of the video. Defaults to width ÷ (16÷9) rounded to the nearest integer

Stringoptional
Video alignmentalign

Changes the alignment of the video.

Stringoptional
Video captioncaption

Adds an optional caption for the video.

Stringoptional
Category supressornocat

Prevents [[:Category:Pages with Daily Motion videos]] to be added to a page using this template.

Stringoptional

Examples

[edit source]
Default usage
{{daily|}}


Custom width
{{daily||720}}


Custom width and height
{{daily||560|280}}


Inline alignment
{{daily||align=inline}}
{{daily||align=inline}}


Custom caption
{{daily||caption=''Minecraft'' official trailer.}}


With an image frame

Sometimes it makes sense to put the video in an image frame so that it formats like an image:

{{FakeImage|{{daily|}}|Minecraft Trailer from 2011|align=right}}

This can unclutter the pages a lot. You also get to add a caption.

Minecraft Trailer from 2011

See also

[edit source]
  • {{YouTube Link}} – to link to a video, rather than embed it
  • {{YouTube playlist}} – to embed a playlist
  • {{CollapsedVideo}} – to put an embedded video in a collapsed table that links to YouTube
  • {{Vimeo}} – to post a video from Vimeo
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Daily Motion/doc.
Retrieved from "https://minecraft.wiki/w/Template:Daily_Motion?oldid=3477654"

Navigation menu