Jump to content

Template:BitChuteVideo: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
Maybe?
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 12: Line 12:
</noinclude><includeonly>{| class="wikitable" width="20%" style="float:{{#ifeq:{{{align}}}|left|left|right}}; margin: 1.0em 1.0em 1.0em 1.0em;"
</noinclude><includeonly>{| class="wikitable" width="20%" style="float:{{#ifeq:{{{align}}}|left|left|right}}; margin: 1.0em 1.0em 1.0em 1.0em;"
|-
|-
|{{#widget:BitChute|{{#if:{{{width|}}}|width={{{width|}}}px}}|{{#if:{{{height|}}}|height={{{height|}}}px}}|url={{{url|}}}}}
|
|-
|-
|style="text-align:center; padding: 0.5em;" |{{{caption|}}}
|style="text-align:center; padding: 0.5em;" |{{{caption|}}}
|}</includeonly>
|}</includeonly>

Latest revision as of 22:34, 24 September 2026

This template is for placing a YouTube video and caption in a right-floating box.
The caption text will wrap within the box border and the borders will expand to accommodate whatever width & height are specified for the video

Usage:
{{BitChuteVideo
|url= Mandatory. BitChute video URL
|align= Optional. {left,right} - defaults to "right"
|caption= Optional. video caption - standard wikitext including links
|width= Optional. video width - whole number only - ie no 'px' (default 360)
|height= Optional. video height - whole number only - ie no 'px' (default 300)
}}