Template:Ut: Difference between revisions
Template page
More actions
m expl |
m expansion |
||
| Line 1: | Line 1: | ||
[[:{{#if:{{{3|}}}|{{{3}}}:}}User talk:{{{1|Example}} | {{#switch:-|{{{2}}}|{{{3}}}|{{{4}}}=User:}}<!-- | ||
-->[[:{{#if:{{{3|}}}|{{#switch:{{{3}}}|+|-=|{{{3}}}:}}}}<!-- | |||
-->User talk:{{#if:{{{1|}}}|{{{1}}}|Example}}<!-- | |||
-->|{{#if:{{{2|}}}|{{#switch:{{{2}}}|+=User:{{#if:{{{1|}}}|{{{1}}}|Example}}<!-- | |||
-->|-={{#if:{{{1|}}}|{{{1}}}|Example}}<!-- | |||
-->|{{#switch:+|{{{3}}}|{{{4}}}=User:}}{{{2|}}}}}<!-- | |||
-->|{{#switch:+|{{{3}}}|{{{4}}}=User:}}{{#if:{{{1|}}}|{{{1}}}|Example}}}}]]<noinclude> | |||
Revision as of 05:48, 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]])
{{Commons:Link templates/User and user talk links}}