Template:Video/doc
General notes
Places @
videos per row following perrow
parameter value. @
can be 1,2,3 or 4.
One bigger video centered
{{Video|perrow =1 |service1 = |id1 = |description1 = }}
One smaller video centered
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 --> }}
Three smaller videos full row
{{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. }}
Four smaller videos full row
{{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''. }}
To make video smaller, adjust the parent div.
Two smaller videos centered
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 = }}
Two bigger videos full row
{{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''. }}
Several rows
Just place more instances of the template...
Inverted
Use empty containers for arbitrary text
Fill description
only, leaving service
and id
empty.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.