User talk:Storm Aurora: Difference between revisions

Line 82: Line 82:


I also don't think it's necessary to use a switch statement here. When the only difference between the options is a single word (one, two, three, or four), it's simpler to just make that word the parameter so that you're just inserting that word into the file name (<code><nowiki>[[File:Move gauge {{{1|four}}} slots.png]]</nowiki></code>). As for the slot/slots thing, we could change the image names so that they're all using the same name scheme (<code>Move gauge one slot</code>, <code>Move gauge two slot</code>, etc. or <code>Move gauge one slots</code>, <code>Move gauge two slots</code>, etc.) or use an if statement to determine if "slot" or "slots" is used. The if statement is cheaper to use performance-wise, since it's just one comparison compared to four or five for the switch statement. [[User:Storm Aurora|'''<span style="background:-webkit-linear-gradient(left,#9CB8C6,#625A88);-webkit-background-clip:text;-webkit-text-fill-color:transparent;">Storm Aurora</span>''']] ([[User talk:Storm Aurora|talk]]) 21:01, 22 February 2024 (UTC)
I also don't think it's necessary to use a switch statement here. When the only difference between the options is a single word (one, two, three, or four), it's simpler to just make that word the parameter so that you're just inserting that word into the file name (<code><nowiki>[[File:Move gauge {{{1|four}}} slots.png]]</nowiki></code>). As for the slot/slots thing, we could change the image names so that they're all using the same name scheme (<code>Move gauge one slot</code>, <code>Move gauge two slot</code>, etc. or <code>Move gauge one slots</code>, <code>Move gauge two slots</code>, etc.) or use an if statement to determine if "slot" or "slots" is used. The if statement is cheaper to use performance-wise, since it's just one comparison compared to four or five for the switch statement. [[User:Storm Aurora|'''<span style="background:-webkit-linear-gradient(left,#9CB8C6,#625A88);-webkit-background-clip:text;-webkit-text-fill-color:transparent;">Storm Aurora</span>''']] ([[User talk:Storm Aurora|talk]]) 21:01, 22 February 2024 (UTC)
:I can tell that these templates don't look promising now.  You are probably believing that they will harm Pokémon Masters EX's image.  I assure you that I will use your feedback to make templates that '''bolster''' this game's impression! How does that sound?  With all sincerity, [[User:Solemn Mac|Solemn Mac]] ([[User talk:Solemn Mac|talk]]) 16:15, 23 February 2024 (UTC)


== Masters EX story appearances ==
== Masters EX story appearances ==
2,549

edits