Template:User2: Difference between revisions
Content added Content deleted
Enwikipedia>AMK152 (rmv) |
m (76 revisions imported: fixing lua errors) |
||
(42 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
{{<includeonly>safesubst:</includeonly>user-multi<noinclude>/template</noinclude> |
|||
[[User:{{{1|Example User}}}|{{{1|Example User}}}]] ([[User talk:{{{1|Example User}}}|talk]] <small>•</small> [[Special:Contributions/{{{1|Example User}}}|contribs]] <small>•</small> <span class="plainlinks" style="color:#002bb8">[http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username={{urlencode:{{{1|Example User}}}}}&site=en.wikipedia.org count]</span>)<noinclude> |
|||
| User = {{{1|{{{User|{{{user|}}}}}}}}} |
|||
| Project = {{{2|{{{Project|{{{project|}}}}}}}}} |
|||
| Lang = {{{3|{{{Lang|{{{lang|}}}}}}}}} |
|||
== Example == |
|||
| sup = {{{sup|}}} |
|||
; Code |
|||
| 1 = t |
|||
<code><nowiki>{{User2|Jimbo Wales}}</nowiki></code> |
|||
| 2 = c |
|||
; Result |
|||
| 3 = ct |
|||
{{User2|Jimbo Wales}} |
|||
| doc = yes |
|||
⚫ | |||
== See also == |
|||
{| |
|||
|width="70px"| || |
|||
|- |
|||
| {{tl|User}} || {{User|Jimbo Wales}} |
|||
|- |
|||
| {{tl|User3}} || {{User2|Jimbo Wales}} |
|||
|- |
|||
| {{tl|User4}} || {{User4|Jimbo Wales}} |
|||
|- |
|||
| {{tl|User5}} || {{User5|Jimbo Wales}} |
|||
|- |
|||
| {{tl|User6}} || {{User6|Jimbo Wales}} |
|||
|- |
|||
| {{tl|User7}} || {{User7|Jimbo Wales}} |
|||
|- |
|||
| {{tl|User8}} || {{User8|Jimbo Wales}} |
|||
|- |
|||
| {{tl|User9}} || {{User9|Jimbo Wales}} |
|||
|- |
|||
| |
|||
⚫ | |||
[[Category:Internal link templates|User2]] |
|||
</noinclude> |
Latest revision as of 07:12, 30 August 2019
Example (talk · contribs · count)
Template documentation
This template uses Lua: |
This is a user link template for use internally on Wikipedia.
Usage
The username can be defined via a named or an unnamed parameter, i.e.
{{User2|User=USERNAME}}
or{{User2|USERNAME}}
Examples
{{User2|Jimbo Wales}}
→ Jimbo Wales (talk · contribs · count)
In cases of usernames which contain = sign, the former syntax should be used, e.g.
{{User2|User=Billbailey=legend}}
→ Billbailey=legend (talk · contribs · count)
Parameters
- User is a required parameter, e.g.
|User=Jimbo Wales
. - Project defines a Wikimedia sister project to be used instead of the English Wikipedia, the correct code for the interwiki link should be used, e.g.
|Project=b
. - Lang is the interlanguage code for a project to be used instead of the English Wikipedia, e.g.
|Lang=es
. This can be used in conjunction with the project parameter. - sup controls whether the output is in superscript, e.g.
|sup=yes
.
Userspace link templates
User information templates provide informational links for a user; they are similar to signatures, but often provide additional information, and may be used by other users. List:
- Demo is User:Example