Template:Infobox Case Brief/Case Video: Difference between revisions

From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><li>{{#ev:{{{service|}}}|{{{id|}}}|{{{dimensions|}}}|{{{alignment|}}}|{{{description|}}}|{{{container|}}}|start={{{start|}}}&end={{{end|}}}}}</li></includeonly>
<includeonly><li>{{#ev:{{{service|}}}|{{{id|}}}||left|||start={{{start|}}}&end={{{end|}}}}}</li></includeonly>
<noinclude><templatedata>
<noinclude><templatedata>
{
{
Line 9: Line 9:
"type": "string",
"type": "string",
"required": true
"required": true
},
"dimensions": {
"label": "Video Dimensions",
"description": "Size of the video frame",
"example": "320x320",
"type": "string"
},
"alignment": {
"label": "Horizontal Alignment",
"description": "Determine placement of the video frame on the page",
"example": "center",
"type": "string",
"suggestedvalues": [
"left",
"center",
"right"
]
},
"description": {
"label": "Video Description",
"description": "Description of the video",
"type": "string"
},
},
"start": {
"start": {
Line 62: Line 40:
}
}
},
},
"description": "This template is for inserting an embedded streaming video.",
"description": "Insert this subtemplate into the case_text_links variable in [[Template:Infobox Case Brief]] to embed a video in a case brief.",
"format": "block",
"format": "block",
"paramOrder": [
"paramOrder": [
"service",
"service",
"id",
"id",
"dimensions",
"alignment",
"description",
"start",
"start",
"end"
"end"

Revision as of 01:07, October 12, 2023

Insert this subtemplate into the case_text_links variable in [[Template:Infobox Case Brief]] to embed a video in a case brief.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Streaming Serviceservice

The streaming video provider

Suggested values
archiveorg dailymotion soundcloud spotifytrack twitch vimeo youtube youtubeplaylist youtubevideolist
Default
youtube
Example
youtube
Stringrequired
Video IDid

The video ID. Can be found in the video url. For example, the id of the video at https://www.youtube.com/watch?v=34976SngvrY is "34976SngvrY". For some services, insert the url as the id.

Example
34976SngvrY
Stringrequired
Start Time (seconds)start

Time to start playing the video

Numberoptional
End Time (seconds)end

Time to end playing the video

Numberoptional