Template:VideoGallery: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
created documentation of new template
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is a template used to format videos into a simple and pleasing gallery. Currently it assumes all videos are from YouTube, but it may be expaned in the near future.  
This is a template used to format videos into a simple and pleasing gallery. Currently it assumes all videos are from YouTube, but it may be expanded in the near future.  


==Example==
==Example==
{{VideoGallery/Start}}
{{VideoGallery/Start}}
{{VideoGallery/Item|id=https://www.youtube.com/watch?v=sv2B7AVVJC8|description=IGN plays {{DQ4}}}}
{{VideoGallery/Item|id=https://www.youtube.com/watch?v=sv2B7AVVJC8|description=IGN plays {{DQ4}}}}
{{VideoGallery/Item|id=https://www.youtube.com/watch?v=O7kXJo4AcGY|description=IGN review of ''Dragon Quest Heroes 2''}}
{{VideoGallery/Item|id=https://www.youtube.com/watch?v=O7kXJo4AcGY|description=IGN review of {{Dragon Quest Heroes II}}}}
{{VideoGallery/End}}
{{VideoGallery/End}}



Latest revision as of 07:45, 29 January 2022

This is a template used to format videos into a simple and pleasing gallery. Currently it assumes all videos are from YouTube, but it may be expanded in the near future.

Example[edit source]

EmbedVideo is missing a required parameter.
EmbedVideo is missing a required parameter.

Usage[edit source]

Note: The id of a video should usually just be the YouTube URL.

{{VideoGallery/Start}}
{{VideoGallery/Item|id=|description=}}
{{VideoGallery/End}}