From Dolphin Emulator Wiki
Jump to: navigation, search
[edit] [purge] Template documentation

What am I trying to accomplish in this template:VideoGallery's sandbox?

https://www.youtube.com/watch?v=wjzv0KtDXOA Xenoblade JP 1 (Dolphin Emulator @ 720p)
https://www.youtube.com/watch?v=tJtCp8rPXWg Xenoblade PAL 1 [Dolphin Emulator @ 1080p]
http://www.dailymotion.com/video/x1k9hnl Cocoto Platform Jumper HD on Dolphin Emulator (Widescreen Hack) part1
https://www.youtube.com/watch?v=_VLNa9PKT0Y Xenoblade PAL 2 (Dolphin Emulator @ 720p)
https://www.youtube.com/watch?v=dp3QnvFn_Hc Xenoblade PAL 3 (Dolphin Emulator @ 720p)

... to produce the familiar layout the VideoGallery has been doing. Compare below and #Legacy compatibility! Note the different random videos, the random logic in parameterless version is different and it may be an improvement.

Legacy compatibility

Videos like below still use the old template parameters, they will work fine. Non-YouTube videos are manually assigned with srv parameter to the correct service (apparently only DailyMotion) which is unlike in parameterless version.

|vid1=wjzv0KtDXOA|cap1=Xenoblade JP 1 (Dolphin Emulator @ 720p)
|vid2=tJtCp8rPXWg|cap2=Xenoblade PAL 1 [Dolphin Emulator @ 1080p]
|srv3=dailymotion|vid3=x1k9hnl|cap3=Cocoto Platform Jumper HD on Dolphin Emulator (Widescreen Hack) part1
|vid4=_VLNa9PKT0Y|cap4=Xenoblade PAL 2 (Dolphin Emulator @ 720p)
|vid5=dp3QnvFn_Hc|cap5=Xenoblade PAL 3 (Dolphin Emulator @ 720p)


  • Parameterless to prevent typo or tampering.
  • Reduce editing. Just copy/paste the video url and write caption!


  • Requires {{#vardefineecho:videogallery|}} to avoid issues with equal sign ("=") in template. Fun fact, most video urls have equal sign!


  • Listed in reverse order
  • Videos without caption will have empty caption:

  • Using unmatched (or perhaps any) double open square brackets breaks this template:

{{VideoGallery/sandbox|{{#vardefineecho:videogallery| https://www.youtube.com/watch?v=sam9lDWDvXE Xenoblade JP HD Gameplay 1A [[Dolphin Emulator @ 720p) }}}}