Template:ArchiveVideo: Difference between revisions
Jump to navigation
Jump to search
m (Reverted edits by Damniel Larson (talk) to last revision by DaWhiteLouise) Tag: Rollback |
(Undo revision 1180 by Schmoney schase (talk)) Tag: Undo |
||
(4 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
<div style="display: inline-block; text-align: left;"> | <div style="display: inline-block; text-align: left;"> | ||
<div style="width: {{{width|640}}}px; margin: 20px auto; padding: 10px; border: 1px solid #ccc;"> | <div style="width: {{{width|640}}}px; margin: 20px auto; padding: 10px; border: 1px solid #ccc;"> | ||
<div class="{{{collapsible?|mw-collapsible mw-collapsed}}}"> | |||
<div class="mw-collapsible-title" style="display: block;"><b>{{{title|No title provided}}}</b></div> | |||
<div class="mw-collapsible-content"> | |||
{{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}} | {{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}} | ||
</div> | |||
<div style="text-align: center;"><small>{{{caption|}}}</small></div> | <div style="text-align: center;"><small>{{{caption|}}}</small></div> | ||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
Line 33: | Line 38: | ||
"label": "Video Height" | "label": "Video Height" | ||
}, | }, | ||
"caption": {}, | "caption": { | ||
"description": "This is heavily suggested", | |||
"suggested": true | |||
}, | |||
"alignment": { | "alignment": { | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
Line 43: | Line 51: | ||
"description": "center is heavily suggested, as aligning it left/right can mess with the formatting of the article", | "description": "center is heavily suggested, as aligning it left/right can mess with the formatting of the article", | ||
"default": "center" | "default": "center" | ||
}, | |||
"title": { | |||
"label": "Title", | |||
"description": "This is heavily suggested, there will be automatic titles later on when I get around to it", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"collapsible?": { | |||
"description": "Remove \"mw-collpased\" if you do not want it automatically collapsed", | |||
"suggestedvalues": [ | |||
"mw-collapsible mw-collapsed", | |||
"mw-collapsible" | |||
], | |||
"autovalue": "mw-collapsible mw-collapsed" | |||
} | } | ||
}, | }, | ||
"description": "Easily embed tony archive videos!", | "description": "Easily embed tony archive videos!", | ||
"paramOrder": [ | "paramOrder": [ | ||
"title", | |||
"videoURL", | "videoURL", | ||
"caption", | |||
"alignment", | "alignment", | ||
"width", | "width", | ||
"height", | "height", | ||
" | "collapsible?" | ||
] | ] | ||
} | } |
Latest revision as of 06:20, 3 February 2024
No title provided
Easily embed tony archive videos!
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | This is heavily suggested, there will be automatic titles later on when I get around to it | Unknown | required |
videoURL | videoURL | no description | URL | required |
caption | caption | This is heavily suggested | Unknown | suggested |
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 |
collapsible? | collapsible? | Remove "mw-collpased" if you do not want it automatically collapsed
| Unknown | optional |