Firstly, sorry for the troubles as I'm new to mediawiki and can't find any beginner-friendly documentation that doesn't assume I can code in HTML/PHP, but hopefully this is an easy one.
I'm trying to use an InputBox to create a child page of the current page the InputBox is on, and for the life of me I cannot find a way to take the current PAGENAME and pass it to the created page to be it's Category. Can this be easily done, or am I destined to use a million and one templates for each of the possible categories? A crazy theory I had was to create a single page to be preloaded with the text 'Category:PAGENAME' (notated appropriately, of course), though I concluded it would likely grab the PAGENAME from the newly created page, which does me no good.
Thanks alot, I appreciate any help or guidance!