Template:XVideo: Difference between revisions

From WMDRock Library
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ev:x|WMDRock/status/1887433280649154680|width=75%}}
<html>
<html>
<div style="width:{{{width|100%}}}"><div class="videoWrapper">
<div style="width:{{{width|100%}}}"><div class="videoWrapper">
<blockquote class="twitter-tweet" data-media-max-width="560">
<blockquote class="twitter-tweet" data-media-max-width="560">
<p lang="en" dir="ltr">{{{text|Video content from X}}} <a href="https://x.com/{{{xcode|}}}"></a></p>
<p lang="en" dir="ltr">Embedded X content</p>
{{{author|WMD Rock (@WMDRock)}}} <a href="https://x.com/{{{permalink|https://twitter.com/WMDRock/status/1887433280649154680?ref_src=twsrc%5Etfw}}}">{{{date|February 6, 2025}}}</a>
X User <a href="https://x.com/{{{url|DJSnM/status/1893576015701754357}}}">View on X</a>
</blockquote>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Line 13: Line 15:
<pre>
<pre>
{{XVideo
{{XVideo
|xcode = X url part eg. WMDRock/status/1887433280649154680
|url = X URL fragment (e.g., "WMDRock/status/1887433280649154680")
|width = Percentage of space (default 100%)
|width = Percentage of space (default 100%)
|text = Optional description
|author = Optional [WMD Rock (@WMDRock)
}}
}}
</pre>
</pre>

Latest revision as of 09:51, 23 February 2025

==Usage== Include the following text to use the template:
{{XVideo
|url = X URL fragment (e.g., "WMDRock/status/1887433280649154680")
|width = Percentage of space (default 100%)
}}
[[Category:Video Templates]]