User talk:Abcboy: Difference between revisions

m
→‎Templates help: pinging discussion
m (→‎Templates help: pinging discussion)
(2 intermediate revisions by 2 users not shown)
Line 105: Line 105:
::::Weirdly, had to purge the page a second time before it worked. Sorry about that and thanks! → [[User:PikaTepig999|<span style="color:#000;">Pika</span>]][[User talk:PikaTepig999|<span style="color:#000;">Tepig</span>]][[Special:Contribs/PikaTepig999|<span style="color:#000;">999</span>]] 19:17, 19 February 2024 (UTC)
::::Weirdly, had to purge the page a second time before it worked. Sorry about that and thanks! → [[User:PikaTepig999|<span style="color:#000;">Pika</span>]][[User talk:PikaTepig999|<span style="color:#000;">Tepig</span>]][[Special:Contribs/PikaTepig999|<span style="color:#000;">999</span>]] 19:17, 19 February 2024 (UTC)
Hello again. Would it be a good idea to add a caption (like [[Special:Diff/3640529|this one]]) to [[Template:YouTubeEmbed]] (and [[Template:YouTubeVid]], [[Template:BilibiliEmbed]], etc) so that all the captions can be moved into the template itself; so that there is no need for extra div wrappers when trying to make the layout responsive? (Also, thank you for mainspacing [[Special:Redirect/log/1145833|User:PikaTepig999/PokéMiku nav]]) → <span class="blacklinks">[[User:PikaTepig999|Pika]][[User talk:PikaTepig999|<sup>Tepig</sup>]][[Special:Contribs/PikaTepig999|<sub>999</sub>]]</span> 05:50, 11 March 2024 (UTC)
Hello again. Would it be a good idea to add a caption (like [[Special:Diff/3640529|this one]]) to [[Template:YouTubeEmbed]] (and [[Template:YouTubeVid]], [[Template:BilibiliEmbed]], etc) so that all the captions can be moved into the template itself; so that there is no need for extra div wrappers when trying to make the layout responsive? (Also, thank you for mainspacing [[Special:Redirect/log/1145833|User:PikaTepig999/PokéMiku nav]]) → <span class="blacklinks">[[User:PikaTepig999|Pika]][[User talk:PikaTepig999|<sup>Tepig</sup>]][[Special:Contribs/PikaTepig999|<sub>999</sub>]]</span> 05:50, 11 March 2024 (UTC)
:Can I ask where captions are currently being used with that template? I think it's a good idea, but I want to see it in actual usage and see if there's any potential issues that should be addressed before adding it to other templates. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 15:53, 11 March 2024 (UTC)
::Pages where both English and Japanese videos are embedded, such as [[Challenge the World!#Videos]]. They are separate sections for each videos. [[Detective Pikachu & the Mystery of the Missing Flan#Video]] used to be the same, until I [[Special:Diff/3923608|added]] a flex wrapper to display them both in the same row. A sample of code currently needed for such a display is (cut out the non-essential parts):
<pre style=margin-left:3.2em;>
<div style="display: flex; justify-content: space-evenly; align-items: center; flex-wrap:wrap;">
<div style="margin:auto">
English
{{YouTubeEmbed}}
</div>
<div style="margin:auto">
Japanese
{{YouTubeEmbed}}
</div>
</div>
</pre>
::but if the template itself has a caption parameter, it can just be
<pre style=margin-left:3.2em;>
<div style="display: flex; justify-content: space-evenly; align-items: center; flex-wrap:wrap;">
{{YouTubeEmbed|caption=English}}
{{YouTubeEmbed|caption=Japanese}}
</div>
</pre>
::This would work similar to the Pokemon/9 template, where I had to [[Special:Diff/3889975|wrap the caption in a div]] for the [[Special:Diff/3913501|responsive layout]], but now it can just be [[Special:Diff/3952982|one container]]. → <span class="blacklinks">[[User:PikaTepig999|Pika]][[User talk:PikaTepig999|<sup>Tepig</sup>]][[Special:Contribs/PikaTepig999|<sub>999</sub>]]</span> 17:23, 11 March 2024 (UTC)
:::Did you have a chance to look into this? <span class="blacklinks">[[User:PikaTepig999|Pika]][[User talk:PikaTepig999|Tepig]][[Special:Contribs/PikaTepig999|999]]</span> 22:27, 10 April 2024 (UTC)