Template:Videos: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Trig Jegman (talk | contribs) mNo edit summary |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><div | <includeonly><onlyinclude><div id="accordion">{{#if: {{{1|}}} | <h3>[[#|{{{1|}}}]]</h3><div>{{{2|}}}</div>}}{{#if: {{{3|}}} | <h3>[[#|{{{3|}}}]]</h3><div>{{{4|}}}</div>}}{{#if: {{{5|}}} | <h3>[[#|{{{5|}}}]]</h3><div>{{{6|}}}</div>}}{{#if: {{{7|}}} | <h3>[[#|{{{7|}}}]]</h3><div>{{{8|}}}</div>}}{{#if: {{{9|}}} | <h3>[[#|{{{9|}}}]]</h3><div>{{{10|}}}</div>}}{{#if: {{{11|}}} | <h3>[[#|{{{11|}}}]]</h3><div>{{{12|}}}</div>}}{{#if: {{{13|}}} | <h3>[[#|{{{13|}}}]]</h3><div>{{{14|}}}</div>}}{{#if: {{{15|}}} | <h3>[[#|{{{15|}}}]]</h3><div>{{{16|}}}</div>}}{{#if: {{{17|}}} | <h3>[[#|{{{17|}}}]]</h3><div>{{{18|}}}</div>}}{{#if: {{{19|}}} | <h3>[[#|{{{19|}}}]]</h3><div>{{{20|}}}</div>}}</div></onlyinclude></includeonly><noinclude> | ||
This template is used to show various videos on wiki pages. | This template is used to show various videos on wiki pages. | ||
==Usage== | ==Usage== | ||
This template takes up to 20 parameters, which are passed in pairs for a total of 10 pairs. | 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 | [[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]
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}} }}