Template:ArchiveVideo: Difference between revisions

From Tony Chase
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<div style="text-align: {{{position|center}}};">
<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|}}}</small></center>
        <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"
},
},
"position": {
"caption": {},
"type": "string",
"alignment": {
"suggestedvalues": [
"suggestedvalues": [
"center",
"left",
"left",
"center",
"right"
"right"
],
],
"autovalue": "center",
"required": true
"suggested": true
}
},
"caption": {}
},
},
"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!

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
videoURLvideoURL

no description

URLrequired
alignmentalignment

no description

Suggested values
center left right
Unknownrequired
Video Widthwidth

no description

Suggested values
640
Auto value
640
Numbersuggested
Video Heightheight

no description

Suggested values
360
Auto value
360
Numbersuggested
captioncaption

no description

Unknownoptional