Template:Videogallery/doc: Difference between revisions

m
3 revisions imported: Import from https://sims.wikia.com
sims>Duskey
(Created page with ';Under construction :To be added...<noinclude>{{PAGENAME}}</noinclude>')
 
m (3 revisions imported: Import from https://sims.wikia.com)
 
(2 intermediate revisions by one other user not shown)
Line 1:
;Under construction
:This template is under construction and it's not quite stable, please use with caution.
:To be added...<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
;Description
:An alternative to <code><nowiki><video gallery></nowiki></code> which cannot be customized.<!-- I added a space in the video gallery tag or it displays id=0 despite the nowiki tags -->
;Syntax: There's room for 8 videos and columns goes from 1 to 4.
<pre>{{Videogallery
|widths=250px
|columns=4
|Video:Your vid 1 here|1text=Your text 1 here.
|Video:Your vid 2 here|2text=Your text 2 here.}}</pre>
;Usage
:This template is quite picky, you have to end each video entry with either the thumbnail text or the next video, eg:
<pre>{{Videogallery
|Video:Your vid 1 here|1text=Your text 1 here.
|Video:Your vid 2 here|Video:Your vid 3 here}}</pre>
:ToThe end <code>}}</code> must also be added..on the same line as the last entry.<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>