Template:Infobox Case Brief/Case Video: Difference between revisions
Lost Student (talk | contribs) (Created page with "<includeonly><li>{{#ev:{{{service|}}}|{{{id|}}}|{{{dimensions|}}}|{{{alignment|}}}|{{{description|}}}|{{{container|}}}|start={{{start|}}}&end={{{end|}}}}}</li></includeonly> <noinclude>{{Documentation}}<noinclude><templatedata> { "params": { "id": { "label": "Video ID", "description": "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...") |
Lost Student (talk | contribs) 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|}}}|{{{dimensions|}}}|{{{alignment|}}}|{{{description|}}}|{{{container|}}}|start={{{start|}}}&end={{{end|}}}}}</li></includeonly> | ||
<noinclude><templatedata> | |||
{ | { | ||
"params": { | "params": { |
Revision as of 01:03, October 12, 2023
This template is for inserting an embedded streaming video.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Streaming Service | service | The streaming video provider
| String | required |
Video ID | id | 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.
| String | required |
Video Dimensions | dimensions | Size of the video frame
| String | optional |
Horizontal Alignment | alignment | Determine placement of the video frame on the page
| String | optional |
Video Description | description | Description of the video | String | optional |
Start Time (seconds) | start | Time to start playing the video | Number | optional |
End Time (seconds) | end | Time to end playing the video | Number | optional |
Usage
This subtemplate should look like:
{{Infobox Case Brief/Case Video |service= |id=}}
"start" and "end" may be added as parameters if desired.
This subtemplate may be repeated, one after another, following the equals sign of the case_videos
variable for each video.
This template is inserted in Template:Infobox Case Brief like this:
{{Infobox Case Brief | court = | citation = | date = | subject = | appealed_from = | overturned = | partially_overturned = | reaffirmed = | questioned = | criticized = | distinguished = | cited = | followed = | related = | facts = | procedural_history = | issues = | arguments = | holding = | judgment = | reasons = | rule = | comments = | case_text_links ={{Infobox Case Brief/Case Text Link |link= www.example.com/First_URL |case_text_source= Justia}} |case_videos ={{Infobox Case Brief/Case Video |service=youtube |id= NDXma8D6UEA}} | Court_opinion_parts = {{Court opinion part | opinion_type = | written_by = | joined_by = }} }}