Template:Video

From Appropedia
(Redirected from Template:YouTube)
Jump to navigation Jump to search

Template documentation[edit]

Use this template to embed videos uploaded to Appropedia, Wikimedia Commons, YouTube or Vimeo, associate meta data to them in order to make them searchable, and put them into Category:Pages with videos.

Usage[edit source]

Basic[edit source]

  • {{Video|video=Placeholder.mp4}} − Embed a video uploaded to Appropedia
  • {{Video|video=The Yakan Native Dance.webm}} − Embed a video uploaded to Wikimedia Commons
  • {{Video|video=hkFqpkV3fF4}} − Embed a YouTube video by id
  • {{Video|video=https://www.youtube.com/watch?v=hkFqpkV3fF4}} − Embed a YouTube video by URL

Parameters[edit source]

  • videoRequired File name, id or URL, for example https://www.youtube.com/watch?v=hkFqpkV3fF4, https://vimeo.com/431803145 or simply 'hkFqpkV3fF4' or 431803145
  • title − Title of the video, used for search results.
  • description − Description of the video content, used for search results.
  • authors − Authors names or usernames on Appropedia (including the 'User:' prefix).
  • date − Date when the video was made, for example '2020-09-23'.
  • location − Location where the video was made, for example 'Buenos Aires, Argentina'.
  • language − Language of the video, for example 'Spanish'. English is assumed.

Example[edit source]

{{Video
|video = https://www.youtube.com/watch?v=3R2gvgcdseI
|title = Wu Wei: The Art of Effortless Living
|description = Talk by Alan Watts about the principle of Not Forcing, or Wu Wei
|authors = Alan Watts, Sophivorus
|date = 2020-09-23
|location = Buenos Aires, Argentina 
|language = English
}}
Wu Wei: The Art of Effortless Living
Talk by Alan Watts about the principle of Not Forcing, or Wu Wei
By Alan Watts, Sophivorus
2020-09-23

See also[edit source]

Template data[edit source]

Embed videos uploaded to Appropedia, Wikimedia Commons, YouTube or Vimeo.

Template parameters

ParameterDescriptionTypeStatus
Videovideo 1

Video name, URL or id

Example
Example.mp4, https://www.youtube.com/watch?v=3R2gvgcdseI or 3R2gvgcdseI
Stringrequired
Titletitle 2

Video title

Example
How to build an igloo
Stringoptional
Descriptiondescription

Video description

Stringoptional
Authorsauthors

Authors names or usernames on Appropedia (including the 'User:' prefix)

Example
Lonny, Emilio, John Doe
Stringoptional
Datedate

Date when the video was made

Example
2020-09-23
Dateoptional
Locationlocation

Location where the video was made

Example
Buenos Aires, Argentina
Stringoptional
Languagelanguage

Video language

Default
English
Example
Spanish
Stringoptional
Annotationsannotations

no description

Stringoptional