Thread:Hatebunny/@comment-18172179-20150517215511/@comment-25737724-20150518110026

Oh that's slightly different. Sometimes I like to try and answer as it pushes myself as they say to really understand is when you can explain it... :)  What you're asking is how do templates take an input, and do something with it such as add a category.

So you'll see some pages have a character template filled out. Starting from scratch you have all the "| = " options on the pages. Each of those allow information to be passed into the templates for formatting. You're asking, "How do you do the category magic?"

So when you fill out your character templates you see all the "|Gender = " on the pages to begin with. You know to fill in Male or Female there. All the code is doing is throwing "" behind it. This then automatically adds ". So if you put "Male" or "Female" as input that would add the "" or "".

That's part of why these have to be policed is a lot of these weren't coded to only take certain inputs. So if you put |Gender = AmbiguousUna, it would add it to the "AmbiguousUna Characters" category to the page. Womp womp.

I always have to play with things to get them. So I'm always 25-50% first time I hear things when it comes to Rab explaining things to me. Cheers amigo! And part of that was for my own fun of explaining ;)