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>')
 
sims>Duskey
(update)
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:Placeholder|1text=Thumbnail text.
|Video:Placeholder2|2text=Thumbnail text2.}}</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:Placeholder|1text=Thumbnail text.
|Video:Placeholder2|Video:Placeholder3}}</pre>
:The end <code>}}</code> must also be on the same line as the last entry.<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 13:24, 27 August 2010

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:Placeholder|1text=Thumbnail text.
|Video:Placeholder2|2text=Thumbnail text2.}}
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:Placeholder|1text=Thumbnail text.
|Video:Placeholder2|Video:Placeholder3}}
The end }} must also be on the same line as the last entry.