Template:From YouTube
YouTube – View/save archived versions on archive.org and archive.today
The template automatically sets the following categories: Media from YouTube
Usage
{{From YouTube |1= |2= |t= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | ID | YouTube video ID | empty | required |
2 | link text | Text of the link to YouTube | YouTube | optional |
t | timestamp | Timestamp within the video, in any format accepted by YouTube (for example “65”, “65s” or “1m5s” for 1 minute 5 seconds) | empty | suggested |
archived | archived | Whether to link to archive pages about the video. Set to “no” if there are—and, for some reason, there should not be—any archives of the YouTube video page. | empty | optional |
lang | language | Requested language of the template. Useful in other templates to provide consistent language. | {{int:lang}} | optional |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template is used on files (File:) imported from YouTube, and links to the source file (on YouTube). (Warning: this is not a license template. Use {{YouTube CC-BY}} for that.)
|
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: In the "Source" parameter of the {{Information}} template (or the respective parameter of similar templates) or just below this template
Example
{{From YouTube|y3vV-yvMfF0|Back to Basics: Open Culture for Beginners|t=50s}}
renders as:
YouTube: Back to Basics: Open Culture for Beginners (Time: 50s) – View/save archived versions on archive.org and archive.today
See also
Localization
العربية ∙ Deutsch ∙ English ∙ français ∙ galego ∙ magyar ∙ Bahasa Indonesia ∙ 日本語 ∙ 한국어 ∙ македонски ∙ Nederlands ∙ polski ∙ português do Brasil ∙ русский ∙ slovenščina ∙ தமிழ் ∙ українська ∙ Tiếng Việt ∙ 中文
This template makes use of {{Autotranslate}} and the translate extension.