Template:U/doc: Difference between revisions
Template page
More actions
expl |
m +includeonly |
||
| Line 9: | Line 9: | ||
|2stat= | |2stat= | ||
|3=3 | |3=3 | ||
|3d=language code: for interwiki link. If absent, link to user entry in the Commons | |3d=language code: for interwiki link. <small>If absent, link to user entry in the Commons</small> | ||
|3def= | |3def= | ||
|3stat= | |3stat= | ||
|name=U | |name=U | ||
|desc=Link to a user, either internal or interwiki | |desc=Link to a user, either internal or interwiki | ||
*For users ''without a user page'' you may link to their talk page with {{Tl|Ut}}. | |||
*For links to users of the {{Wd||German}} Wikipedia choose the effective {{Tl|Ud}}. | |||
|namespace=all | |namespace=all | ||
|usergroup=all | |usergroup=all | ||
|placement= | |placement= | ||
|usage-notes= | |usage-notes=Many users own in the Commons just a User Talk page, but no User page. | ||
The possibility may be discussed whether the existence of a User page should be checked by this template, with automatic change to the Talk page if only that exists. | |||
|type= | |type= | ||
|example= | |example= | ||
| Line 29: | Line 32: | ||
|relieson= | |relieson= | ||
}} | }} | ||
{{Commons:Link templates/User and user talk links}} | {{Commons:Link templates/User and user talk links}} | ||
<includeonly> | |||
[[Category:Username internal link templates|{{PAGENAME}}]] | [[Category:Username internal link templates|{{PAGENAME}}]] | ||
[[Category:Interwiki link templates|{{PAGENAME}}]] | [[Category:Interwiki link templates|{{PAGENAME}}]] | ||
</includeonly> | |||
Revision as of 18:35, 1 March 2012
Link to a user, either internal or interwiki
Usage
{{U |1= |2= |3= }}
Many users own in the Commons just a User Talk page, but no User page. The possibility may be discussed whether the existence of a User page should be checked by this template, with automatic change to the Talk page if only that exists.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | user name: it is recommended to define the user name. If absent, the name is shown of the last editing user | empty | optional | |
2 | nick name: display text, may be formatted | empty | optional | |
3 | language code: for interwiki link. If absent, link to user entry in the Commons | empty | 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
{{Commons:Link templates/User and user talk links}}