Template:Video

From GearKnob Wiki
Jump to navigationJump to search


General notes[edit source]

Places @ videos per row following perrow parameter value. @ can be 1,2,3 or 4.


One bigger video centered[edit source]

{{Video|perrow  =1
  |service1     =
  |id1          =
  |description1 =
}}
{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}


One smaller video centered[edit source]

Use 3 per row layout with the central block filled.

{{Video|perrow  =3
  |service1     = <!-- empty -->
  |id1          = <!-- empty -->
  |description1 = <!-- empty -->
  |service2     =
  |id2          =
  |description2 =
  |urlargs2     =
  |service3     = <!-- empty -->
  |id3          = <!-- empty -->
  |description3 = <!-- empty -->
}}
{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}

Three smaller videos full row[edit source]

{{Video|perrow  =3
  |service1     =youtube
  |id1          =https://www.youtube.com/watch?v=h9RC3BuswEE
  |description1 =A promo featuring Joey from ''Yu-Gi-Oh''.
  |service2     =youtube
  |id2          =https://www.youtube.com/watch?v=M1P7bY20gms
  |description2 =A more general promo featuring characters from ''Jackie Chan Adventures''.
  |service3     =youtube
  |id3          =https://www.youtube.com/watch?v=hUrAFQ-y-jU
  |description3 =The previous promo but slightly extended.
}}
{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}


Four smaller videos full row[edit source]

{{Video|perrow  =4
  |service1     =youtube
  |id1          =https://www.youtube.com/watch?v=h9RC3BuswEE
  |description1 =A promo featuring Joey from ''Yu-Gi-Oh''.
  |service2     =youtube
  |id2          =https://www.youtube.com/watch?v=M1P7bY20gms
  |description2 =A more general promo featuring characters from ''Jackie Chan Adventures''.
  |service3     =youtube
  |id3          =https://www.youtube.com/watch?v=hUrAFQ-y-jU
  |description3 =The previous promo but slightly extended.
  |service4     =youtube
  |id4          =https://www.youtube.com/watch?v=Fu0SLgQg8eI
  |description4 =A promo featuring Ash Ketchum from ''Pokemon''.
}}
{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}

To make video smaller, adjust the parent div.

Two smaller videos centered[edit source]

Use 4 per row layout with two central blocks filled.

{{Video|perrow  =4
  |service1     =
  |id1          =
  |description1 =
  |service2     =youtube
  |id2          =https://www.youtube.com/watch?v=M1P7bY20gms
  |description2 =A more general promo featuring characters from ''Jackie Chan Adventures''.
  |service3     =youtube
  |id3          =https://www.youtube.com/watch?v=hUrAFQ-y-jU
  |description3 =The previous promo but slightly extended.
  |service4     =
  |id4          =
  |description4 =
}}
{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}


Two bigger videos full row[edit source]

{{Video|perrow  =2
  |service1     =youtube
  |id1          =https://www.youtube.com/watch?v=h9RC3BuswEE
  |description1 =A promo featuring Joey from ''Yu-Gi-Oh''.
  |service2     =youtube
  |id2          =https://www.youtube.com/watch?v=M1P7bY20gms
  |description2 =A more general promo featuring characters from ''Jackie Chan Adventures''.
}}
{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}

Several rows[edit source]

Just place more instances of the template...

{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}

{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}


Inverted[edit source]

{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}

Use empty containers for arbitrary text[edit source]

Fill description only, leaving service and id empty.

{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}

{{#loop: counter
| 1
| 4
| Expression error: Unrecognized punctuation character "{".

}}