Template:Infobox Case Brief/Case Video: Difference between revisions
Lost Student (talk | contribs) mNo edit summary |
Lost Student (talk | contribs) mNo edit summary |
||
Line 41: | Line 41: | ||
}, | }, | ||
"description": "Insert this subtemplate into the case_text_links variable in Template:Infobox Case Brief to embed a video in a case brief.", | "description": "Insert this subtemplate into the case_text_links variable in Template:Infobox Case Brief to embed a video in a case brief.", | ||
"format": " | "format": "inline", | ||
"paramOrder": [ | "paramOrder": [ | ||
"service", | "service", |
Revision as of 01:21, 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.
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 |
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 = }} }}