Template:XVideo: Difference between revisions
From WMDRock Library
(Trying to embed X videos) |
No edit summary |
||
Line 2: | Line 2: | ||
<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=" | <p lang="en" dir="ltr">{{{text|Video content from X}}} <a href="https://x.com/{{{xcode|}}}"></a></p> | ||
— {{{author|WMD Rock (@WMDRock)}}} <a href="{{{permalink|https://twitter.com/WMDRock/status/1887433280649154680?ref_src=twsrc%5Etfw}}}">{{{date|February 6, 2025}}}</a> | — {{{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> | ||
</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 13: | ||
<pre> | <pre> | ||
{{XVideo | {{XVideo | ||
| | |xcode = X url part eg. 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> |
Revision as of 09:22, 23 February 2025
{{{text|Video content from X}}}
— {{{author|WMD Rock (@WMDRock)}}} {{{date|February 6, 2025}}}
{{XVideo |xcode = X url part eg. WMDRock/status/1887433280649154680 |width = Percentage of space (default 100%) |text = Optional description |author = Optional [WMD Rock (@WMDRock) }}[[Category:Video Templates]]