This page is protected against editing.

Template:Ud

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Interwiki link to de:Benutzer

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Ud/doc.

Deutsch: Diese Vorlage ermöglicht es, formatierte Links zur Benutzerseite oder zur Benutzerdiskussionsseite oder zu beiden in der de:WP einzurichten.
English: This template links to a user page and/or its talk page at the German Wikipedia. Of course it can be taken as a sample for other Wikipedias. It has not been advised to add the parameters for other languages because other Wikipedias may prefer other formatting.

Usage

{{Ud |1= |2= |3= }}

Deutsch: Die einfachste Form benötigt keine Parameter, es wird ein Link zur Benutzerseite in der deutschen Wikipedia angezeigt. Für fehlenden 1. Parameter wird immer der editierende Benutzer angenommen.

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.

English: The simplest form does not need any parameter, it then links to the user page of the editing user.

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

ParameterDescriptionDefaultStatus
1user
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 nameoptional
2display name for useruser nameoptional
3display name for user talk pagedisplay nameoptional
sselection: 1=only talk, 2=user and talk, default=user (and talk, if parameter 3 is specified)0optional
ttext string (with spacing)   or   one-character-delimitertalk:&thinsp;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

English: other templates with same/similar function: {{U}}, {{Ut}}, {{Wd}}; {{Uv}}; {{Uc}}; {{User}} u.a.m.
Deutsch: andere ähnliche und gleichartige Vorlagen: {{U}}, {{Ut}}, {{Wd}}; {{Uv}}; {{Uc}}; {{User}} and more

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 CptVirajtalk:talk talk CptViraj  talk:talk
103 usertalk:talk talk user  talk:talk
023 nicktalk:talk talk nick  talk:talk
123 nicktalk: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

nick  disc: nick

003 CptVirajdisc: talk disc: talk CptViraj  disc: talk
103 userdisc: talk disc: talk

user  disc: talk

023 nickdisc: talk disc: talk

nick  disc: talk

123 nickdisc: talk disc: talk

nick  disc: talk

Different delimiter values

(none) t=/ t=( t=[ t={ t=< t=«
103 usertalk: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"

[edit ]

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 }}
WWW 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}}

{{User4|Username}}

Username ( local | logs | global )

{{User5|Username}}

Username (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

{{User6|Username}}

Username (talk · contributions · Move log · Statistics · logs · block log)

{{User7|Username}}

Username (talk · contributions · user rights management)

{{User8|Username}}

Username (talkcontribsblock logfilter log)

{{User13|Username}}

Username (talk · contribs · logs · block log)

{{User14|Username}}

Username (talk · contributions (views) · deleted user contributions · recent activity (talk · project · deletion requests) · 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}}

taskscontribscountlogspage moves block user block logflag logglobal contribsflag bot

{{Checkuser|Username}}

Username (talk contribs Luxo's SUL deleted contribs logs block user block log )
  1. Interwiki template: Interwiki access (with 3=language code)

Be aware that other templates may use the parameter "editor" or "by" for the same purpose.