Template:Videogallery/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Duskey (update) |
m (3 revisions imported: Import from https://sims.wikia.com) |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
|widths=250px |
|widths=250px |
||
|columns=4 |
|columns=4 |
||
|Video: |
|Video:Your vid 1 here|1text=Your text 1 here. |
||
|Video: |
|Video:Your vid 2 here|2text=Your text 2 here.}}</pre> |
||
;Usage |
;Usage |
||
:This template is quite picky, you have to end each video entry with either the thumbnail text or the next video, eg: |
:This template is quite picky, you have to end each video entry with either the thumbnail text or the next video, eg: |
||
<pre>{{Videogallery |
<pre>{{Videogallery |
||
|Video: |
|Video:Your vid 1 here|1text=Your text 1 here. |
||
|Video: |
|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> |
: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.