Topic on Extension talk:AutoCreatePage

Jump to navigation Jump to search

Accepting Template Parameter for the magic word?

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.


{{#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?