Template:ArchiveVideo: Difference between revisions
Jump to navigation
Jump to search
(A template that makes it much easier to embed videos in articles (: (:) |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="text-align: {{{position|center}}};"> | |||
{{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}} | {{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}} | ||
<noinclude> | <noinclude> | ||
Line 22: | Line 23: | ||
], | ], | ||
"autovalue": "360", | "autovalue": "360", | ||
"suggested": true | |||
}, | |||
"position": { | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"left", | |||
"center", | |||
"right" | |||
], | |||
"autovalue": "center", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 29: | Line 40: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
</div> |
Revision as of 00:46, 23 November 2023
Easily embed tony archive videos!
Parameter | Description | Type | Status | |
---|---|---|---|---|
videoURL | videoURL | no description | URL | required |
width | width | no description
| Number | suggested |
height | height | no description
| Number | suggested |
position | position | no description
| String | suggested |