Template:ArchiveVideo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="text-align: {{{ | <div style="text-align: {{{alignment|center}}}"> | ||
{{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}} | <div style="display: inline-block; border: 1px solid #ccc; padding: 10px; max-width: {{{width|640}}}px;"> | ||
{{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}} | |||
<center><small>{{{caption | <div style="text-align: center;"><small>{{{caption}}}</small></div> | ||
</div> | |||
</div> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 17: | Line 19: | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"640" | "640" | ||
] | ], | ||
"label": "Video Width" | |||
}, | }, | ||
"height": { | "height": { | ||
Line 25: | Line 28: | ||
], | ], | ||
"autovalue": "360", | "autovalue": "360", | ||
"suggested": true | "suggested": true, | ||
"label": "Video Height" | |||
}, | }, | ||
" | "caption": {}, | ||
"alignment": { | |||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"center", | |||
"left", | "left", | ||
"right" | "right" | ||
], | ], | ||
" | "required": true | ||
} | |||
}, | }, | ||
"description": "Easily embed tony archive videos!" | "description": "Easily embed tony archive videos!", | ||
"paramOrder": [ | |||
"videoURL", | |||
"alignment", | |||
"width", | |||
"height", | |||
"caption" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
</div> | </div> |
Revision as of 01:56, 3 December 2023
{{{caption}}}
Easily embed tony archive videos!
Parameter | Description | Type | Status | |
---|---|---|---|---|
videoURL | videoURL | no description | URL | required |
alignment | alignment | no description
| Unknown | required |
Video Width | width | no description
| Number | suggested |
Video Height | height | no description
| Number | suggested |
caption | caption | no description | Unknown | optional |