Forum:An easier way to learn

I don't know much about coding. So I can't figure out how this ParserFunctions stuff works. I was editing this Template (w:c:gaia:Template:Item) to include an option called "Obtained by:". Which was meant to be a stand in for items that were Not available in "Stores:". However, if the item was available in "Stores:", then the "Obtained by:" wouldn't be needed. As in, leaving that option blank would not show up when the template was used.

I did a bunch of edits and still couldn't figure out how to make that option not show up when it was not needed. I am likely to just create a seperate template by copying the original and just not having the "Store" option in it.

But every time I try to figure out ParserFunctions, I just never understand it. I will look around more to fine some simplified version, but it seems the only way I can do anything is if I copy a previous code. Bunai82 04:31, January 19, 2010 (UTC)


 * Learning from examples is a great way to learn. If you want live help, go on IRC and ask in #wikia or perhaps #mediawiki. Describe what you want the parserfunction to go. Then when someone tells you what you have to use, try to understand how it works. 14:23, January 19, 2010 (UTC)


 * I also tried doing what you described on your template. Is it right? 14:31, January 19, 2010 (UTC)


 * Thank you for the extra help ^_^. When it comes to the Template, the "Obtained by:" disappears, but there is a gap. And the first edit you made caused both options to be on the same line. Does there need to be another bracket thing? Could the IRC explain if a ParserFunction can become outdated? Bunai82 22:30, January 19, 2010 (UTC)