Template:Videos: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 3: Line 3:


==Usage==
==Usage==
This template takes up to 20 parameters, which are passed in pairs for a total of 10 pairs. The first parameter of a pair is the title which should appear on the header. The second parameter of a pair should be the video content using the [http://www.mediawiki.org/wiki/Extension:EmbedVideo#Usage embed video extension format].
This template takes up to 20 parameters, which are passed in pairs for a total of 10 pairs. The first parameter of a pair is the title which should appear on the header. The second parameter of a pair should be the video content using the [https://www.mediawiki.org/wiki/Extension:EmbedVideo#Usage embed video extension format].


==Example==
==Example==
Line 18: Line 18:
|unicorns|{{#ev:youtube|eX0LIq70LkA|340}} }}
|unicorns|{{#ev:youtube|eX0LIq70LkA|340}} }}
</pre>
</pre>
[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Utility templates]]
</noinclude>
</noinclude>

Latest revision as of 03:39, 3 March 2026

This template is used to show various videos on wiki pages.

Usage[edit source]

This template takes up to 20 parameters, which are passed in pairs for a total of 10 pairs. The first parameter of a pair is the title which should appear on the header. The second parameter of a pair should be the video content using the embed video extension format.

Example[edit source]

Sample[edit source]

ninjas

people

leprechauns

unicorns

Wiki markup[edit source]

{{Videos|ninjas|{{#ev:youtube|eX0LIq70LkA|340}}
|people|{{#ev:youtube|eX0LIq70LkA|340}}
|leprechauns|{{#ev:youtube|eX0LIq70LkA|340}}
|unicorns|{{#ev:youtube|eX0LIq70LkA|340}} }}