Template:ArchiveVideo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<div style="width: {{{width|640}}}px; margin: 20px auto; text-align: center;"> | <div style="width: {{{width|640}}}px; margin: 20px auto; text-align: {{{alignment|center}}};"> | ||
<div style="width: {{{width|640}}}px; padding: 10px; border: 1px solid #ccc; display: inline-block;"> | <div style="width: {{{width|640}}}px; padding: 10px; border: 1px solid #ccc; display: inline-block;"> | ||
{{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}} | {{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}} | ||
| Line 38: | Line 38: | ||
"right" | "right" | ||
], | ], | ||
"required": true | "required": true, | ||
"description": "center is heavily suggested, as aligning it left/right can mess with the formatting of the article", | |||
"default": "center" | |||
} | } | ||
}, | }, | ||
Revision as of 01:32, 8 December 2023
Easily embed tony archive videos!
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| videoURL | videoURL | no description | URL | required |
| alignment | alignment | center is heavily suggested, as aligning it left/right can mess with the formatting of the article
| Unknown | required |
| Video Width | width | no description
| Number | suggested |
| Video Height | height | no description
| Number | suggested |
| caption | caption | no description | Unknown | optional |