Template:ArchiveVideo: Difference between revisions

From Tony Chase
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!

[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