User talk:Boblers: Difference between revisions

m (→‎Help with automated text coloring template updates: Yeah, correct as intended, but it also brings up another follow-up question.)
(12 intermediate revisions by 5 users not shown)
Line 113: Line 113:
These could maybe act as a middle ground that still has some visual flair. The conversation's not progressed much past that point, though. --[[User:Boblers|Boblers]] ([[User talk:Boblers|talk]]) 22:02, 17 September 2023 (UTC)
These could maybe act as a middle ground that still has some visual flair. The conversation's not progressed much past that point, though. --[[User:Boblers|Boblers]] ([[User talk:Boblers|talk]]) 22:02, 17 September 2023 (UTC)
:Update - I've now implemented the "alternators" style, as was discussed in the public Discord. --[[User:Boblers|Boblers]] ([[User talk:Boblers|talk]]) 22:08, 22 September 2023 (UTC)
:Update - I've now implemented the "alternators" style, as was discussed in the public Discord. --[[User:Boblers|Boblers]] ([[User talk:Boblers|talk]]) 22:08, 22 September 2023 (UTC)
::Not sure what that means, but I'd still, at the very least, prefer colored backgrounds instead of white. I feel the templates have regressed with the change in background and text colors, but the text colors I could probably get used to if the background wasn't white. --[[User:FinnishPokéFan92|FinnishPokéFan92]] ([[User talk:FinnishPokéFan92|talk]]) 11:37, 10 December 2023 (UTC)


== Help with automated text coloring template updates ==
== Help with automated text coloring template updates ==
Line 131: Line 132:
:::::Yeah, it does look just as requested! Of course, logically now I'd wonder if that same trick would work with the Seminar point from before by adding that to the Episodestaffheader as well. So I tried that out just now, but it seems like I did something wrong yet again.
:::::Yeah, it does look just as requested! Of course, logically now I'd wonder if that same trick would work with the Seminar point from before by adding that to the Episodestaffheader as well. So I tried that out just now, but it seems like I did something wrong yet again.
:::::--[[User:DomiDsLP|DomiDsLP]] ([[User talk:DomiDsLP|talk]]) 18:48, 27 September 2023 (UTC)
:::::--[[User:DomiDsLP|DomiDsLP]] ([[User talk:DomiDsLP|talk]]) 18:48, 27 September 2023 (UTC)
::::::I took a look, and I think I've fixed it now. You definitely have the right idea, though! Here's some tips on what I think went wrong with the code, if you're interested:
::::::* The text you want to color must be within the div, i.e. something like <nowiki><div {{#switch:...}}> mytext </div></nowiki>, however you had the div separate and didn't have the text inside it, so it couldn't be colored. Since the template has the text inside "span" and "small" tags already, I decided to put the switch on those instead - so something like: <nowiki><span {{#switch:...}}> mytext </span></nowiki> and <nowiki><small {{#switch:...}}> mytext </small></nowiki>
::::::* The footer took the color scheme as the second unlabeled field, so that field is accessed by <nowiki>{{{2|}}}</nowiki>. However, the header actually takes color scheme as a field named "colorscheme", which is accessed by <nowiki>{{{colorscheme|}}}</nowiki>. You had the switch taking 2 instead of colorscheme, so it wasn't able to read the right value.
::::::--[[User:Boblers|Boblers]] ([[User talk:Boblers|talk]]) 23:45, 27 September 2023 (UTC)
:::::::Yes, it does now work as intended and thanks for the help and the explanation in total now. --[[User:DomiDsLP|DomiDsLP]] ([[User talk:DomiDsLP|talk]]) 23:53, 27 September 2023 (UTC)
== Templates ==
Hey. I've noticed you work a lot with templates. I was writing up [[Special:redirect/page/302374|documentation]] for {{template|Pokémon/9}} when I noticed it could do with a couple of updates.<br/>
1. Change the image size from <code>100px</code> to <code>100x100px</code>, so if using a different image, it would be resized to fit into the square. ([https://discord.com/channels/202737349996576769/1112283007705940061/1197314802238886039 example])<br/>
2. resize the shiny star to 10px or whatever the correct text height is. Also make it link it to Shiny Pokémon. ([https://discord.com/channels/202737349996576769/1112283007705940061/1197315917781159956 example])<br/>
Since the template is unprotected, I could make the changes myself, but I thought I'd ask first since it is a high use template. → [[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>]] 04:20, 19 January 2024 (UTC)
:Sounds reasonable to me, I think you can go ahead and change it. --[[User:Boblers|Boblers]] ([[User talk:Boblers|talk]]) 06:51, 19 January 2024 (UTC)
::Could you take a look at the documentation I wrote up too? If it's alright, I'll add it there in the same edit. → [[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>]] 07:31, 19 January 2024 (UTC)
:::Hey, apologies for the delay. The docs look great! It looks like you've covered everything well. --[[User:Boblers|Boblers]] ([[User talk:Boblers|talk]]) 01:48, 24 January 2024 (UTC)
::::I've actually written [[special:prefixIndex/User:PikaTepig999/Template|more docs]], but some of the templates are protected. Could you add {{template|documentation}} to {{template|Pokémon/6}}, {{template|Pokémon/6/Contest}}, and {{template|Pokémon/7}}? 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>]] 05:29, 30 January 2024 (UTC)
:::::Sure, no problem - done. --[[User:Boblers|Boblers]] ([[User talk:Boblers|talk]]) 06:23, 30 January 2024 (UTC)
::::::Hi, can you also add {{template|documentation}} to the templates for [[Special:PrefixIndex/Template:Pokémon/|Gen 1 through 5]] ?
{{indent}} Sure, no problem! Done. --[[User:Boblers|Boblers]] ([[User talk:Boblers|talk]]) 05:05, 18 March 2024 (UTC)
== Can't create pages ==
Hello there. May you please grant me the ability to create pages on Bulbapedia? [[User:CuteShaymin|CuteShaymin]] ([[User talk:CuteShaymin|talk]]) 17:52, 15 April 2024 (UTC)
:In order to be able to create pages, you need to be autoconfirmed. Having made several edits to Bulbapedia's mainspace, you are on your way to being autoconfirmed but this takes place a while after you first join.--[[User:BigDocFan|BigDocFan]], Junior Admin Bulbapedia ([[User talk:BigDocFan|talk]]) 18:27, 15 April 2024 (UTC)