User talk:Storm Aurora: Difference between revisions

Line 66: Line 66:


This is going to be ambitious and complicated.  Yet, I thank you for reading this comment!  As I stated in FinnishPokéFan92's talk page, I wish to create templates that show attributes of moves and sync moves featured in Pokémon Masters EX, please.  (Examples: the following link's two blocks for [[Aeroblast_(move)#Pok.C3.A9mon_Masters_EX|Aeroblast]].)  How much are able to teach me?  I appreciate any knowledge and experience that you are willing to share! [[User:Solemn Mac|Solemn Mac]] ([[User talk:Solemn Mac|talk]]) 15:23, 2 November 2023 (UTC)
This is going to be ambitious and complicated.  Yet, I thank you for reading this comment!  As I stated in FinnishPokéFan92's talk page, I wish to create templates that show attributes of moves and sync moves featured in Pokémon Masters EX, please.  (Examples: the following link's two blocks for [[Aeroblast_(move)#Pok.C3.A9mon_Masters_EX|Aeroblast]].)  How much are able to teach me?  I appreciate any knowledge and experience that you are willing to share! [[User:Solemn Mac|Solemn Mac]] ([[User talk:Solemn Mac|talk]]) 15:23, 2 November 2023 (UTC)
:Well, the way I learned to create templates is by looking at other templates to see how they work! [[Template:MastersEventInfobox]] and [[Template:MastersMissionTable]] are good examples of what you can do with templates (I created both of those myself, so I might be biased :P). [[Category:Other templates]] has some templates for attacks in other spin-offs, so that might be a good place to start building the specific template you have in mind. If you click the "edit this page" or "view source" button on a template page, you can view the source code and see how it's constructed.
:Well, the way I learned to create templates is by looking at other templates to see how they work! [[Template:MastersEventInfobox]] and [[Template:MastersMissionTable]] are good examples of what you can do with templates (I created both of those myself, so I might be biased :P). [[:Category:Other templates]] has some templates for attacks in other spin-offs, so that might be a good place to start building the specific template you have in mind. If you click the "edit this page" or "view source" button on a template page, you can view the source code and see how it's constructed.
:A couple basic tips to help with reading template code: parameters are denoted with triple curly braces, like <code>{{{this}}}</code>. If there's a word in between the braces, that parameter is a named parameter, so you'll have to specify the name of the parameter in the template call (i.e. <code><nowiki>{{incomplete|needs=Missing image}}</nowiki></code>). If there's a number in between the braces, that's an unnamed parameter, which just need to be placed in a specific order in the template call. For example, the 2nd parameter in the template call is automatically passed to the <code>{{{2}}}</code> parameter. Lastly, if you see a parameter like <code><nowiki>{{{this|example}}}</nowiki></code>, "example" is the default value of the "this" parameter. If you don't specify a value for "this", then "example" will be used by default. [[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]]) 18:54, 2 November 2023 (UTC)
:A couple basic tips to help with reading template code: parameters are denoted with triple curly braces, like <code>{{{this}}}</code>. If there's a word in between the braces, that parameter is a named parameter, so you'll have to specify the name of the parameter in the template call (i.e. <code><nowiki>{{incomplete|needs=Missing image}}</nowiki></code>). If there's a number in between the braces, that's an unnamed parameter, which just need to be placed in a specific order in the template call. For example, the 2nd parameter in the template call is automatically passed to the <code>{{{2}}}</code> parameter. Lastly, if you see a parameter like <code><nowiki>{{{this|example}}}</nowiki></code>, "example" is the default value of the "this" parameter. If you don't specify a value for "this", then "example" will be used by default. [[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]]) 18:54, 2 November 2023 (UTC)