Template:Ut: Difference between revisions
Template page
More actions
m fix leading colon bug since recent version of MediaWiki (which just wants one) |
mNo edit summary |
||
| Line 3: | Line 3: | ||
}}[[:{{#if: {{{3|}}} | }}[[:{{#if: {{{3|}}} | ||
| {{#switch: {{{3|}}} | | {{#switch: {{{3|}}} | ||
|+ |- = | | |+ |- = | ||
|#default = {{{3|}}}: | |#default = {{{3|}}}: | ||
}} | }} | ||
Revision as of 15:25, 8 November 2018
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]])
- (which is the same as writing out
{{Ut|Username|Nickname}}→ Nickname- (which is the same as writing out
[[User talk:Username|Nickname]])
- (which is the same as writing out
{{Ut|Username|3=fr}}→ Username- (which is the same as writing out
[[:fr:User talk:Username|Username]]or[[:fr:Discussion utilisateur:Username|Username]])
- (which is the same as writing out
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)
{{Commons:Link templates/User and user talk links}}