Template talk:YouTube: Difference between revisions

Jump to navigation Jump to search
Line 27: Line 27:
[[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 04:20, 25 November 2015 (CET)
[[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 04:20, 25 November 2015 (CET)
:That is correct Kolano. I was correcting my mistake. --[[User:Wildgoosespeeder|Wildgoosespeeder]] ([[User talk:Wildgoosespeeder|talk]]) 04:58, 25 November 2015 (CET)
:That is correct Kolano. I was correcting my mistake. --[[User:Wildgoosespeeder|Wildgoosespeeder]] ([[User talk:Wildgoosespeeder|talk]]) 04:58, 25 November 2015 (CET)
:: Well, {{tl|VideoGallery}} currently depends of {{tl|YouTube}} (and related templates for other services) I think, I don't remember if we defined this somewhere but I would completely avoid using {{tl|VideoGallery}} outside of the Gameplay Videos section, when including videos in Problems we generally won't have more than 2 videos (broken/accurate behavior) and while calling {{tl|VideoGallery}} would provide the same output in those cases it would also "consume" some loops (there's a limited number of loops allowed to run in a page) and variables without any benefit (and since I hadn't revised {{tl|VideoGallery}} to use unique variables it may cause issues when it's called twice, in Problems and Gameplay Videos sections, but I haven't investigated this edge case yet).
::In other words, {{tl|VideoGallery}} is a somewhat "expensive" template and its additional features (like random thumbnails) aren't necessary when putting videos in problems sections, so it's not worth consuming more resources for something we won't need in that particular section. And about formatting, my long-term goal is having both templates independent, right now they look the same but in future we may want to change the formatting of the Video Gallery without affecting Problems section or vice-versa. I also find our current video templates somewhat messy scattered all the way in different templates (it looked a good way to go when I implemented this initially but it looks very messy even to me now that I'm regretting doing that way in the past), I want to somehow reduce all video templates we currently have into only two, probably {{tl|Video}} for single videos that we would generally use in Problems section or anywhere else and {{tl|VideoGallery}}, for the Gameplay Videos section with its added features like random thumbnails, while also keeping the two independent and keeping usage of the two as similar as possible (for end-users)... - [[User:Jhonn|Jhonn]] ([[User talk:Jhonn|talk]]) 05:09, 25 November 2015 (CET)

Navigation menu