Template:Videos: Difference between revisions
From Dragon Quest Wiki
FlyingRagnar (talk | contribs) mNo edit summary |
FlyingRagnar (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<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> | <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. | ||
Latest revision as of 20:30, 28 October 2011
This template is used to show various videos on wiki pages.
Usage[edit]
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]
Sample[edit]
Wiki markup[edit]
{{Videos|ninjas|{{#ev:youtube|eX0LIq70LkA|340}} |people|{{#ev:youtube|eX0LIq70LkA|340}} |leprechauns|{{#ev:youtube|eX0LIq70LkA|340}} |unicorns|{{#ev:youtube|eX0LIq70LkA|340}} }}