Template:Videogallery: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Duskey mNo edit summary |
sims>Duskey mNo edit summary |
||
Line 8: | Line 8: | ||
[[{{{2}}}|thumb{{#if:{{{widths<includeonly>|</includeonly>}}}|{{!}}{{{widths}}}}}{{#if:{{{2text<includeonly>|</includeonly>}}}|{{!}}{{{2text}}}}}]]}} |
[[{{{2}}}|thumb{{#if:{{{widths<includeonly>|</includeonly>}}}|{{!}}{{{widths}}}}}{{#if:{{{2text<includeonly>|</includeonly>}}}|{{!}}{{{2text}}}}}]]}} |
||
{{#switch:{{{columns}}}|1={{!}}-|2={{!}}-}} |
|||
{{#if:{{{3<includeonly>|</includeonly>}}}|{{!}} |
{{#if:{{{3<includeonly>|</includeonly>}}}|{{!}} |
||
[[{{{3}}}|thumb{{#if:{{{widths<includeonly>|</includeonly>}}}|{{!}}{{{widths}}}}}{{#if:{{{3text<includeonly>|</includeonly>}}}|{{!}}{{{3text}}}}}]]}} |
[[{{{3}}}|thumb{{#if:{{{widths<includeonly>|</includeonly>}}}|{{!}}{{{widths}}}}}{{#if:{{{3text<includeonly>|</includeonly>}}}|{{!}}{{{3text}}}}}]]}} |
||
{{#switch:{{{columns}}}|1={{!}}-|3={{!}}-}} |
|||
{{#if:{{{4<includeonly>|</includeonly>}}}|{{!}} |
{{#if:{{{4<includeonly>|</includeonly>}}}|{{!}} |
||
Revision as of 12:54, 27 August 2010
[[{{{1}}}|thumb|{{{widths}}}|{{{1text}}}]] |
[[{{{2}}}|thumb|{{{widths}}}|{{{2text}}}]] |
[[{{{3}}}|thumb|{{{widths}}}|{{{3text}}}]] |
[[{{{4}}}|thumb|{{{widths}}}|{{{4text}}}]] |
- 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.
Visit Template:Videogallery/doc to edit this text! (How does this work?) (Refresh this text - why?)