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
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}}}}}
What happens if you have users Stan Smith and Samantha Strange ? ;-)
Platonides wrote:
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}}}}}
What happens if you have users Stan Smith and Sam Sexton? ;-)
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
What happens if you have users Stan Smith and Samantha Strange ? ;-)
... in addtion to Sam Sexton? Well, corporate policy will prevent them from having the same initials ;-)
Of course you could just number them: SS1, SS2 ... :-)
Try transcluding the user page: {{User:{{{1}}}}}
Thanks for this tip!
But this will make the initials pages to pages on their own, only with the same content as the respective user page. That migth confuse users who think they are on their user page and want to change it only to be confronted with a strange looking transclusion ;-)
mediawiki-l@lists.wikimedia.org