66
edits
No edit summary |
(added video embed explanation) |
||
| Line 63: | Line 63: | ||
* To add a reference, use the <nowiki><ref>Reference text</ref></nowiki> tags where you want the reference to appear. | * To add a reference, use the <nowiki><ref>Reference text</ref></nowiki> tags where you want the reference to appear. | ||
* Ensure you have a <nowiki><references /></nowiki> tag where you want the references list to appear, usually at the bottom of the page. | * Ensure you have a <nowiki><references /></nowiki> tag where you want the references list to appear, usually at the bottom of the page. | ||
= Adding Video Embeds = | |||
== How to Use <vidtabs> Feature == | |||
The <vidtabs> feature allows you to create dynamic tabs that can display various types of video embeds. This guide will walk you through the process of using this feature on all lolcow.city wiki pages. | |||
=== Basic Syntax === | |||
To use the <vidtabs> feature, you need to wrap your video links with the <vidtabs> tag. Each link should be on a separate line. | |||
<syntaxhighlight lang="html"> | |||
<vidtabs> | |||
[video link 1] [optional link title] | |||
[video link 2] | |||
[video link 3] | |||
</vidtabs> | |||
</syntaxhighlight> | |||
=== Example Usage === | |||
Here are some examples of how to use the <vidtabs> tag with different video services: | |||
==== YouTube Example ==== | |||
<syntaxhighlight lang="html"> | |||
<vidtabs> | |||
https://www.youtube.com/watch?v=dQw4w9WgXcQ Clip 1 | |||
https://www.youtube.com/watch?v=3JZ_D3ELwOQ | |||
</vidtabs> | |||
</syntaxhighlight> | |||
==== Mixed Services Example ==== | |||
You can (and should) mix different video services within the same <vidtabs> tag. | |||
<syntaxhighlight lang="html"> | |||
<vidtabs> | |||
https://www.youtube.com/watch?v=dQw4w9WgXcQ | |||
https://vimeo.com/123456789 Some Title | |||
https://soundcloud.com/artist/track | |||
https://odysee.com/@channel:identifier/video:identifier | |||
</vidtabs> | |||
</syntaxhighlight> | |||
=== Supported Video Services === | |||
The following video services are supported: | |||
* Archive.org | |||
* Bilibili | |||
* KakaoTV | |||
* Naver TV | |||
* Niconico | |||
* SoundCloud | |||
* Spotify (Album, Artist, Track) | |||
* Twitch | |||
* Vimeo | |||
* YouTube | |||
* Odysee | |||
* Rumble | |||
* Bitchute | |||
=== EmbedVideo Extension Integration === | |||
For the video services supported by the [[Special:Version|EmbedVideo]] extension, <vidtabs> automatically utilizes this extension to handle the embedding process. This ensures that videos are embedded efficiently and reliably, leveraging the capabilities of the EmbedVideo extension. | |||
==== Services Supported Natively by EmbedVideo ==== | |||
* Archive.org | |||
* Bilibili | |||
* KakaoTV | |||
* Naver TV | |||
* Niconico | |||
* SoundCloud | |||
* Spotify (Album, Artist, Track) | |||
* Twitch | |||
* Vimeo | |||
* YouTube | |||
==== Custom Services Supported by the lolcow.city Cyraxx Wiki ==== | |||
* Odysee | |||
* Rumble | |||
* Bitchute | |||
<syntaxhighlight lang="html">YouTube playlists are not supported with the lolcow.city <vidtabs> extension.</syntaxhighlight> | |||
= Advanced Editing = | = Advanced Editing = | ||