Template:ArchiveVideo: Difference between revisions

From Tony Chase
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
 
<div style="text-align: {{{position|center}}};">
<div style="border: 1px solid #ccc; padding: 10px; max-width: {{{width|640}}}px; margin: 0 auto; text-align: {{{alignment|center}}}">
{{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}}
    {{#widget:Html5media|url={{{videoURL}}}|width={{{width|640}}}|height={{{height|360}}}}}
{{{caption}}}
    <center><small>{{{caption|}}}</small></center>
</div>
 
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 29: Line 26:
"suggested": true
"suggested": true
},
},
"alignment": {
"position": {
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"Center",
"left",
"Left",
"center",
"Right"
"right"
],
],
"default": "Center",
"autovalue": "center",
"autovalue": "Center",
"suggested": true
"required": true
},
},
"caption": {
"caption": {}
"type": "string",
"suggested": true
}
},
},
"description": "Easily embed tony archive videos!"
"description": "Easily embed tony archive videos!"

Revision as of 01:46, 3 December 2023

{{{caption}}}

Easily embed tony archive videos!

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
videoURLvideoURL

no description

URLrequired
widthwidth

no description

Suggested values
640
Auto value
640
Numbersuggested
heightheight

no description

Suggested values
360
Auto value
360
Numbersuggested
positionposition

no description

Suggested values
left center right
Auto value
center
Stringsuggested
captioncaption

no description

Unknownoptional