Template:Videogallery: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Duskey mNo edit summary |
sims>Duskey No edit summary |
||
Line 16:
[[{{{4}}}|thumb{{#if:{{{widths<includeonly>|</includeonly>}}}|{{!}}{{{widths}}}}}{{#if:{{{4text<includeonly>|</includeonly>}}}|{{!}}{{{4text}}}}}]]}}
{{#if:{{{5<includeonly>|</includeonly>}}}|{{!}}
[[{{{5}}}|thumb{{#if:{{{widths<includeonly>|</includeonly>}}}|{{!}}{{{widths}}}}}{{#if:{{{5text<includeonly>|</includeonly>}}}|{{!}}{{{5text}}}}}]]}}
{{#ifeq:{{{columns}}}|1|{{!}}-}}
{{#if:{{{6<includeonly>|</includeonly>}}}|{{!}}
[[{{{6}}}|thumb{{#if:{{{widths<includeonly>|</includeonly>}}}|{{!}}{{{widths}}}}}{{#if:{{{6text<includeonly>|</includeonly>}}}|{{!}}{{{6text}}}}}]]}}
{{#switch:{{{columns}}}|1={{!}}-|2={{!}}-|3={{!}}-}}
{{#if:{{{7<includeonly>|</includeonly>}}}|{{!}}
[[{{{7}}}|thumb{{#if:{{{widths<includeonly>|</includeonly>}}}|{{!}}{{{widths}}}}}{{#if:{{{7text<includeonly>|</includeonly>}}}|{{!}}{{{7text}}}}}]]}}
{{#ifeq:{{{columns}}}|1|{{!}}-}}
{{#if:{{{8<includeonly>|</includeonly>}}}|{{!}}
[[{{{8}}}|thumb{{#if:{{{widths<includeonly>|</includeonly>}}}|{{!}}{{{widths}}}}}{{#if:{{{8text<includeonly>|</includeonly>}}}|{{!}}{{{8text}}}}}]]}}
|}<noinclude>
{{Documentation}}[[Category:Templates|{{PAGENAME}}]]</noinclude>
|
Revision as of 13:02, 27 August 2010
[[{{{1}}}|thumb|{{{widths}}}|{{{1text}}}]] |
[[{{{2}}}|thumb|{{{widths}}}|{{{2text}}}]] |
[[{{{3}}}|thumb|{{{widths}}}|{{{3text}}}]] |
[[{{{4}}}|thumb|{{{widths}}}|{{{4text}}}]] |
[[{{{5}}}|thumb|{{{widths}}}|{{{5text}}}]] |
[[{{{6}}}|thumb|{{{widths}}}|{{{6text}}}]] |
[[{{{7}}}|thumb|{{{widths}}}|{{{7text}}}]] |
[[{{{8}}}|thumb|{{{widths}}}|{{{8text}}}]] |
- 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?)