Template:Ut: Difference between revisions
Template page
More actions
m expansion |
m expansion |
||
| Line 18: | Line 18: | ||
<nowiki>{{</nowiki>ut|Username|3=fr}} → {{ut|Username|3=fr}} (which is the same as writing out <nowiki>[[</nowiki>:fr:User talk:Username|Username]] <br> | <nowiki>{{</nowiki>ut|Username|3=fr}} → {{ut|Username|3=fr}} (which is the same as writing out <nowiki>[[</nowiki>:fr:User talk:Username|Username]] <br> | ||
:::::::::::::: ou <nowiki>[[</nowiki>:fr:Discussion utilisateur:Username|Username]]) | :::::::::::::: ou <nowiki>[[</nowiki>:fr:Discussion utilisateur:Username|Username]]) | ||
====Prefix==== | |||
The username can be prefixed with the namespace identifier "User:". | |||
:<nowiki>{{</nowiki>ut|Username|+}} → {{ut|Username|+}} (with the "+" sign for parameter 2, 3 or 4; prefix part of the link) | |||
:<nowiki>{{</nowiki>ut|Username|<tt>-</tt>}} → {{ut|Username|-}} (with the "<tt>-</tt>" sign for parameter 2, 3 or 4; prefix not linking) | |||
{{Commons:Link templates/User and user talk links}} | {{Commons:Link templates/User and user talk links}} | ||
Revision as of 05:57, 1 June 2017
This is creating a link to a user's talk page. It hides the "User talk:" prefix.
Usage
{{ut|Username}} → Username (which is the same as writing out [[User talk:Username|Username]])
{{ut|Username|Nickname}} → Nickname (which is the same as writing out [[User talk:Username|Nickname]])
{{ut|Username|3=fr}} → Username (which is the same as writing out [[:fr:User talk:Username|Username]]
- ou [[:fr:Discussion utilisateur:Username|Username]])
Prefix
The username can be prefixed with the namespace identifier "User:".
- {{ut|Username|+}} → User:Username (with the "+" sign for parameter 2, 3 or 4; prefix part of the link)
- {{ut|Username|-}} → User:Username (with the "-" sign for parameter 2, 3 or 4; prefix not linking)
{{Commons:Link templates/User and user talk links}}