Template talk:YouTube: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
:::*Related to the heights, we either need to pad the height to keep 2/3 line entries the same height as 1 line ones, or trim the titles to fit 1 line. I can try to work out some CSS magic to do that. - [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 20:40, 8 November 2012 (CET)
:::*Related to the heights, we either need to pad the height to keep 2/3 line entries the same height as 1 line ones, or trim the titles to fit 1 line. I can try to work out some CSS magic to do that. - [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 20:40, 8 November 2012 (CET)
::::: Where you would implement the CSS style? The "final" output is entirely handled by the wiki plugin itself, I'm unsure if we can edit it's style without changing the plugin source. It wouldn't be hard, but I think only [[User:Parlane|Parlane]] have access to the server-side - [[User:Jhonn|Jhonn]] ([[User talk:Jhonn|talk]])
::::: Where you would implement the CSS style? The "final" output is entirely handled by the wiki plugin itself, I'm unsure if we can edit it's style without changing the plugin source. It wouldn't be hard, but I think only [[User:Parlane|Parlane]] have access to the server-side - [[User:Jhonn|Jhonn]] ([[User talk:Jhonn|talk]])
:::::: I haven't looked at the output in detail, but had hoped there may be a id or class that would enable easier styling. At the worst case in a div tag surrounding the embed (i.e. we add a little bubble container, with consistent height to each video. Thinking about how to avoid unnecessary gaps for video sets that don't use the space though).
:::*The issue with handling <code>&lt;div style="clear:left"&gt;&lt;/div&gt;</code> may be better handled by a parameter. If an optional 4th <last> parameter is specified the template would output the clear div post the embed. How's that sound? Then the instructions would simplify to, if yours is the last video in a list include the fourth <last> parameter. - [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 20:40, 8 November 2012 (CET)
:::*The issue with handling <code>&lt;div style="clear:left"&gt;&lt;/div&gt;</code> may be better handled by a parameter. If an optional 4th <last> parameter is specified the template would output the clear div post the embed. How's that sound? Then the instructions would simplify to, if yours is the last video in a list include the fourth <last> parameter. - [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 20:40, 8 November 2012 (CET)
::::: Really liked this... <strike>I'll update the template and documentation to get the 3th parameter soon</strike> (already updated), I'm still working in a way to randomize 3 videos and add the others as links, as you suggested in [[Project:General Discussions]] - [[User:Jhonn|Jhonn]] ([[User talk:Jhonn|talk]])
::::: Really liked this... <strike>I'll update the template and documentation to get the 3th parameter soon</strike> (already updated), I'm still working in a way to randomize 3 videos and add the others as links, as you suggested in [[Project:General Discussions]] - [[User:Jhonn|Jhonn]] ([[User talk:Jhonn|talk]])