Topic on Extension talk:AutoCreatePage

Accepting Template Parameter for the magic word?

1
Summary by TheD3xus

Used wrong parameter. Works now! THANK YOU FOR AN AMAZING EXTENSION!

TheD3xus (talkcontribs)

This extension works perfectly with explicitly stated strings and text, but I'm having trouble transcluding parameters from a template onto this magic word.

Example:

{{#createpageifnotex:{{{1|}}}|#REDIRECT [[{{{2|}}}]]}}

I keep getting an error of: Error: this function must be given a valid title text for the page to be created. What am I doing wrong?

Thanks!