Template:Ud
Interwiki link to de:Benutzer
Usage
{{Ud |1= |2= |3= }}
Soll auch zur Diskussionsseite verlinkt werden, kann s=2 angegeben werden.
Bei Angabe des dritten Parameters werden beide Links erzeugt, außer der erste wird mit s=1 unterdrückt. Mit s=1 wird nur zur Diskussionsseite verlinkt. Um einen anderen als den (in Parameter 1 angegebenen, oder substituierten) Benutzernamen anzuzeigen, kann mit Parameter 2 oder 3 der anzuzeigende Name spezifiziert werden; werden beide angegeben, ignoriert die Vorlage den 2. Parameter.
Werden sowohl zur Benutzerseite als auch zur Diskussion verlinkt, ist die Reihenfolge immer Benutzerseite - Diskussionsseite; zwischen beide wird der Standardtext " talk: " gesetzt. Mit dem Parameter t= kann ein anderer Text definiert werden; soll zwischen diesem und dem Diskussionsseitenlink ein Zwischenraum bleiben, muss dies mit angegeben werden, zB "t=Diskussion: ". Es kann aber auch "t=talk=" angegeben werden, ohne Zwischenraum, oder nur "t= " um ohne Text anzuzeigen. Wird (mit s=1) nur zur Diskussionsseite verlinkt, wird standardmäßig kein Text vorangestellt. Mit t= kann auch für diesen Fall ein voranzustellender Text definiert werden.
Mit dem Parameter t= kann alternativ ein Zeichen einer Klammerung für den Benutzer-Diskussion-Link angegeben werden; es ist eines der Zeichen "(", "[", "{", "<", "«" wählbar. Siehe die Beispiele in der Tabelle unten.
Das komplexe Zusammenspiel der drei Parameter mit der Selektion s= und verschieden Parameterwerten für t= wird in den untenstehenden Tabellen dargestellt.With the second parameter a display name for the user page can be specified. Either by specifying the third parameter, or by s=2 an additional link to the talk page is established as well.
To link only to the user's talk page is specified with s=1. A second parameter can be specifyed for display. If contradictionary as well a second parameter and a third parameter are declared, the third parameter is displayed ignoring the second one.
If the standard text preceding the talk page link should be replaced, the text string for it should contain a trailing spacing entity, otherwise none is generated. For s=1 no standard text is displayed, it can be forced by specifying the text string. When only the user page is linked (no 3rd parameter and "s" neither 1 nor 2), any text string definition is ignored.
It is also possible to define with t= a one-character delimiter instead: "(", "[", "{", "<", "«" are processed. See examples in tables below.Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | user English: For missing parameter the name of the editing user is substituted — the page contains therefore always the name of the last editing user - until next editing.
It is strongly advised always to provide this parameter with a value. Deutsch: Für fehlenden 1. Parameter wird der editierende Benutzer angenommen — hier steht in diesem Fall immer der Name des zuletzt editiert habenden Benutzers - bis zur nächsten Änderung. In den meisten Fällen ist dies nicht sinnvoll. Es ist dringend angeraten, diesen Parameter immer zu versorgen. | user name | optional | |
2 | display name for user | user name | optional | |
3 | display name for user talk page | display name | optional | |
s | selection: 1=only talk, 2=user and talk, default=user (and talk, if parameter 3 is specified) | 0 | optional | |
t | text string (with spacing) or one-character-delimiter | talk:  | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
Localization
This template is not intended to be localized.
The follwing tables show all possibilities of parameter declaration. The selection default is expressed by s=0.
Parameters 1,2,3 missing or present, different selection values
s=0 | s=1 | s=2 | |
---|---|---|---|
000 | CptViraj | CptViraj | CptViraj talk: CptViraj |
100 | user | user | user talk: user |
020 | nick | nick | nick talk: nick |
120 | nick | nick | nick talk: nick |
003 | CptViraj talk: talk | talk | CptViraj talk: talk |
103 | user talk: talk | talk | user talk: talk |
023 | nick talk: talk | talk | nick talk: talk |
123 | nick talk: talk | talk | nick talk: talk |
Parameters 1,2,3 missing or present, different selection values, text string
s=0 | s=1 | s=2 | |
---|---|---|---|
000 | CptViraj | disc: CptViraj | CptViraj disc: CptViraj |
100 | user | disc: user | user disc: user |
020 | nick | disc: nick | nick disc: nick |
120 | nick | disc: nick | |
003 | CptViraj disc: talk | disc: talk | CptViraj disc: talk |
103 | user disc: talk | disc: talk | |
023 | nick disc: talk | disc: talk | |
123 | nick disc: talk | disc: talk |
Different delimiter values
(none) | t=/ | t=( | t=[ | t={ | t=< | t=« | |
---|---|---|---|---|---|---|---|
103 | user talk: talk | user /talk | user (talk: talk) | user [talk: talk] | user {talk: talk} | user <talk: talk> | user «talk: talk» |
Similar templates
Other templates can create the same link (try it!) as with {{Ud|Jimbo Wales}}:
{{U}} | {{U|Jimbo Wales||de}} | Jimbo Wales | JimboW | {{U}} + "3=de" |
{{U}} | {{U|Jimbo Wales|3=de}} | Jimbo Wales | JimboW | {{U}} + "3=de" |
{{Wd}} | {{Wd|User:Jimbo Wales}} | User:Jimbo Wales | Jim Bow | — |
{{Ut}} | {{Ut|Jimbo Wales||de}} | Jimbo Wales | Jim Bow | {{Ut}} + "3=de" |
{{W}} | {{W|User:Jimbo Wales||de}} | User:Jimbo Wales | Jim Bow | {{W}} + "3=de" |
[ ]
User and user talk links
Code | Result | [1] | Shortcut |
---|---|---|---|
{{U|Username}} |
Username links to user page | ✔ | |
{{Uc|Username}} |
Username conditional link to contributions page | ✔ | |
{{Ud|Username}} |
Username links to German user page | = | |
{{Ue|Username}} | Username links to English user page (not yet a template) | = | |
{{Un|Username}} |
Username does not link to user page; no echo function | – | |
{{Ut|Username}} |
Username links to user talk page | ✔ | |
{{Uw|Username}} |
Username trails the given name with "~commonswiki" | – | |
{{Uwt|Username}} |
Username links to the talk page of "~commonswiki" user | – | |
{{Userlist|Username}} |
Username Lua based list of one or more users | ✔ | {{ Ul }} |
Combinations: | |||
{{UL2.0|Username}} |
Username (talk) — Customizable template | ✔ | |
{{Ult|Username}} |
Username (talk) | ✔ | |
{{User|Username}} |
Username (talk · contribs) | ✔ | |
{{Uv|Username|:en:}} |
:en:Username (talk | contribs) | ~ | |
{{User2|Username}} |
Username (talk · contributions · Statistics) | ✔ | |
{{User3|Username}} |
Username (talk · contributions · Move log · block log · uploads · Abuse filter log) | ✔ | {{Vandal}} |
{{User6|Username}} |
Username (talk · contributions · Move log · Statistics · logs · block log) | ✔ | |
{{User7|Username}} |
Username (talk · contributions · user rights management) | ✔ | |
{{User8|Username}} |
Username (talk • contribs • block log • filter log) | – | |
{{User13|Username}} |
Username (talk · contribs · logs · block log) | – | |
{{User14|Username}} |
Username (talk · contributions · deleted user contributions · recent activity · logs · block log · global contribs · CentralAuth) | – | |
{{User21|Username}} |
Username (talk · contribs · count · global contribs) | ✔ | |
{{Userlinks|Username}} |
Username (talk · contribs · deleted contribs · logs · edit filter log · block user · block log) | ✔ | |
{{Admin|Username}} |
Username (talk • contribs • blocks • protections • deletions • moves • rights • rights changes) | – | {{ A }} |
{{UserSUL|Username}} |
Username (talk • contribs • rename user) | – | |
{{BotUser|Username}} |
Username (contribs) | – | |
{{Newbot|Username}} |
tasks • contribs • count • logs • page moves • block user • block log • flag log • global contribs • flag bot | – | |
{{Checkuser|Username}} |
Username (talk • contribs • Luxo's • SUL • deleted contribs • logs • block user • block log ) | – |
- ↑ Interwiki template: Interwiki access (with 3=language code)
Be aware that other templates may use the parameter "editor" or "by" for the same purpose.