Template:Videogallery/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
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: Line 1:
;Under construction
;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>
:The end <code>}}</code> must also be on the same line as the last entry.<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:57, 23 February 2019

Under construction
This template is under construction and it's not quite stable, please use with caution.
Description
An alternative to <video gallery> which cannot be customized.
Syntax
There's room for 8 videos and columns goes from 1 to 4.
{{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.}}
Usage
This template is quite picky, you have to end each video entry with either the thumbnail text or the next video, eg:
{{Videogallery
|Video:Your vid 1 here|1text=Your text 1 here.
|Video:Your vid 2 here|Video:Your vid 3 here}}
The end }} must also be on the same line as the last entry.