Template:VideoGallery/sandbox/doc: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
__NOTOC__
What am I trying to accomplish in this [[template:VideoGallery]]'s sandbox?
What am I trying to accomplish in this [[template:VideoGallery]]'s sandbox?
<pre>
<pre>
Line 36: Line 37:
== Cons/Issues ==
== Cons/Issues ==
* Requires <code><nowiki>{{#vardefineecho:videogallery|}}</nowiki></code> to avoid issues with equal sign ("=") in template. Fun fact, most video urls have equal sign!
* Requires <code><nowiki>{{#vardefineecho:videogallery|}}</nowiki></code> to avoid issues with equal sign ("=") in template. Fun fact, most video urls have equal sign!
* Video without caption will have erratic caption, as seen in [[#No captions]].
* Listed ascending
* Listed ascending
 
* Video without caption will have erratic caption:
== Quirks ==
=== Empty Template ===
{{VideoGallery/sandbox|{{#vardefineecho:videogallery|
}}}}
 
=== No caption ===
{{VideoGallery/sandbox|{{#vardefineecho:videogallery|
{{VideoGallery/sandbox|{{#vardefineecho:videogallery|
https://www.youtube.com/watch?v=sam9lDWDvXE
https://www.youtube.com/watch?v=sam9lDWDvXE
}}}}
}}}}


=== Double Open Brackets ===
* Using unmatched (or perhaps any) double open square brackets breaks this template:
Using unmatched (or perhaps any) double open square brackets breaks this template.
{{VideoGallery/sandbox|{{#vardefineecho:videogallery|
{{VideoGallery/sandbox|{{#vardefineecho:videogallery|
https://www.youtube.com/watch?v=sam9lDWDvXE Xenoblade JP HD Gameplay 1A [[Dolphin Emulator @ 720p)
https://www.youtube.com/watch?v=sam9lDWDvXE Xenoblade JP HD Gameplay 1A [[Dolphin Emulator @ 720p)
}}}}
}}}}