[Mediawiki-l] Creating #REDIRECT in a template

Platonides Platonides at gmail.com
Fri Jun 25 22:26:51 UTC 2010


nakohdo wrote:
> 
> Hi,
> 
> I am trying to create a template which redirects a page with the initials of
> a user as its title to the corresponding user page like so:
> 
> Page [[FR]] contains the template {{Initials of|Frank}}.
> 
> The template should look like this, but this doesn't work because of the
> pound sign.
> 
>  #REDIRECT [[User:{{{1}}}]]
> 
>  <nowiki>#</nowiki>REDIRECT [[User:{{{1}}}]] doesn't work either.
> 
> I suppose this is too fancy for the wiki engine's parser?
> 
> Frank 

Try transcluding the user page:
{{User:{{{1}}}}}





More information about the MediaWiki-l mailing list