Template:U: Difference between revisions
Template page
More actions
m copied from Template:÷ by User:Sarang; see reason: http://commons.wikimedia.org/w/index.php?title=User_talk:D-Kuru&oldid=48739917#Template:U |
{{Commons:Link templates/User and user talk links}} |
||
| Line 1: | Line 1: | ||
<includeonly>[[:{{#if:{{{lang|}}}|{{{lang}}}:}}User:{{#if:{{{1|}}}|{{{1}}}|{{safesubst:REVISIONUSER}}}}{{!}}{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|{{safesubst:REVISIONUSER}}}}}}]]</includeonly><noinclude> | <includeonly>[[:{{#if:{{{lang|}}}|{{{lang}}}:}}User:{{#if:{{{1|}}}|{{{1}}}|{{safesubst:REVISIONUSER}}}}{{!}}{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|{{safesubst:REVISIONUSER}}}}}}]]</includeonly><noinclude> | ||
---- | |||
The template '''U''' generates a link to a user page. It can be used with either none, one or two parameters. | The template '''U''' generates a link to a user page. It can be used with either none, one or two parameters. | ||
:The first parameter defines a user name; if absent, the name of the editing user is used. | :The first parameter defines a user name; if absent, the name of the editing user is used. | ||
| Line 9: | Line 9: | ||
For links to users of the {{Wd||German}} Wikipedia choose the more potent {{Tl|Ud}}. | For links to users of the {{Wd||German}} Wikipedia choose the more potent {{Tl|Ud}}. | ||
{{Commons:Link templates/User and user talk links}} | |||
[[Category:Internal link templates|{{PAGENAME}}]] | [[Category:Internal link templates|{{PAGENAME}}]] | ||
[[Category:Interwiki link templates|{{PAGENAME}}]] | [[Category:Interwiki link templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 00:02, 1 December 2011
The template U generates a link to a user page. It can be used with either none, one or two parameters.
- The first parameter defines a user name; if absent, the name of the editing user is used.
- The second parameter defines the name to be displayed; if absent, the user name is displayed.
With the named parameter lang= any language code can be defined, it will establish interwiki access preceding the link to the user page.
For links to users of the German Wikipedia choose the more potent {{Ud}}.
{{Commons:Link templates/User and user talk links}}